Apache Mesos
|
Namespaces | |
appc | |
cni | |
compatibility | |
containerizer | |
csi | |
docker | |
paths | |
provisioner | |
state | |
validation | |
volume | |
Functions | |
Duration | DEFAULT_MASTER_PING_TIMEOUT () |
std::vector< SlaveInfo::Capability > | AGENT_CAPABILITIES () |
std::ostream & | operator<< (std::ostream &stream, const MesosContainerizerProcess::State &state) |
std::ostream & | operator<< (std::ostream &stream, const NetClsHandle &obj) |
bool | operator== (const DockerVolume &left, const DockerVolume &right) |
bool | operator< (const Gpu &left, const Gpu &right) |
bool | operator> (const Gpu &left, const Gpu &right) |
bool | operator<= (const Gpu &left, const Gpu &right) |
bool | operator>= (const Gpu &left, const Gpu &right) |
bool | operator== (const Gpu &left, const Gpu &right) |
bool | operator!= (const Gpu &left, const Gpu &right) |
std::ostream & | operator<< (std::ostream &stream, const Gpu &gpu) |
std::string | PORT_MAPPING_VETH_PREFIX () |
std::string | PORT_MAPPING_BIND_MOUNT_ROOT () |
std::string | PORT_MAPPING_BIND_MOUNT_SYMLINK_ROOT () |
std::vector< routing::filter::ip::PortRange > | getPortRanges (const IntervalSet< uint16_t > &ports) |
bool | operator== (const CSIVolume &left, const CSIVolume &right) |
Try< int > | calculateOOMScoreAdj (const Bytes &memRequest) |
std::ostream & | operator<< (std::ostream &stream, const Executor &executor) |
std::map< std::string, std::string > | executorEnvironment (const Flags &flags, const ExecutorInfo &executorInfo, const std::string &directory, const SlaveID &slaveId, const process::PID< Slave > &slavePid, const Option< Secret > &authenticationToken, bool checkpoint) |
Returns a map of environment variables necessary in order to launch an executor. More... | |
std::ostream & | operator<< (std::ostream &stream, Executor::State state) |
std::ostream & | operator<< (std::ostream &stream, Framework::State state) |
std::ostream & | operator<< (std::ostream &stream, Slave::State state) |
std::vector<SlaveInfo::Capability> mesos::internal::slave::AGENT_CAPABILITIES | ( | ) |
Duration mesos::internal::slave::DEFAULT_MASTER_PING_TIMEOUT | ( | ) |
std::map<std::string, std::string> mesos::internal::slave::executorEnvironment | ( | const Flags & | flags, |
const ExecutorInfo & | executorInfo, | ||
const std::string & | directory, | ||
const SlaveID & | slaveId, | ||
const process::PID< Slave > & | slavePid, | ||
const Option< Secret > & | authenticationToken, | ||
bool | checkpoint | ||
) |
Returns a map of environment variables necessary in order to launch an executor.
executorInfo | ExecutorInfo being launched. |
directory | Path to the sandbox directory. |
slaveId | SlaveID where this executor is being launched. |
slavePid | PID of the slave launching the executor. |
checkpoint | Whether or not the framework is checkpointing. |
flags | Flags used to launch the slave. |
std::vector<routing::filter::ip::PortRange> mesos::internal::slave::getPortRanges | ( | const IntervalSet< uint16_t > & | ports | ) |
std::ostream& mesos::internal::slave::operator<< | ( | std::ostream & | stream, |
const NetClsHandle & | obj | ||
) |
std::ostream& mesos::internal::slave::operator<< | ( | std::ostream & | stream, |
const Gpu & | gpu | ||
) |
std::ostream& mesos::internal::slave::operator<< | ( | std::ostream & | stream, |
const MesosContainerizerProcess::State & | state | ||
) |
std::ostream& mesos::internal::slave::operator<< | ( | std::ostream & | stream, |
const Executor & | executor | ||
) |
std::ostream& mesos::internal::slave::operator<< | ( | std::ostream & | stream, |
Executor::State | state | ||
) |
std::ostream& mesos::internal::slave::operator<< | ( | std::ostream & | stream, |
Framework::State | state | ||
) |
std::ostream& mesos::internal::slave::operator<< | ( | std::ostream & | stream, |
Slave::State | state | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
constexpr char mesos::internal::slave::AGENT_EXECUTORS_SOCKET_FILENAME[] = "agent.sock" |
constexpr char mesos::internal::slave::AGENT_LOG_VIRTUAL_PATH[] = "/slave/log" |
constexpr char mesos::internal::slave::AUFS_BACKEND[] = "aufs" |
constexpr char mesos::internal::slave::BIND_BACKEND[] = "bind" |
constexpr char mesos::internal::slave::CGROUP_SEPARATOR[] = "mesos" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_BLKIO_NAME = "blkio" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_CPU_NAME = "cpu" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_CPUACCT_NAME = "cpuacct" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_CPUSET_NAME = "cpuset" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_DEVICES_NAME = "devices" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_HUGETLB_NAME = "hugetlb" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_MEMORY_NAME = "memory" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_NET_CLS_NAME = "net_cls" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_NET_PRIO_NAME = "net_prio" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_PERF_EVENT_NAME = "perf_event" |
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_PIDS_NAME = "pids" |
constexpr char mesos::internal::slave::COMPONENT_NAME_CONTAINERIZER[] = "containerizer" |
constexpr char mesos::internal::slave::COPY_BACKEND[] = "copy" |
const Duration mesos::internal::slave::CPU_CFS_PERIOD = Milliseconds(100) |
const uint64_t mesos::internal::slave::CPU_SHARES_PER_CPU = 1024 |
const uint64_t mesos::internal::slave::CPU_SHARES_PER_CPU_REVOCABLE = 10 |
constexpr char mesos::internal::slave::DEFAULT_AUTHENTICATEE[] = "crammd5" |
constexpr char mesos::internal::slave::DEFAULT_AUTHORIZER[] = "local" |
constexpr double mesos::internal::slave::DEFAULT_CPUS = 1 |
constexpr char mesos::internal::slave::DEFAULT_DOCKER_HOST_RESOURCE[] = "/var/run/docker.sock" |
constexpr double mesos::internal::slave::DEFAULT_EXECUTOR_CPUS = 0.1 |
constexpr size_t mesos::internal::slave::DEFAULT_MAX_COMPLETED_EXECUTORS_PER_FRAMEWORK = 150 |
constexpr char mesos::internal::slave::DEFAULT_PORTS[] = "[31000-32000]" |
const std::string mesos::internal::slave::DOCKER_NAME_PREFIX |
const std::string mesos::internal::slave::DOCKER_NAME_SEPERATOR |
constexpr size_t mesos::internal::slave::DOCKER_PS_MAX_INSPECT_CALLS = 100 |
const std::string mesos::internal::slave::DOCKER_SYMLINK_DIRECTORY |
constexpr char mesos::internal::slave::EXECUTOR_HTTP_AUTHENTICATION_REALM[] = "mesos-agent-executor" |
constexpr double mesos::internal::slave::GC_DISK_HEADROOM = 0.1 |
constexpr size_t mesos::internal::slave::MAX_COMPLETED_FRAMEWORKS = 50 |
constexpr size_t mesos::internal::slave::MAX_COMPLETED_TASKS_PER_EXECUTOR = 200 |
constexpr size_t mesos::internal::slave::MAX_CONTAINER_ID_LENGTH = 242 |
constexpr char mesos::internal::slave::MESOS_CONTAINERIZER[] = "mesos-containerizer" |
constexpr char mesos::internal::slave::MESOS_DEFAULT_EXECUTOR[] = "mesos-default-executor" |
constexpr char mesos::internal::slave::MESOS_EXECUTOR[] = "mesos-executor" |
const Duration mesos::internal::slave::MIN_CPU_CFS_QUOTA = Milliseconds(1) |
const uint64_t mesos::internal::slave::MIN_CPU_SHARES = 2 |
constexpr char mesos::internal::slave::NET_ISOLATOR_BLOAT_REDUCTION[] = "bloat_reduction" |
constexpr char mesos::internal::slave::NET_ISOLATOR_BW_LIMIT[] = "bw_limit" |
constexpr char mesos::internal::slave::OVERLAY_BACKEND[] = "overlay" |
constexpr char mesos::internal::slave::READONLY_HTTP_AUTHENTICATION_REALM[] = "mesos-agent-readonly" |
constexpr char mesos::internal::slave::READWRITE_HTTP_AUTHENTICATION_REALM[] = "mesos-agent-readwrite" |
constexpr char mesos::internal::slave::RESOURCE_PROVIDER_HTTP_AUTHENTICATION_REALM[] |