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

Functions

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

Variables

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

Function Documentation

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

Variable Documentation

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