Apache Mesos
Functions | Variables
mesos::internal::slave::provisioner::paths Namespace Reference

Functions

std::string getContainerDir (const std::string &provisionerDir, const ContainerID &containerId)
 
std::string getLayersFilePath (const std::string &provisionerDir, const ContainerID &containerId)
 
std::string getContainerRootfsDir (const std::string &provisionerDir, const ContainerID &containerId, const std::string &backend, const std::string &rootfsId)
 
Try< hashmap< std::string, hashset< std::string > > > listContainerRootfses (const std::string &provisionerDir, const ContainerID &containerId)
 
Try< hashset< ContainerID > > listContainers (const std::string &provisionerDir)
 
std::string getBackendDir (const std::string &provisionerDir, const ContainerID &containerId, const std::string &backend)
 

Variables

constexpr char LAYERS_FILE [] = "layers"
 

Function Documentation

std::string mesos::internal::slave::provisioner::paths::getBackendDir ( const std::string &  provisionerDir,
const ContainerID &  containerId,
const std::string &  backend 
)
std::string mesos::internal::slave::provisioner::paths::getContainerDir ( const std::string &  provisionerDir,
const ContainerID &  containerId 
)
std::string mesos::internal::slave::provisioner::paths::getContainerRootfsDir ( const std::string &  provisionerDir,
const ContainerID &  containerId,
const std::string &  backend,
const std::string &  rootfsId 
)
std::string mesos::internal::slave::provisioner::paths::getLayersFilePath ( const std::string &  provisionerDir,
const ContainerID &  containerId 
)
Try<hashmap<std::string, hashset<std::string> > > mesos::internal::slave::provisioner::paths::listContainerRootfses ( const std::string &  provisionerDir,
const ContainerID &  containerId 
)
Try<hashset<ContainerID> > mesos::internal::slave::provisioner::paths::listContainers ( const std::string &  provisionerDir)

Variable Documentation

constexpr char mesos::internal::slave::provisioner::paths::LAYERS_FILE[] = "layers"