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

Function addAuthenticationModules

src/tests/module.cpp:70–86  ·  view source on GitHub ↗

Add available Authentication modules.

Source from the content-addressed store, hash-verified

68
69// Add available Authentication modules.
70static void addAuthenticationModules(Modules* modules)
71{
72 CHECK_NOTNULL(modules);
73
74 // Now add our test authentication modules.
75 Modules::Library* library = modules->add_libraries();
76 library->set_file(getModulePath("testauthentication"));
77
78 // To add a new module from this library, create a new ModuleID enum
79 // and tie it with a module name.
80 addModule(library,
81 TestCRAMMD5Authenticatee,
82 "org_apache_mesos_TestCRAMMD5Authenticatee");
83 addModule(library,
84 TestCRAMMD5Authenticator,
85 "org_apache_mesos_TestCRAMMD5Authenticator");
86}
87
88
89// Add available ContainerLogger modules.

Callers 1

initModulesFunction · 0.85

Calls 2

getModulePathFunction · 0.85
addModuleFunction · 0.85

Tested by

no test coverage detected