17 #ifndef __ISOLATOR_CNI_SPEC_HPP__ 18 #define __ISOLATOR_CNI_SPEC_HPP__ 24 #include "slave/containerizer/mesos/isolators/network/cni/spec.pb.h" 59 std::string
error(
const std::string& msg, uint32_t code);
75 return stream << _error.
message;
84 #endif // __ISOLATOR_CNI_SPEC_HPP__ Try< NetworkConfig > parseNetworkConfig(const std::string &s)
Definition: errorbase.hpp:36
constexpr uint32_t CNI_ERROR_UNSUPPORTED_FIELD
Definition: spec.hpp:43
Try< NetworkInfo > parseNetworkInfo(const std::string &s)
constexpr uint32_t CNI_ERROR_INCOMPATIBLE_VERSION
Definition: spec.hpp:42
constexpr char CNI_CMD_ADD[]
Definition: spec.hpp:36
constexpr char CNI_CMD_DEL[]
Definition: spec.hpp:37
std::string formatResolverConfig(const DNS &dns)
const std::string message
Definition: errorbase.hpp:46
Definition: attributes.hpp:24
std::string error(const std::string &msg, uint32_t code)
std::ostream & operator<<(std::ostream &stream, const PluginError &_error)
Definition: spec.hpp:73
PluginError(const std::string &msg, uint32_t code)
Definition: spec.hpp:68
constexpr char CNI_VERSION[]
Definition: spec.hpp:32