Apache Mesos
Namespaces | Functions
paths.hpp File Reference
#include <list>
#include <string>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::slave
 
 mesos::internal::slave::docker
 
 mesos::internal::slave::docker::paths
 

Functions

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) More...
 
std::string mesos::internal::slave::docker::paths::getStagingTempDir (const std::string &storeDir)
 
std::string mesos::internal::slave::docker::paths::getImageLayerPath (const std::string &storeDir, const std::string &layerId)
 
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::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::getImageArchiveTarPath (const std::string &discoveryDir, const std::string &name)
 
std::string mesos::internal::slave::docker::paths::getStoredImagesPath (const std::string &storeDir)
 
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)
 
Try< std::list< std::string > > mesos::internal::slave::docker::paths::listLayers (const std::string &storeDir)