17 #ifndef __SCHED_FLAGS_HPP__
18 #define __SCHED_FLAGS_HPP__
40 "authentication_backoff_factor",
41 "Scheduler driver authentication retries are exponentially backed\n"
42 "off based on 'b', the authentication backoff factor (e.g., 1st retry\n"
43 "uses a random value between `[0, b * 2^1]`, 2nd retry between\n"
44 "`[0, b * 2^2]`, 3rd retry between `[0, b * 2^3]`, etc up to a\n"
49 "registration_backoff_factor",
50 "Scheduler driver (re-)registration retries are exponentially backed\n"
51 "off based on 'b', the registration backoff factor (e.g., 1st retry\n"
52 "uses a random value between [0, b], 2nd retry between [0, b * 2^1],\n"
53 "3rd retry between [0, b * 2^2]...) up to a maximum of (framework\n"
54 "failover timeout/10, if failover timeout is specified) or " +
65 "List of modules to be loaded and be available to the internal\n"
68 "Use --modules=filepath to specify the list of modules via a\n"
69 "file containing a JSON formatted string. 'filepath' can be\n"
70 "of the form 'file:///path/to/file' or '/path/to/file'.\n"
72 "Use --modules=\"{...}\" to specify the list of modules inline.\n"
78 " \"file\": \"/path/to/libfoo.so\",\n"
81 " \"name\": \"org_apache_mesos_bar\",\n"
82 " \"parameters\": [\n"
90 " \"name\": \"org_apache_mesos_baz\"\n"
95 " \"name\": \"qux\",\n"
98 " \"name\": \"org_apache_mesos_norf\"\n"
110 "Directory path of the module manifest files.\n"
111 "The manifest files are processed in alphabetical order.\n"
112 "(See --modules for more information on module manifest files).\n"
113 "Cannot be used in conjunction with --modules.\n");
117 "Authenticatee implementation to use when authenticating against the\n"
119 "or load an alternate authenticatee module using MESOS_MODULES.",
123 "authentication_timeout",
124 "Timeout after which authentication will be retried.",
140 #endif // __SCHED_FLAGS_HPP__
constexpr Duration DEFAULT_AUTHENTICATION_TIMEOUT
Definition: constants.hpp:53
Flags()
Definition: flags.hpp:37
constexpr char DEFAULT_AUTHENTICATEE[]
Definition: constants.hpp:50
Option< Modules > modules
Definition: flags.hpp:130
Definition: duration.hpp:32
constexpr Duration AUTHENTICATION_RETRY_INTERVAL_MAX
Definition: constants.hpp:43
Duration authentication_timeout
Definition: flags.hpp:133
Duration authentication_backoff_factor
Definition: flags.hpp:128
constexpr Duration DEFAULT_REGISTRATION_BACKOFF_FACTOR
Definition: constants.hpp:35
constexpr Duration REGISTRATION_RETRY_INTERVAL_MAX
Definition: constants.hpp:39
void add(T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 *t2, F validate)
Definition: flags.hpp:333
std::string authenticatee
Definition: flags.hpp:132
Duration registration_backoff_factor
Definition: flags.hpp:129
constexpr Duration DEFAULT_AUTHENTICATION_BACKOFF_FACTOR
Definition: constants.hpp:47
std::string stringify(int flags)
Option< std::string > modulesDir
Definition: flags.hpp:131