17 #ifndef __SLAVE_CONSTANTS_HPP__ 18 #define __SLAVE_CONSTANTS_HPP__ 129 #ifdef ENABLE_PORT_MAPPING_ISOLATOR 132 constexpr uint16_t DEFAULT_EPHEMERAL_PORTS_PER_CONTAINER = 1024;
140 constexpr
char DEFAULT_DOCKER_HOST_RESOURCE[] =
"/var/run/docker.sock";
141 #endif // __WINDOWS__ 188 "mesos-agent-resource-provider";
205 constexpr
char MESOS_DEFAULT_EXECUTOR[] =
"mesos-default-executor";
206 constexpr
char MESOS_EXECUTOR[] =
"mesos-executor";
207 #endif // __WINDOWS__ 222 #endif // __SLAVE_CONSTANTS_HPP__ constexpr Duration STATUS_UPDATE_RETRY_INTERVAL_MAX
Definition: constants.hpp:59
constexpr char AGENT_EXECUTORS_SOCKET_FILENAME[]
Definition: constants.hpp:145
constexpr Duration DOCKER_FORCE_KILL_TIMEOUT
Definition: constants.hpp:169
constexpr double DEFAULT_EXECUTOR_CPUS
Definition: constants.hpp:124
constexpr char COMPONENT_NAME_CONTAINERIZER[]
Definition: constants.hpp:210
constexpr Duration RECOVERY_TIMEOUT
Definition: constants.hpp:54
constexpr char DEFAULT_DOCKER_HOST_RESOURCE[]
Definition: constants.hpp:140
constexpr Duration DEFAULT_FETCHER_STALL_TIMEOUT
Definition: constants.hpp:194
constexpr Bytes Megabytes(uint64_t value)
Definition: bytes.hpp:123
constexpr Duration DOCKER_REMOVE_DELAY
Definition: constants.hpp:148
constexpr size_t MAX_COMPLETED_FRAMEWORKS
Definition: constants.hpp:90
constexpr Duration DEFAULT_AUTHENTICATION_BACKOFF_FACTOR
Definition: constants.hpp:73
constexpr Duration DEFAULT_EXECUTOR_HEARTBEAT_INTERVAL
Definition: constants.hpp:52
constexpr size_t MAX_CONTAINER_ID_LENGTH
Definition: constants.hpp:98
constexpr char DEFAULT_PORTS[]
Definition: constants.hpp:121
constexpr Bytes DEFAULT_MEM
Definition: constants.hpp:115
Definition: duration.hpp:32
constexpr Duration MAX_EXECUTOR_REREGISTRATION_TIMEOUT
Definition: constants.hpp:45
constexpr char MESOS_DEFAULT_EXECUTOR[]
Definition: constants.hpp:205
constexpr Bytes DEFAULT_DISK
Definition: constants.hpp:118
constexpr Duration STATUS_UPDATE_RETRY_INTERVAL_MIN
Definition: constants.hpp:58
constexpr Duration DEFAULT_EXECUTOR_SHUTDOWN_GRACE_PERIOD
Definition: constants.hpp:49
constexpr Duration DOCKER_INSPECT_TIMEOUT
Definition: constants.hpp:155
constexpr Duration DEFAULT_REGISTRATION_BACKOFF_FACTOR
Definition: constants.hpp:62
Definition: duration.hpp:221
constexpr size_t DEFAULT_MAX_COMPLETED_EXECUTORS_PER_FRAMEWORK
Definition: constants.hpp:94
Definition: duration.hpp:207
constexpr Duration GC_DELAY
Definition: constants.hpp:83
constexpr double DEFAULT_CPUS
Definition: constants.hpp:112
constexpr Duration DEFAULT_AUTHENTICATION_TIMEOUT_MIN
Definition: constants.hpp:77
constexpr Bytes DEFAULT_FETCHER_CACHE_SIZE
Definition: constants.hpp:191
constexpr double GC_DISK_HEADROOM
Definition: constants.hpp:87
Definition: duration.hpp:235
std::vector< SlaveInfo::Capability > AGENT_CAPABILITIES()
constexpr char DEFAULT_AUTHENTICATEE[]
Definition: constants.hpp:172
constexpr char MESOS_EXECUTOR[]
Definition: constants.hpp:206
constexpr Duration EXECUTOR_REREGISTRATION_TIMEOUT
Definition: constants.hpp:36
Definition: attributes.hpp:24
constexpr Duration DEFAULT_AUTHENTICATION_TIMEOUT_MAX
Definition: constants.hpp:81
constexpr size_t DOCKER_PS_MAX_INSPECT_CALLS
Definition: constants.hpp:159
constexpr char AGENT_LOG_VIRTUAL_PATH[]
Definition: constants.hpp:214
constexpr Bytes Gigabytes(uint64_t value)
Definition: bytes.hpp:129
constexpr Duration REGISTER_RETRY_INTERVAL_MAX
Definition: constants.hpp:69
constexpr Duration DISK_WATCH_INTERVAL
Definition: constants.hpp:84
constexpr char RESOURCE_PROVIDER_HTTP_AUTHENTICATION_REALM[]
Definition: constants.hpp:187
constexpr Bytes DEFAULT_EXECUTOR_MEM
Definition: constants.hpp:127
constexpr char EXECUTOR_HTTP_AUTHENTICATION_REALM[]
Definition: constants.hpp:184
constexpr char DEFAULT_AUTHORIZER[]
Definition: constants.hpp:175
constexpr Duration EXECUTOR_REGISTRATION_TIMEOUT
Definition: constants.hpp:35
constexpr char READWRITE_HTTP_AUTHENTICATION_REALM[]
Definition: constants.hpp:181
constexpr size_t MAX_COMPLETED_TASKS_PER_EXECUTOR
Definition: constants.hpp:109
Definition: duration.hpp:263
constexpr Duration DOCKER_VERSION_WAIT_TIMEOUT
Definition: constants.hpp:164
constexpr Duration DOCKER_INSPECT_DELAY
Definition: constants.hpp:152
Duration DEFAULT_MASTER_PING_TIMEOUT()
constexpr char READONLY_HTTP_AUTHENTICATION_REALM[]
Definition: constants.hpp:178