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

Function addAuthorizerModules

src/tests/module.cpp:193–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192
193static void addAuthorizerModules(Modules* modules)
194{
195 CHECK_NOTNULL(modules);
196
197 // Now add our test authorizer module.
198 Modules::Library* library = modules->add_libraries();
199 library->set_file(getModulePath("testauthorizer"));
200
201 // To add a new module from this library, create a new ModuleID enum
202 // and tie it with a module name.
203 addModule(
204 library, TestLocalAuthorizer, "org_apache_mesos_TestLocalAuthorizer");
205}
206
207
208static void addHttpAuthenticatorModules(Modules* modules)

Callers 1

initModulesFunction · 0.85

Calls 2

getModulePathFunction · 0.85
addModuleFunction · 0.85

Tested by

no test coverage detected