MCPcopy Create free account
hub / github.com/apache/mesos / createLocalAuthorizer

Function createLocalAuthorizer

src/examples/test_authorizer_module.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38using namespace mesos;
39
40static Authorizer* createLocalAuthorizer(const Parameters& parameters)
41{
42 Try<Authorizer*> local = mesos::internal::LocalAuthorizer::create(parameters);
43 if (local.isError()) {
44 return nullptr;
45 }
46
47 return local.get();
48}
49
50
51// Declares an Authorizer module named

Callers

nothing calls this directly

Calls 3

createFunction · 0.70
isErrorMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected