Apache Mesos
Classes | Functions
mesos::csi::paths Namespace Reference

Classes

struct  ContainerPath
 
struct  VolumePath
 

Functions

Try< std::list< std::string > > getContainerPaths (const std::string &rootDir, const std::string &type, const std::string &name)
 
std::string getContainerPath (const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
 
Try< ContainerPathparseContainerPath (const std::string &rootDir, const std::string &dir)
 
std::string getContainerInfoPath (const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
 
std::string getEndpointDirSymlinkPath (const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
 
Try< std::string > getEndpointSocketPath (const std::string &rootDir, const std::string &type, const std::string &name, const ContainerID &containerId)
 
Try< std::list< std::string > > getVolumePaths (const std::string &rootDir, const std::string &type, const std::string &name)
 
std::string getVolumePath (const std::string &rootDir, const std::string &type, const std::string &name, const std::string &volumeId)
 
Try< VolumePathparseVolumePath (const std::string &rootDir, const std::string &dir)
 
std::string getVolumeStatePath (const std::string &rootDir, const std::string &type, const std::string &name, const std::string &volumeId)
 
std::string getMountRootDir (const std::string &rootDir, const std::string &type, const std::string &name)
 
Try< std::list< std::string > > getMountPaths (const std::string &mountRootDir)
 
std::string getMountPath (const std::string &mountRootDir, const std::string &volumeId)
 
Try< std::string > parseMountPath (const std::string &mountRootDir, const std::string &dir)
 
std::string getMountStagingPath (const std::string &mountRootDir, const std::string &volumeId)
 
std::string getMountTargetPath (const std::string &mountRootDir, const std::string &volumeId)
 

Function Documentation

std::string mesos::csi::paths::getContainerInfoPath ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name,
const ContainerID &  containerId 
)
std::string mesos::csi::paths::getContainerPath ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name,
const ContainerID &  containerId 
)
Try<std::list<std::string> > mesos::csi::paths::getContainerPaths ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name 
)
std::string mesos::csi::paths::getEndpointDirSymlinkPath ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name,
const ContainerID &  containerId 
)
Try<std::string> mesos::csi::paths::getEndpointSocketPath ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name,
const ContainerID &  containerId 
)
std::string mesos::csi::paths::getMountPath ( const std::string &  mountRootDir,
const std::string &  volumeId 
)
Try<std::list<std::string> > mesos::csi::paths::getMountPaths ( const std::string &  mountRootDir)
std::string mesos::csi::paths::getMountRootDir ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name 
)
std::string mesos::csi::paths::getMountStagingPath ( const std::string &  mountRootDir,
const std::string &  volumeId 
)
std::string mesos::csi::paths::getMountTargetPath ( const std::string &  mountRootDir,
const std::string &  volumeId 
)
std::string mesos::csi::paths::getVolumePath ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name,
const std::string &  volumeId 
)
Try<std::list<std::string> > mesos::csi::paths::getVolumePaths ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name 
)
std::string mesos::csi::paths::getVolumeStatePath ( const std::string &  rootDir,
const std::string &  type,
const std::string &  name,
const std::string &  volumeId 
)
Try<ContainerPath> mesos::csi::paths::parseContainerPath ( const std::string &  rootDir,
const std::string &  dir 
)
Try<std::string> mesos::csi::paths::parseMountPath ( const std::string &  mountRootDir,
const std::string &  dir 
)
Try<VolumePath> mesos::csi::paths::parseVolumePath ( const std::string &  rootDir,
const std::string &  dir 
)