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

Go to the source code of this file.

Namespaces

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

Functions

std::string mesos::internal::slave::cni::paths::getContainerDir (const std::string &rootDir, const ContainerID &containerId)
 
std::string mesos::internal::slave::cni::paths::getNamespacePath (const std::string &rootDir, const ContainerID &containerId)
 
std::string mesos::internal::slave::cni::paths::getNetworkDir (const std::string &rootDir, const ContainerID &containerId, const std::string &networkName)
 
Try< std::list< std::string > > mesos::internal::slave::cni::paths::getNetworkNames (const std::string &rootDir, const ContainerID &containerId)
 
std::string mesos::internal::slave::cni::paths::getNetworkConfigPath (const std::string &rootDir, const ContainerID &containerId, const std::string &networkName)
 
std::string mesos::internal::slave::cni::paths::getInterfaceDir (const std::string &rootDir, const ContainerID &containerId, const std::string &networkName, const std::string &ifName)
 
Try< std::list< std::string > > mesos::internal::slave::cni::paths::getInterfaces (const std::string &rootDir, const ContainerID &containerId, const std::string &networkName)
 
std::string mesos::internal::slave::cni::paths::getNetworkInfoPath (const std::string &rootDir, const ContainerID &containerId, const std::string &networkName, const std::string &ifName)
 

Variables

constexpr char mesos::internal::slave::cni::paths::ROOT_DIR [] = "/var/run/mesos/isolators/network/cni"