Apache Mesos
|
#include <docker.hpp>
Public Member Functions | |
DockerContainerizer (const Flags &flags, Fetcher *fetcher, const process::Owned< mesos::slave::ContainerLogger > &logger, process::Shared< Docker > docker, const Option< NvidiaComponents > &nvidia=None()) | |
DockerContainerizer (const process::Owned< DockerContainerizerProcess > &_process) | |
~DockerContainerizer () override | |
process::Future< Nothing > | recover (const Option< state::SlaveState > &state) override |
process::Future< Containerizer::LaunchResult > | launch (const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig, const std::map< std::string, std::string > &environment, const Option< std::string > &pidCheckpointPath) override |
process::Future< Nothing > | update (const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={}) override |
process::Future< ResourceStatistics > | usage (const ContainerID &containerId) override |
process::Future< ContainerStatus > | status (const ContainerID &containerId) override |
process::Future< Option< mesos::slave::ContainerTermination > > | wait (const ContainerID &containerId) override |
process::Future< Option< mesos::slave::ContainerTermination > > | destroy (const ContainerID &containerId) override |
process::Future< hashset< ContainerID > > | containers () override |
process::Future< Nothing > | pruneImages (const std::vector< Image > &excludedImages) override |
Public Member Functions inherited from mesos::internal::slave::Containerizer | |
virtual | ~Containerizer () |
virtual process::Future< process::http::Connection > | attach (const ContainerID &containerId) |
virtual process::Future< bool > | kill (const ContainerID &containerId, int signal) |
virtual process::Future< Nothing > | remove (const ContainerID &containerId) |
Static Public Member Functions | |
static Try< DockerContainerizer * > | create (const Flags &flags, Fetcher *fetcher, const Option< NvidiaComponents > &nvidia=None()) |
Static Public Member Functions inherited from mesos::internal::slave::Containerizer | |
static Try< Containerizer * > | create (const Flags &flags, bool local, Fetcher *fetcher, GarbageCollector *gc, SecretResolver *secretResolver=nullptr, VolumeGidManager *volumeGidManager=nullptr, PendingFutureTracker *futureTracker=nullptr, CSIServer *csiServer=nullptr) |
static Try< Resources > | resources (const Flags &flags) |
Additional Inherited Members | |
Public Types inherited from mesos::internal::slave::Containerizer | |
enum | LaunchResult { LaunchResult::SUCCESS, LaunchResult::ALREADY_LAUNCHED, LaunchResult::NOT_SUPPORTED } |
mesos::internal::slave::DockerContainerizer::DockerContainerizer | ( | const Flags & | flags, |
Fetcher * | fetcher, | ||
const process::Owned< mesos::slave::ContainerLogger > & | logger, | ||
process::Shared< Docker > | docker, | ||
const Option< NvidiaComponents > & | nvidia = None() |
||
) |
mesos::internal::slave::DockerContainerizer::DockerContainerizer | ( | const process::Owned< DockerContainerizerProcess > & | _process | ) |
|
override |
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.
|
static |
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.
|
overridevirtual |
Reimplemented from mesos::internal::slave::Containerizer.
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.
|
overridevirtual |
Implements mesos::internal::slave::Containerizer.