Apache Mesos
Functions
mesos::internal::slave::docker::paths Namespace Reference

Functions

std::string getStagingDir (const std::string &storeDir)
 The Docker store file system layout is as follows: Image store dir ('–docker_store_dir' slave flag) |–staging |– <staging_tmp_dir_XXXXXX> |– <layer_id> |– rootfs |– json(manifest) |– VERSION |–layers |–<layer_id> |– rootfs |– json(manifest) |– VERSION |–storedImages (file holding on cached images) |–gc (dir holding marked layers to be sweeped) More...
 
std::string getStagingTempDir (const std::string &storeDir)
 
std::string getImageLayerPath (const std::string &storeDir, const std::string &layerId)
 
std::string getImageLayerManifestPath (const std::string &layerPath)
 
std::string getImageLayerManifestPath (const std::string &storeDir, const std::string &layerId)
 
std::string getImageLayerRootfsPath (const std::string &layerPath, const std::string &backend)
 
std::string getImageLayerRootfsPath (const std::string &storeDir, const std::string &layerId, const std::string &backend)
 
std::string getImageLayerTarPath (const std::string &layerPath)
 
std::string getImageLayerTarPath (const std::string &storeDir, const std::string &layerId)
 
std::string getImageArchiveTarPath (const std::string &discoveryDir, const std::string &name)
 
std::string getStoredImagesPath (const std::string &storeDir)
 
std::string getGcDir (const std::string &storeDir)
 
std::string getGcLayerPath (const std::string &storeDir, const std::string &layerId)
 
Try< std::list< std::string > > listLayers (const std::string &storeDir)
 

Function Documentation

std::string mesos::internal::slave::docker::paths::getGcDir ( const std::string &  storeDir)
std::string mesos::internal::slave::docker::paths::getGcLayerPath ( const std::string &  storeDir,
const std::string &  layerId 
)
std::string mesos::internal::slave::docker::paths::getImageArchiveTarPath ( const std::string &  discoveryDir,
const std::string &  name 
)
std::string mesos::internal::slave::docker::paths::getImageLayerManifestPath ( const std::string &  layerPath)
std::string mesos::internal::slave::docker::paths::getImageLayerManifestPath ( const std::string &  storeDir,
const std::string &  layerId 
)
std::string mesos::internal::slave::docker::paths::getImageLayerPath ( const std::string &  storeDir,
const std::string &  layerId 
)
std::string mesos::internal::slave::docker::paths::getImageLayerRootfsPath ( const std::string &  layerPath,
const std::string &  backend 
)
std::string mesos::internal::slave::docker::paths::getImageLayerRootfsPath ( const std::string &  storeDir,
const std::string &  layerId,
const std::string &  backend 
)
std::string mesos::internal::slave::docker::paths::getImageLayerTarPath ( const std::string &  layerPath)
std::string mesos::internal::slave::docker::paths::getImageLayerTarPath ( const std::string &  storeDir,
const std::string &  layerId 
)
std::string mesos::internal::slave::docker::paths::getStagingDir ( const std::string &  storeDir)

The Docker store file system layout is as follows: Image store dir ('–docker_store_dir' slave flag) |–staging |– <staging_tmp_dir_XXXXXX> |– <layer_id> |– rootfs |– json(manifest) |– VERSION |–layers |–<layer_id> |– rootfs |– json(manifest) |– VERSION |–storedImages (file holding on cached images) |–gc (dir holding marked layers to be sweeped)

std::string mesos::internal::slave::docker::paths::getStagingTempDir ( const std::string &  storeDir)
std::string mesos::internal::slave::docker::paths::getStoredImagesPath ( const std::string &  storeDir)
Try<std::list<std::string> > mesos::internal::slave::docker::paths::listLayers ( const std::string &  storeDir)