17 #ifndef __LINUX_LAUNCHER_HPP__
18 #define __LINUX_LAUNCHER_HPP__
28 class LinuxLauncherProcess;
43 const std::string& cgroupsRoot,
44 const ContainerID& containerId);
49 const std::list<mesos::slave::ContainerState>& states);
52 const ContainerID& containerId,
53 const std::string& path,
54 const std::vector<std::string>& argv,
66 const ContainerID& containerId);
71 const std::string& freezerHierarchy,
81 #endif // __LINUX_LAUNCHER_HPP__
Definition: launcher.hpp:46
Definition: option.hpp:28
virtual process::Future< hashset< ContainerID > > recover(const std::list< mesos::slave::ContainerState > &states)
virtual process::Future< ContainerStatus > status(const ContainerID &containerId)
static std::string cgroup(const std::string &cgroupsRoot, const ContainerID &containerId)
virtual Try< pid_t > 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)
Environment * environment
Definition: linux_launcher.hpp:32
Describes how the I/O is redirected for stdin/stdout/stderr.
Definition: subprocess.hpp:61
static Try< Launcher * > create(const Flags &flags)
#define flags
Definition: decoder.hpp:18
virtual process::Future< Nothing > destroy(const ContainerID &containerId)
Definition: future.hpp:57