|
| MockDocker (const std::string &path, const std::string &socket, const Option< JSON::Object > &config=None()) |
|
| ~MockDocker () override |
|
| MOCK_CONST_METHOD3 (run, process::Future< Option< int >>(const Docker::RunOptions &options, const process::Subprocess::IO &, const process::Subprocess::IO &)) |
|
| MOCK_CONST_METHOD2 (ps, process::Future< std::vector< Docker::Container >>(bool, const Option< std::string > &)) |
|
| MOCK_CONST_METHOD3 (pull, process::Future< Docker::Image >(const std::string &, const std::string &, bool)) |
|
| MOCK_CONST_METHOD3 (stop, process::Future< Nothing >(const std::string &, const Duration &, bool)) |
|
| MOCK_CONST_METHOD2 (inspect, process::Future< Docker::Container >(const std::string &, const Option< Duration > &)) |
|
process::Future< Option< int > > | _run (const Docker::RunOptions &runOptions, const process::Subprocess::IO &_stdout, const process::Subprocess::IO &_stderr) const |
|
process::Future< std::vector< Docker::Container > > | _ps (bool all, const Option< std::string > &prefix) const |
|
process::Future< Docker::Image > | _pull (const std::string &directory, const std::string &image, bool force) const |
|
process::Future< Nothing > | _stop (const std::string &containerName, const Duration &timeout, bool remove) const |
|
process::Future< Docker::Container > | _inspect (const std::string &containerName, const Option< Duration > &retryInterval) |
|
virtual | ~Docker () |
|
virtual process::Future< Option< int > > | run (const RunOptions &options, const process::Subprocess::IO &_stdout=process::Subprocess::FD(STDOUT_FILENO), const process::Subprocess::IO &_stderr=process::Subprocess::FD(STDERR_FILENO)) const |
|
virtual process::Future< Version > | version () const |
|
virtual process::Future< Nothing > | stop (const std::string &containerName, const Duration &timeout=Seconds(0), bool remove=false) const |
|
virtual process::Future< Nothing > | kill (const std::string &containerName, int signal) const |
|
virtual process::Future< Nothing > | rm (const std::string &containerName, bool force=false) const |
|
virtual process::Future< Container > | inspect (const std::string &containerName, const Option< Duration > &retryInterval=None()) const |
|
virtual process::Future< std::vector< Container > > | ps (bool all=false, const Option< std::string > &prefix=None()) const |
|
virtual process::Future< Image > | pull (const std::string &directory, const std::string &image, bool force=false) const |
|
virtual Try< Nothing > | validateVersion (const Version &minVersion) const |
|
virtual std::string | getPath () |
|
virtual std::string | getSocket () |
|