17 #ifndef __MESOS_MODULE_CONTENDER_HPP__ 18 #define __MESOS_MODULE_CONTENDER_HPP__ 29 inline const char* kind<mesos::master::contender::MasterContender>()
31 return "MasterContender";
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))
58 const Parameters& parameters);
64 #endif // __MESOS_MODULE_CONTENDER_HPP__ Definition: master.hpp:27
Definition: module.hpp:56
An abstraction for contending to be a leading master.
Definition: contender.hpp:40
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::master::contender::MasterContender *(*_create)(const Parameters ¶meters))
Definition: contender.hpp:38
Definition: module.hpp:97