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::LauncherTracker 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::vector< mesos::slave::ContainerState > &states)=0
virtual Try< pid_tfork (const ContainerID &containerId, const std::string &path, const std::vector< std::string > &argv, const mesos::slave::ContainerIO &containerIO, const flags::FlagsBase *flags, const Option< std::map< std::string, std::string >> &environment, const Option< int > &enterNamespaces, const Option< int > &cloneNamespaces, const std::vector< int_fd > &whitelistFds)=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 ( )

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 mesos::slave::ContainerIO containerIO,
const flags::FlagsBase flags,
const Option< std::map< std::string, std::string >> &  environment,
const Option< int > &  enterNamespaces,
const Option< int > &  cloneNamespaces,
const std::vector< int_fd > &  whitelistFds 
pure virtual
virtual process::Future<hashset<ContainerID> > mesos::internal::slave::Launcher::recover ( const std::vector< 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: