#include <launcher.hpp>
|
| TestLauncher (const process::Owned< slave::Launcher > &_real) |
|
| ~TestLauncher () override |
|
| MOCK_METHOD1 (recover, process::Future< hashset< ContainerID >>(const std::vector< mesos::slave::ContainerState > &states)) |
|
| 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)) |
|
| MOCK_METHOD1 (destroy, process::Future< Nothing >(const ContainerID &containerId)) |
|
| MOCK_METHOD1 (status, process::Future< ContainerStatus >(const ContainerID &containerId)) |
|
virtual | ~Launcher () |
|
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 |
|
virtual process::Future< Nothing > | destroy (const ContainerID &containerId)=0 |
|
virtual process::Future< ContainerStatus > | status (const ContainerID &containerId)=0 |
|
mesos::internal::tests::TestLauncher::~TestLauncher |
( |
| ) |
|
|
override |
mesos::internal::tests::TestLauncher::MOCK_METHOD1 |
( |
recover |
, |
|
|
process::Future< hashset< ContainerID >> |
const std::vector< mesos::slave::ContainerState > &states |
|
) |
| |
mesos::internal::tests::TestLauncher::MOCK_METHOD1 |
( |
status |
, |
|
|
process::Future< ContainerStatus > |
const ContainerID &containerId |
|
) |
| |
mesos::internal::tests::TestLauncher::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 |
|
) |
| |
The documentation for this class was generated from the following file: