17 #ifndef __TESTS_FLAGS_HPP__
18 #define __TESTS_FLAGS_HPP__
53 "Log all severity levels to stderr",
58 "Run the benchmark tests (and skip other tests)",
69 "Where to find the source directory",
77 "Where to find the build directory",
82 "Where to find docker executable",
87 "Resource used by the agent and the executor to provide CLI access\n"
88 "to the Docker daemon. On Unix, this is typically a path to a\n"
89 "socket, such as '/var/run/docker.sock'. On Windows this must be a\n"
90 "named pipe, such as '//./pipe/docker_engine'. NOTE: This must be\n"
91 "the path used by the Docker image used to run the agent.\n",
101 "List of modules to be loaded and be available to the internal\n"
104 "Use --modules=filepath to specify the list of modules via a\n"
105 "file containing a JSON-formatted string. 'filepath' can be\n"
106 "of the form 'file:///path/to/file' or '/path/to/file'.\n"
108 "Use --modules=\"{...}\" to specify the list of modules inline.\n"
112 " \"libraries\": [\n"
114 " \"file\": \"/path/to/libfoo.so\",\n"
117 " \"name\": \"org_apache_mesos_bar\",\n"
118 " \"parameters\": [\n"
121 " \"value\": \"Y\"\n"
126 " \"name\": \"org_apache_mesos_baz\"\n"
131 " \"name\": \"qux\",\n"
134 " \"name\": \"org_apache_mesos_norf\"\n"
146 "Directory path of the module manifest files.\n"
147 "The manifest files are processed in alphabetical order.\n"
148 "(See --modules for more information on module manifest files).\n"
149 "Cannot be used in conjunction with --modules.\n");
155 "Isolation mechanisms to use, e.g., 'posix/cpu,posix/mem', or\n"
156 "'cgroups/cpu,cgroups/mem', or network/port_mapping\n"
157 "(configure with flag: --with-network-isolator to enable),\n"
158 "or 'external', or load an alternate isolator module using\n"
159 "the --modules flag.");
165 "Authenticator implementation to use when authenticating frameworks\n"
166 "and/or agents. Use the default '" +
168 "load an alternate authenticator module using --modules.",
191 #endif // __TESTS_FLAGS_HPP__
Option< Modules > modules
Definition: flags.hpp:178
std::string build_dir
Definition: flags.hpp:175
std::string authenticators
Definition: flags.hpp:181
Result< std::string > realpath(const std::string &path)
Definition: realpath.hpp:24
constexpr char DEFAULT_DOCKER_HOST_RESOURCE[]
Definition: constants.hpp:120
Definition: result.hpp:40
Flags()
Definition: flags.hpp:47
Option< std::string > modulesDir
Definition: flags.hpp:179
#define CHECK_SOME(expression)
Definition: check.hpp:44
const T & get() const
Definition: result.hpp:115
Option< std::string > isolation
Definition: flags.hpp:180
constexpr char DEFAULT_AUTHENTICATOR[]
Definition: constants.hpp:128
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
bool verbose
Definition: flags.hpp:172
std::string docker_socket
Definition: flags.hpp:177
std::string docker
Definition: flags.hpp:176
std::string source_dir
Definition: flags.hpp:174
bool benchmark
Definition: flags.hpp:173