17 #ifndef __PROVISIONER_PATHS_HPP__ 18 #define __PROVISIONER_PATHS_HPP__ 31 namespace provisioner {
62 const std::string& provisionerDir,
63 const ContainerID& containerId);
67 const std::string& provisionerDir,
68 const ContainerID& containerId);
72 const std::string& provisionerDir,
73 const ContainerID& containerId,
74 const std::string& backend,
75 const std::string& rootfsId);
82 const std::string& provisionerDir,
83 const ContainerID& containerId);
88 const std::string& provisionerDir);
92 const std::string& provisionerDir,
93 const ContainerID& containerId,
94 const std::string& backend);
102 #endif // __PROVISIONER_PATHS_HPP__
std::string paths()
Definition: os.hpp:138
constexpr char LAYERS_FILE[]
Definition: paths.hpp:57
std::string getContainerRootfsDir(const std::string &provisionerDir, const ContainerID &containerId, const std::string &backend, const std::string &rootfsId)
Try< hashset< ContainerID > > listContainers(const std::string &provisionerDir)
std::string getLayersFilePath(const std::string &provisionerDir, const ContainerID &containerId)
Try< hashmap< std::string, hashset< std::string > > > listContainerRootfses(const std::string &provisionerDir, const ContainerID &containerId)
Definition: attributes.hpp:24
std::string getBackendDir(const std::string &provisionerDir, const ContainerID &containerId, const std::string &backend)
std::string getContainerDir(const std::string &provisionerDir, const ContainerID &containerId)