Abstraction for Docker Volume Driver Client.
More...
#include <driver.hpp>
Abstraction for Docker Volume Driver Client.
TODO(gyliu513): Update the docker volume driver client use docker volume driver API directly via curl.
Refer to https://github.com/yp-engineering/rbd-docker-plugin for how curl
works with docker volume driver API.
virtual mesos::internal::slave::docker::volume::DriverClient::~DriverClient |
( |
| ) |
|
|
inlinevirtual |
mesos::internal::slave::docker::volume::DriverClient::DriverClient |
( |
| ) |
|
|
inlineprotected |
Create a Docker Volume Driver Client.
virtual process::Future<std::string> mesos::internal::slave::docker::volume::DriverClient::mount |
( |
const std::string & |
driver, |
|
|
const std::string & |
name, |
|
|
const hashmap< std::string, std::string > & |
options |
|
) |
| |
|
virtual |
Performs a 'mount' and returns the path of the mount point.
If the 'options' field is specified, the 'mount' will do an implicit creation of the volume if it does not exist.
virtual process::Future<Nothing> mesos::internal::slave::docker::volume::DriverClient::unmount |
( |
const std::string & |
driver, |
|
|
const std::string & |
name |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file:
- src/slave/containerizer/mesos/isolators/docker/volume/driver.hpp