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

#include <linux_launcher.hpp>

Inheritance diagram for mesos::internal::slave::LinuxLauncher:
mesos::internal::slave::Launcher

Public Member Functions

 ~LinuxLauncher () override
 
process::Future< hashset< ContainerID > > recover (const std::vector< mesos::slave::ContainerState > &states) override
 
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) override
 
process::Future< Nothingdestroy (const ContainerID &containerId) override
 
process::Future< ContainerStatus > status (const ContainerID &containerId) override
 
- Public Member Functions inherited from mesos::internal::slave::Launcher
virtual ~Launcher ()
 

Static Public Member Functions

static Try< Launcher * > create (const Flags &flags)
 
static bool available ()
 
static std::string cgroup (const std::string &cgroupsRoot, const ContainerID &containerId)
 

Constructor & Destructor Documentation

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

Member Function Documentation

static bool mesos::internal::slave::LinuxLauncher::available ( )
static
static std::string mesos::internal::slave::LinuxLauncher::cgroup ( const std::string &  cgroupsRoot,
const ContainerID &  containerId 
)
static
static Try<Launcher*> mesos::internal::slave::LinuxLauncher::create ( const Flags flags)
static
process::Future<Nothing> mesos::internal::slave::LinuxLauncher::destroy ( const ContainerID &  containerId)
overridevirtual
Try<pid_t> mesos::internal::slave::LinuxLauncher::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 
)
overridevirtual
process::Future<hashset<ContainerID> > mesos::internal::slave::LinuxLauncher::recover ( const std::vector< mesos::slave::ContainerState > &  states)
overridevirtual
process::Future<ContainerStatus> mesos::internal::slave::LinuxLauncher::status ( const ContainerID &  containerId)
overridevirtual

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