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

Classes

class  PluginError
 

Functions

Try< NetworkConfig > parseNetworkConfig (const std::string &s)
 
Try< NetworkInfo > parseNetworkInfo (const std::string &s)
 
std::string formatResolverConfig (const DNS &dns)
 
std::string error (const std::string &msg, uint32_t code)
 
std::ostream & operator<< (std::ostream &stream, const PluginError &_error)
 

Variables

constexpr char CNI_VERSION [] = "0.3.0"
 
constexpr char CNI_CMD_ADD [] = "ADD"
 
constexpr char CNI_CMD_DEL [] = "DEL"
 
constexpr uint32_t CNI_ERROR_INCOMPATIBLE_VERSION = 1
 
constexpr uint32_t CNI_ERROR_UNSUPPORTED_FIELD = 2
 

Function Documentation

std::string mesos::internal::slave::cni::spec::error ( const std::string &  msg,
uint32_t  code 
)
std::string mesos::internal::slave::cni::spec::formatResolverConfig ( const DNS &  dns)
std::ostream& mesos::internal::slave::cni::spec::operator<< ( std::ostream &  stream,
const PluginError _error 
)
inline
Try<NetworkConfig> mesos::internal::slave::cni::spec::parseNetworkConfig ( const std::string &  s)
Try<NetworkInfo> mesos::internal::slave::cni::spec::parseNetworkInfo ( const std::string &  s)

Variable Documentation

constexpr char mesos::internal::slave::cni::spec::CNI_CMD_ADD[] = "ADD"
constexpr char mesos::internal::slave::cni::spec::CNI_CMD_DEL[] = "DEL"
constexpr uint32_t mesos::internal::slave::cni::spec::CNI_ERROR_INCOMPATIBLE_VERSION = 1
constexpr uint32_t mesos::internal::slave::cni::spec::CNI_ERROR_UNSUPPORTED_FIELD = 2
constexpr char mesos::internal::slave::cni::spec::CNI_VERSION[] = "0.3.0"