Apache Mesos
Classes | Namespaces | Functions | Variables
paths.hpp File Reference
#include <list>
#include <string>
#include <mesos/mesos.hpp>
#include <stout/nothing.hpp>
#include <stout/try.hpp>
#include <stout/uuid.hpp>

Go to the source code of this file.

Classes

struct  mesos::internal::slave::paths::ExecutorRunPath
 

Namespaces

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

Functions

Try< ExecutorRunPath > mesos::internal::slave::paths::parseExecutorRunPath (const std::string &rootDir, const std::string &dir)
 
std::string mesos::internal::slave::paths::getMetaRootDir (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getSandboxRootDir (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getProvisionerDir (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getCsiRootDir (const std::string &workDir)
 
std::string mesos::internal::slave::paths::getLatestSlavePath (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getBootIdPath (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getSlaveInfoPath (const std::string &rootDir, const SlaveID &slaveId)
 
std::string mesos::internal::slave::paths::getSlavePath (const std::string &rootDir, const SlaveID &slaveId)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getContainerPaths (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getContainerPath (const std::string &rootDir, const ContainerID &containerId)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getFrameworkPaths (const std::string &rootDir, const SlaveID &slaveId)
 
std::string mesos::internal::slave::paths::getFrameworkPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId)
 
std::string mesos::internal::slave::paths::getFrameworkPidPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId)
 
std::string mesos::internal::slave::paths::getFrameworkInfoPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getExecutorPaths (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId)
 
std::string mesos::internal::slave::paths::getExecutorPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId)
 
std::string mesos::internal::slave::paths::getExecutorInfoPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getExecutorRunPaths (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId)
 
std::string mesos::internal::slave::paths::getExecutorRunPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId)
 
std::string mesos::internal::slave::paths::getExecutorGeneratedForCommandTaskPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId)
 
std::string mesos::internal::slave::paths::getExecutorHttpMarkerPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId)
 
std::string mesos::internal::slave::paths::getExecutorSentinelPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId)
 
std::string mesos::internal::slave::paths::getExecutorVirtualPath (const FrameworkID &frameworkId, const ExecutorID &executorId)
 
std::string mesos::internal::slave::paths::getExecutorLatestRunPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId)
 
std::string mesos::internal::slave::paths::getLibprocessPidPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId)
 
std::string mesos::internal::slave::paths::getForkedPidPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId)
 
std::string mesos::internal::slave::paths::getContainerRootfsPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getTaskPaths (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId)
 
std::string mesos::internal::slave::paths::getTaskPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId, const TaskID &taskId)
 
std::string mesos::internal::slave::paths::getTaskInfoPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId, const TaskID &taskId)
 
std::string mesos::internal::slave::paths::getTaskUpdatesPath (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId, const TaskID &taskId)
 
std::string mesos::internal::slave::paths::getResourceProviderRegistryPath (const std::string &rootDir, const SlaveID &slaveId)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getResourceProviderPaths (const std::string &metaDir, const SlaveID &slaveId)
 
std::string mesos::internal::slave::paths::getResourceProviderPath (const std::string &metaDir, const SlaveID &slaveId, const std::string &resourceProviderType, const std::string &resourceProviderName, const ResourceProviderID &resourceProviderId)
 
std::string mesos::internal::slave::paths::getResourceProviderStatePath (const std::string &metaDir, const SlaveID &slaveId, const std::string &resourceProviderType, const std::string &resourceProviderName, const ResourceProviderID &resourceProviderId)
 
std::string mesos::internal::slave::paths::getLatestResourceProviderPath (const std::string &metaDir, const SlaveID &slaveId, const std::string &resourceProviderType, const std::string &resourceProviderName)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getOperationPaths (const std::string &rootDir)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getSlaveOperationPaths (const std::string &metaDir, const SlaveID &slaveId)
 
std::string mesos::internal::slave::paths::getOperationPath (const std::string &rootDir, const id::UUID &operationUuid)
 
std::string mesos::internal::slave::paths::getSlaveOperationPath (const std::string &metaDir, const SlaveID &slaveId, const id::UUID &operationUuid)
 
Try< id::UUIDmesos::internal::slave::paths::parseOperationPath (const std::string &rootDir, const std::string &dir)
 
Try< id::UUIDmesos::internal::slave::paths::parseSlaveOperationPath (const std::string &metaDir, const SlaveID &slaveId, const std::string &dir)
 
std::string mesos::internal::slave::paths::getOperationUpdatesPath (const std::string &rootDir, const id::UUID &operationUuid)
 
std::string mesos::internal::slave::paths::getSlaveOperationUpdatesPath (const std::string &metaDir, const SlaveID &slaveId, const id::UUID &operationUuid)
 
std::string mesos::internal::slave::paths::getResourceStatePath (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getResourceStateTargetPath (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getResourcesInfoPath (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getResourcesTargetPath (const std::string &rootDir)
 
std::string mesos::internal::slave::paths::getDrainConfigPath (const std::string &metaDir, const SlaveID &slaveId)
 
Try< std::list< std::string > > mesos::internal::slave::paths::getPersistentVolumePaths (const std::string &workDir)
 
std::string mesos::internal::slave::paths::getPersistentVolumePath (const std::string &workDir, const std::string &role, const std::string &persistenceId)
 
std::string mesos::internal::slave::paths::getPersistentVolumePath (const std::string &workDir, const Resource &resource)
 
std::string mesos::internal::slave::paths::getVolumeGidsPath (const std::string &rootDir)
 
Try< std::string > mesos::internal::slave::paths::createExecutorDirectory (const std::string &rootDir, const SlaveID &slaveId, const FrameworkID &frameworkId, const ExecutorID &executorId, const ContainerID &containerId, const Option< std::string > &user=None())
 
Try< Nothingmesos::internal::slave::paths::createSandboxDirectory (const std::string &directory, const Option< std::string > &user)
 
std::string mesos::internal::slave::paths::createSlaveDirectory (const std::string &rootDir, const SlaveID &slaveId)
 
std::string mesos::internal::slave::paths::createResourceProviderDirectory (const std::string &rootDir, const SlaveID &slaveId, const std::string &resourceProviderType, const std::string &resourceProviderName, const ResourceProviderID &resourceProviderId)
 

Variables

const char mesos::internal::slave::paths::LATEST_SYMLINK [] = "latest"
 
const char mesos::internal::slave::paths::LIBPROCESS_PID_FILE []
 
const char mesos::internal::slave::paths::HTTP_MARKER_FILE []