Apache Mesos
Functions | Variables
mesos::internal::slave::cni::paths Namespace Reference

Functions

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

Variables

constexpr char ROOT_DIR [] = "/var/run/mesos/isolators/network/cni"
 

Function Documentation

std::string mesos::internal::slave::cni::paths::getContainerDir ( const std::string &  rootDir,
const ContainerID &  containerId 
)
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::getNamespacePath ( 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::getNetworkDir ( 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 
)
Try<std::list<std::string> > mesos::internal::slave::cni::paths::getNetworkNames ( const std::string &  rootDir,
const ContainerID &  containerId 
)

Variable Documentation

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