Add available Allocator modules.
| 159 | |
| 160 | // Add available Allocator modules. |
| 161 | static void addAllocatorModules(Modules* modules) |
| 162 | { |
| 163 | CHECK_NOTNULL(modules); |
| 164 | |
| 165 | // Now add our allocator module. |
| 166 | Modules::Library* library = modules->add_libraries(); |
| 167 | library->set_file(getModulePath("testallocator")); |
| 168 | |
| 169 | // To add a new module from this library, create a new ModuleID enum |
| 170 | // and tie it with a module name. |
| 171 | addModule(library, TestDRFAllocator, "org_apache_mesos_TestDRFAllocator"); |
| 172 | } |
| 173 | |
| 174 | |
| 175 | // Add available ResourceEstimator modules. |
no test coverage detected