Apache Mesos
Functions
mesos::internal::values Namespace Reference

Functions

Try< Value > parse (const std::string &text)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<typename T >
Try< IntervalSet< T > > rangesToIntervalSet (const Value::Ranges &ranges)
 
template<typename T >
Try< std::vector< T > > rangesToVector (const Value::Ranges &ranges)
 
template<typename T >
Value::Ranges intervalSetToRanges (const IntervalSet< T > &set)
 

Function Documentation

template<typename T >
Value::Ranges mesos::internal::values::intervalSetToRanges ( const IntervalSet< T > &  set)
Try<Value> mesos::internal::values::parse ( const std::string &  s)
inline

Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string.

Parses Roles from text in the form "role1,role2,role3".

template<typename T >
Try<IntervalSet<T> > mesos::internal::values::rangesToIntervalSet ( const Value::Ranges &  ranges)
template<typename T >
Try<std::vector<T> > mesos::internal::values::rangesToVector ( const Value::Ranges &  ranges)