Apache Mesos
|
#include <containerizer.hpp>
Public Types | |
enum | LaunchResult { LaunchResult::SUCCESS, LaunchResult::ALREADY_LAUNCHED, LaunchResult::NOT_SUPPORTED } |
Public Member Functions | |
virtual | ~Containerizer () |
virtual process::Future< Nothing > | recover (const Option< state::SlaveState > &state)=0 |
virtual process::Future< LaunchResult > | launch (const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig, const std::map< std::string, std::string > &environment, const Option< std::string > &pidCheckpointPath)=0 |
virtual process::Future< process::http::Connection > | attach (const ContainerID &containerId) |
virtual process::Future< Nothing > | update (const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={})=0 |
virtual process::Future< ResourceStatistics > | usage (const ContainerID &containerId)=0 |
virtual process::Future< ContainerStatus > | status (const ContainerID &containerId) |
virtual process::Future< Option< mesos::slave::ContainerTermination > > | wait (const ContainerID &containerId)=0 |
virtual process::Future< Option< mesos::slave::ContainerTermination > > | destroy (const ContainerID &containerId)=0 |
virtual process::Future< bool > | kill (const ContainerID &containerId, int signal) |
virtual process::Future< hashset< ContainerID > > | containers ()=0 |
virtual process::Future< Nothing > | remove (const ContainerID &containerId) |
virtual process::Future< Nothing > | pruneImages (const std::vector< Image > &excludedImages)=0 |
Static Public Member Functions | |
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) |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in mesos::internal::slave::MesosContainerizer, and mesos::internal::slave::ComposingContainerizer.
|
pure virtual |
|
static |
|
pure virtual |
|
inlinevirtual |
Reimplemented in mesos::internal::slave::MesosContainerizer, and mesos::internal::slave::ComposingContainerizer.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in mesos::internal::slave::MesosContainerizer, and mesos::internal::slave::ComposingContainerizer.
|
static |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |