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

virtual ~MesosContainerizer ()
 
virtual process::Future< Nothingrecover (const Option< state::SlaveState > &state)
 
virtual 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)
 
virtual process::Future< process::http::Connectionattach (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< Option< mesos::slave::ContainerTermination > > 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< MesosContainerizer * > create (const Flags &flags, bool local, Fetcher *fetcher, SecretResolver *secretResolver=nullptr, const Option< NvidiaComponents > &nvidia=None())
 
static Try< MesosContainerizer * > create (const Flags &flags, bool local, Fetcher *fetcher, const process::Owned< Launcher > &launcher, const process::Shared< Provisioner > &provisioner, const std::vector< process::Owned< mesos::slave::Isolator >> &isolators)
 
- 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

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

Member Function Documentation

virtual process::Future<process::http::Connection> mesos::internal::slave::MesosContainerizer::attach ( const ContainerID &  containerId)
virtual
virtual process::Future<hashset<ContainerID> > mesos::internal::slave::MesosContainerizer::containers ( )
virtual
static Try<MesosContainerizer*> mesos::internal::slave::MesosContainerizer::create ( const Flags flags,
bool  local,
Fetcher fetcher,
SecretResolver secretResolver = nullptr,
const Option< NvidiaComponents > &  nvidia = None() 
)
static
static Try<MesosContainerizer*> mesos::internal::slave::MesosContainerizer::create ( const Flags flags,
bool  local,
Fetcher fetcher,
const process::Owned< Launcher > &  launcher,
const process::Shared< Provisioner > &  provisioner,
const std::vector< process::Owned< mesos::slave::Isolator >> &  isolators 
)
static
virtual process::Future<Option<mesos::slave::ContainerTermination> > mesos::internal::slave::MesosContainerizer::destroy ( const ContainerID &  containerId)
virtual
virtual process::Future<bool> mesos::internal::slave::MesosContainerizer::kill ( const ContainerID &  containerId,
int  signal 
)
virtual
virtual 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 
)
virtual
virtual process::Future<Nothing> mesos::internal::slave::MesosContainerizer::pruneImages ( const std::vector< Image > &  excludedImages)
virtual
virtual process::Future<Nothing> mesos::internal::slave::MesosContainerizer::recover ( const Option< state::SlaveState > &  state)
virtual
virtual process::Future<Nothing> mesos::internal::slave::MesosContainerizer::remove ( const ContainerID &  containerId)
virtual
virtual process::Future<ContainerStatus> mesos::internal::slave::MesosContainerizer::status ( const ContainerID &  containerId)
virtual
virtual process::Future<Nothing> mesos::internal::slave::MesosContainerizer::update ( const ContainerID &  containerId,
const Resources resources 
)
virtual
virtual process::Future<ResourceStatistics> mesos::internal::slave::MesosContainerizer::usage ( const ContainerID &  containerId)
virtual
virtual process::Future<Option<mesos::slave::ContainerTermination> > mesos::internal::slave::MesosContainerizer::wait ( const ContainerID &  containerId)
virtual

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