13 #ifndef __V1_PARSE_HPP__ 14 #define __V1_PARSE_HPP__ 35 return protobuf::parse<mesos::v1::CapabilityInfo>(json.
get());
47 return protobuf::parse<mesos::v1::RLimitInfo>(json.
get());
61 return protobuf::parse<mesos::v1::TaskGroupInfo>(json.
get());
75 return protobuf::parse<mesos::v1::TaskInfo>(json.
get());
80 #endif // __V1_PARSE_HPP__ Definition: errorbase.hpp:36
T & get()&
Definition: try.hpp:80
void json(JSON::ObjectWriter *writer, const asV1Protobuf &protobuf)
Try< mesos::ACLs > parse(const std::string &value)
Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given str...
Definition: parse.hpp:36
static Try error(const E &e)
Definition: try.hpp:43
bool isError() const
Definition: try.hpp:78