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

#include <composing.hpp>

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

Public Member Functions

 ComposingContainerizer (const std::vector< Containerizer * > &containerizers)
 
virtual ~ComposingContainerizer ()
 
virtual process::Future< Nothingrecover (const Option< state::SlaveState > &state)
 
virtual 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)
 
virtual process::Future
< process::http::Connection
attach (const ContainerID &containerId)
 
virtual process::Future< Nothingupdate (const ContainerID &containerId, const Resources &resources)
 
virtual process::Future
< ResourceStatistics > 
usage (const ContainerID &containerId)
 
virtual process::Future
< ContainerStatus > 
status (const ContainerID &containerId)
 
virtual process::Future
< Option
< mesos::slave::ContainerTermination > > 
wait (const ContainerID &containerId)
 
virtual process::Future< bool > destroy (const ContainerID &containerId)
 
virtual process::Future< bool > kill (const ContainerID &containerId, int signal)
 
virtual process::Future
< hashset< ContainerID > > 
containers ()
 
virtual process::Future< Nothingremove (const ContainerID &containerId)
 
virtual process::Future< NothingpruneImages (const std::vector< Image > &excludedImages)
 
- Public Member Functions inherited from mesos::internal::slave::Containerizer
virtual ~Containerizer ()
 

Static Public Member Functions

static Try
< ComposingContainerizer * > 
create (const std::vector< Containerizer * > &containerizers)
 
- Static Public Member Functions inherited from mesos::internal::slave::Containerizer
static Try< Containerizer * > create (const Flags &flags, bool local, Fetcher *fetcher, SecretResolver *secretResolver=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::ComposingContainerizer::ComposingContainerizer ( const std::vector< Containerizer * > &  containerizers)
virtual mesos::internal::slave::ComposingContainerizer::~ComposingContainerizer ( )
virtual

Member Function Documentation

virtual process::Future<process::http::Connection> mesos::internal::slave::ComposingContainerizer::attach ( const ContainerID &  containerId)
virtual
virtual process::Future<hashset<ContainerID> > mesos::internal::slave::ComposingContainerizer::containers ( )
virtual
static Try<ComposingContainerizer*> mesos::internal::slave::ComposingContainerizer::create ( const std::vector< Containerizer * > &  containerizers)
static
virtual process::Future<bool> mesos::internal::slave::ComposingContainerizer::destroy ( const ContainerID &  containerId)
virtual
virtual process::Future<bool> mesos::internal::slave::ComposingContainerizer::kill ( const ContainerID &  containerId,
int  signal 
)
virtual
virtual process::Future<Containerizer::LaunchResult> mesos::internal::slave::ComposingContainerizer::launch ( const ContainerID &  containerId,
const mesos::slave::ContainerConfig &  containerConfig,
const std::map< std::string, std::string > &  environment,
const Option< std::string > &  pidCheckpointPath 
)
virtual
virtual process::Future<Nothing> mesos::internal::slave::ComposingContainerizer::pruneImages ( const std::vector< Image > &  excludedImages)
virtual
virtual process::Future<Nothing> mesos::internal::slave::ComposingContainerizer::recover ( const Option< state::SlaveState > &  state)
virtual
virtual process::Future<Nothing> mesos::internal::slave::ComposingContainerizer::remove ( const ContainerID &  containerId)
virtual
virtual process::Future<ContainerStatus> mesos::internal::slave::ComposingContainerizer::status ( const ContainerID &  containerId)
virtual
virtual process::Future<Nothing> mesos::internal::slave::ComposingContainerizer::update ( const ContainerID &  containerId,
const Resources resources 
)
virtual
virtual process::Future<ResourceStatistics> mesos::internal::slave::ComposingContainerizer::usage ( const ContainerID &  containerId)
virtual
virtual process::Future<Option<mesos::slave::ContainerTermination> > mesos::internal::slave::ComposingContainerizer::wait ( const ContainerID &  containerId)
virtual

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