17 #ifndef __MESOS_MODULE_ALLOCATOR_HPP__ 18 #define __MESOS_MODULE_ALLOCATOR_HPP__ 29 inline const char* kind<mesos::allocator::Allocator>()
39 const char* _moduleApiVersion,
40 const char* _mesosVersion,
41 const char* _authorName,
42 const char* _authorEmail,
43 const char* _description,
44 bool (*_compatible)(),
46 (*_create)(
const Parameters& parameters))
63 #endif // __MESOS_MODULE_ALLOCATOR_HPP__ Definition: module.hpp:56
Basic model of an allocator: resources are allocated to a framework in the form of offers...
Definition: allocator.hpp:172
Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)
Module(const char *_moduleApiVersion, const char *_mesosVersion, const char *_authorName, const char *_authorEmail, const char *_description, bool(*_compatible)(), mesos::allocator::Allocator *(*_create)(const Parameters ¶meters))
Definition: allocator.hpp:38
Definition: module.hpp:97