17 #ifndef __DOCKER_VOLUME_ISOLATOR_HPP__ 18 #define __DOCKER_VOLUME_ISOLATOR_HPP__ 58 const std::vector<mesos::slave::ContainerState>& states,
62 const ContainerID& containerId,
63 const mesos::slave::ContainerConfig& containerConfig)
override;
66 const ContainerID& containerId)
override;
72 : volumes(_volumes) {}
79 const std::string& rootDir,
83 const ContainerID& containerId,
84 const std::vector<std::string>& targets,
85 const std::vector<Volume::Mode>& volumeModes,
90 const ContainerID& containerId,
96 const std::string& driver,
97 const std::string&
name,
101 const std::string& driver,
102 const std::string& name,
106 const std::string& driver,
107 const std::string& name);
110 const std::string& driver,
111 const std::string& name);
114 const std::string rootDir;
129 #endif // __DOCKER_VOLUME_ISOLATOR_HPP__
Result< std::string > user(Option< uid_t > uid=None())
Definition: su.hpp:284
static Try< mesos::slave::Isolator * > create(const Flags &flags)
process::Future< Option< mesos::slave::ContainerLaunchInfo > > prepare(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig) override
bool supportsStandalone() override
Definition: isolator.hpp:82
Definition: attributes.hpp:24
Definition: isolator.hpp:42
static Try< mesos::slave::Isolator * > _create(const Flags &flags, const process::Owned< docker::volume::DriverClient > &client)
process::Future< Nothing > cleanup(const ContainerID &containerId) override
process::Future< Nothing > recover(const std::vector< mesos::slave::ContainerState > &states, const hashset< ContainerID > &orphans) override
bool supportsNesting() override
~DockerVolumeIsolatorProcess() override
constexpr const char * name
Definition: shell.hpp:41