Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
mesos::internal::slave::MesosContainerizer Class Reference

#include <containerizer.hpp>

Inheritance diagram for mesos::internal::slave::MesosContainerizer:
mesos::internal::slave::Containerizer

Public Member Functions

 ~MesosContainerizer () override
 
process::Future< Nothingrecover (const Option< state::SlaveState > &state) override
 
process::Future< Containerizer::LaunchResultlaunch (const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig, const std::map< std::string, std::string > &environment, const Option< std::string > &pidCheckpointPath) override
 
process::Future< process::http::Connectionattach (const ContainerID &containerId) override
 
process::Future< Nothingupdate (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< bool > kill (const ContainerID &containerId, int signal) override
 
process::Future< hashset< ContainerID > > containers () override
 
process::Future< Nothingremove (const ContainerID &containerId) override
 
process::Future< NothingpruneImages (const std::vector< Image > &excludedImages) override
 
- Public Member Functions inherited from mesos::internal::slave::Containerizer
virtual ~Containerizer ()
 

Static Public Member Functions

static Try< MesosContainerizer * > create (const Flags &flags, bool local, Fetcher *fetcher, GarbageCollector *gc=nullptr, SecretResolver *secretResolver=nullptr, const Option< NvidiaComponents > &nvidia=None(), VolumeGidManager *volumeGidManager=nullptr, PendingFutureTracker *futureTracker=nullptr, CSIServer *csiServer=nullptr)
 
static Try< MesosContainerizer * > create (const Flags &flags, bool local, Fetcher *fetcher, GarbageCollector *gc, const process::Owned< Launcher > &launcher, const process::Shared< Provisioner > &provisioner, const std::vector< process::Owned< mesos::slave::Isolator >> &isolators, VolumeGidManager *volumeGidManager=nullptr)
 
- 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< Resourcesresources (const Flags &flags)
 

Additional Inherited Members

- Public Types inherited from mesos::internal::slave::Containerizer
enum  LaunchResult { LaunchResult::SUCCESS, LaunchResult::ALREADY_LAUNCHED, LaunchResult::NOT_SUPPORTED }
 

Constructor & Destructor Documentation

mesos::internal::slave::MesosContainerizer::~MesosContainerizer ( )
override

Member Function Documentation

process::Future<process::http::Connection> mesos::internal::slave::MesosContainerizer::attach ( const ContainerID &  containerId)
overridevirtual
process::Future<hashset<ContainerID> > mesos::internal::slave::MesosContainerizer::containers ( )
overridevirtual
static Try<MesosContainerizer*> mesos::internal::slave::MesosContainerizer::create ( const Flags flags,
bool  local,
Fetcher fetcher,
GarbageCollector gc = nullptr,
SecretResolver secretResolver = nullptr,
const Option< NvidiaComponents > &  nvidia = None(),
VolumeGidManager volumeGidManager = nullptr,
PendingFutureTracker futureTracker = nullptr,
CSIServer csiServer = nullptr 
)
static
static Try<MesosContainerizer*> mesos::internal::slave::MesosContainerizer::create ( const Flags flags,
bool  local,
Fetcher fetcher,
GarbageCollector gc,
const process::Owned< Launcher > &  launcher,
const process::Shared< Provisioner > &  provisioner,
const std::vector< process::Owned< mesos::slave::Isolator >> &  isolators,
VolumeGidManager volumeGidManager = nullptr 
)
static
process::Future<Option<mesos::slave::ContainerTermination> > mesos::internal::slave::MesosContainerizer::destroy ( const ContainerID &  containerId)
overridevirtual
process::Future<bool> mesos::internal::slave::MesosContainerizer::kill ( const ContainerID &  containerId,
int  signal 
)
overridevirtual
process::Future<Containerizer::LaunchResult> mesos::internal::slave::MesosContainerizer::launch ( const ContainerID &  containerId,
const mesos::slave::ContainerConfig &  containerConfig,
const std::map< std::string, std::string > &  environment,
const Option< std::string > &  pidCheckpointPath 
)
overridevirtual
process::Future<Nothing> mesos::internal::slave::MesosContainerizer::pruneImages ( const std::vector< Image > &  excludedImages)
overridevirtual
process::Future<Nothing> mesos::internal::slave::MesosContainerizer::recover ( const Option< state::SlaveState > &  state)
overridevirtual
process::Future<Nothing> mesos::internal::slave::MesosContainerizer::remove ( const ContainerID &  containerId)
overridevirtual
process::Future<ContainerStatus> mesos::internal::slave::MesosContainerizer::status ( const ContainerID &  containerId)
overridevirtual
process::Future<Nothing> mesos::internal::slave::MesosContainerizer::update ( const ContainerID &  containerId,
const Resources resourceRequests,
const google::protobuf::Map< std::string, Value::Scalar > &  resourceLimits = {} 
)
overridevirtual
process::Future<ResourceStatistics> mesos::internal::slave::MesosContainerizer::usage ( const ContainerID &  containerId)
overridevirtual
process::Future<Option<mesos::slave::ContainerTermination> > mesos::internal::slave::MesosContainerizer::wait ( const ContainerID &  containerId)
overridevirtual

The documentation for this class was generated from the following file: