17 #ifndef __PROVISIONER_HPP__ 18 #define __PROVISIONER_HPP__ 55 class ProvisionerProcess;
88 const std::string& rootDir,
89 const std::string& defaultBackend,
110 const ContainerID& containerId,
111 const Image&
image)
const;
123 const std::vector<Image>& excludedImages)
const;
141 const std::string& rootDir,
142 const std::string& defaultBackend,
150 const ContainerID& containerId,
156 const std::vector<Image>& excludedImages);
160 const ContainerID& containerId,
162 const std::string& backend,
166 const ContainerID& containerId,
170 const ContainerID& containerId,
178 const std::string rootDir;
185 const std::string defaultBackend;
207 bool destroying =
false;
236 #endif // __PROVISIONER_HPP__ Protocol< RecoverRequest, RecoverResponse > recover
Definition: option.hpp:29
Provisioner()
Definition: provisioner.hpp:126
Option< std::vector< Path > > ephemeralVolumes
Definition: provisioner.hpp:67
Option<::docker::spec::v1::ImageManifest > dockerManifest
Definition: provisioner.hpp:70
Definition: counter.hpp:26
Definition: hashmap.hpp:38
Option<::appc::spec::ImageManifest > appcManifest
Definition: provisioner.hpp:73
Try< std::vector< Info > > infos(int familiy, int states)
std::string rootfs
Definition: provisioner.hpp:63
Definition: provisioner.hpp:137
process::Future< Nothing > destroy(const std::string &hierarchy, const std::string &cgroup="/")
Result< Process > process(pid_t pid)
Definition: freebsd.hpp:30
Definition: provisioner.hpp:61
URI image(const std::string &repository, const std::string &reference, const std::string ®istry, const Option< std::string > &scheme=None(), const Option< int > &port=None())
Definition: docker.hpp:30
Definition: attributes.hpp:24
Definition: executor.hpp:48
Type
Definition: capabilities.hpp:82
ReadWriteLock is a lock that allows concurrent reads and exclusive writes.
Definition: rwlock.hpp:36
Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)
Definition: resolver.hpp:34
Definition: process.hpp:505
PID< MetricsProcess > metrics
Definition: provisioner.hpp:77