17 #ifndef __TEST_LAUNCHER_HPP__ 18 #define __TEST_LAUNCHER_HPP__ 24 #include <gmock/gmock.h> 56 const std::vector<mesos::slave::ContainerState>& states));
61 const ContainerID& containerId,
62 const std::string&
path,
63 const std::vector<std::string>& argv,
66 const Option<std::map<std::string, std::string>>& env,
69 const std::vector<int_fd>& whitelistFds));
86 #endif // __TEST_LAUNCHER_HPP__
Definition: launcher.hpp:47
Definition: option.hpp:29
virtual process::Future< hashset< ContainerID > > recover(const std::vector< mesos::slave::ContainerState > &states)=0
virtual Try< pid_t > 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)=0
TestLauncher(const process::Owned< slave::Launcher > &_real)
An abstraction around the IO classes used to redirect stdin/stdout/stderr to/from a container by the ...
Definition: containerizer.hpp:37
MOCK_METHOD1(recover, process::Future< hashset< ContainerID >>(const std::vector< mesos::slave::ContainerState > &states))
virtual process::Future< Nothing > destroy(const ContainerID &containerId)=0
Definition: launcher.hpp:46
MOCK_METHOD9(fork, Try< pid_t >(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 >> &env, const Option< int > &enterNamespaces, const Option< int > &cloneNamespaces, const std::vector< int_fd > &whitelistFds))
Definition: attributes.hpp:24
virtual process::Future< ContainerStatus > status(const ContainerID &containerId)=0
process::Owned< slave::Launcher > real
Definition: launcher.hpp:79
Definition: future.hpp:58