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

Function addHttpAuthenticatorModules

src/tests/module.cpp:208–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206
207
208static void addHttpAuthenticatorModules(Modules* modules)
209{
210 CHECK_NOTNULL(modules);
211
212 // Now add our test HTTP authenticator module.
213 Modules::Library* library = modules->add_libraries();
214 library->set_file(getModulePath("testhttpauthenticator"));
215
216 // To add a new module from this library, create a new ModuleID enum
217 // and tie it with a module name.
218 addModule(
219 library,
220 TestHttpBasicAuthenticator,
221 "org_apache_mesos_TestHttpBasicAuthenticator");
222}
223
224
225static void addMasterContenderModules(Modules* modules)

Callers 1

initModulesFunction · 0.85

Calls 2

getModulePathFunction · 0.85
addModuleFunction · 0.85

Tested by

no test coverage detected