Apache Mesos
Public Member Functions | List of all members
mesos::internal::slave::Launcher Class Referenceabstract

#include <launcher.hpp>

Inheritance diagram for mesos::internal::slave::Launcher:
mesos::internal::slave::LinuxLauncher mesos::internal::slave::SubprocessLauncher mesos::internal::tests::TestLauncher

Public Member Functions

virtual ~Launcher ()
 
virtual process::Future
< hashset< ContainerID > > 
recover (const std::list< mesos::slave::ContainerState > &states)=0
 
virtual Try< pid_tfork (const ContainerID &containerId, const std::string &path, const std::vector< std::string > &argv, const process::Subprocess::IO &in, const process::Subprocess::IO &out, const process::Subprocess::IO &err, const flags::FlagsBase *flags, const Option< std::map< std::string, std::string >> &environment, const Option< int > &enterNamespaces, const Option< int > &cloneNamespaces)=0
 
virtual process::Future< Nothingdestroy (const ContainerID &containerId)=0
 
virtual process::Future
< ContainerStatus > 
status (const ContainerID &containerId)=0
 

Constructor & Destructor Documentation

virtual mesos::internal::slave::Launcher::~Launcher ( )
inlinevirtual

Member Function Documentation

virtual process::Future<Nothing> mesos::internal::slave::Launcher::destroy ( const ContainerID &  containerId)
pure virtual
virtual Try<pid_t> mesos::internal::slave::Launcher::fork ( const ContainerID &  containerId,
const std::string &  path,
const std::vector< std::string > &  argv,
const process::Subprocess::IO in,
const process::Subprocess::IO out,
const process::Subprocess::IO err,
const flags::FlagsBase flags,
const Option< std::map< std::string, std::string >> &  environment,
const Option< int > &  enterNamespaces,
const Option< int > &  cloneNamespaces 
)
pure virtual
virtual process::Future<hashset<ContainerID> > mesos::internal::slave::Launcher::recover ( const std::list< mesos::slave::ContainerState > &  states)
pure virtual
virtual process::Future<ContainerStatus> mesos::internal::slave::Launcher::status ( const ContainerID &  containerId)
pure virtual

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