#include <docker.hpp>
|
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 () |
|
virtual Docker::~Docker |
( |
| ) |
|
|
inlinevirtual |
Docker::Docker |
( |
const std::string & |
_path, |
|
|
const std::string & |
_socket, |
|
|
const Option< JSON::Object > & |
_config |
|
) |
| |
|
inlineprotected |
virtual std::string Docker::getPath |
( |
| ) |
|
|
inlinevirtual |
virtual std::string Docker::getSocket |
( |
| ) |
|
|
inlinevirtual |
virtual process::Future<Image> Docker::pull |
( |
const std::string & |
directory, |
|
|
const std::string & |
image, |
|
|
bool |
force = false |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following file: