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

#include <launcher.hpp>

Inheritance diagram for mesos::internal::slave::SubprocessLauncher:

Public Member Functions

 ~SubprocessLauncher () 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)

Protected Member Functions

 SubprocessLauncher ()

Protected Attributes

hashmap< ContainerID, pid_tpids

Constructor & Destructor Documentation

mesos::internal::slave::SubprocessLauncher::~SubprocessLauncher ( )
mesos::internal::slave::SubprocessLauncher::SubprocessLauncher ( )

Member Function Documentation

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

Member Data Documentation

hashmap<ContainerID, pid_t> mesos::internal::slave::SubprocessLauncher::pids

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