Apache Mesos
Classes | Functions
flags Namespace Reference

Classes

struct  Flag
 
class  FlagsBase
 
struct  Name
 
struct  SecurePathOrValue
 
struct  Warning
 
struct  Warnings
 

Functions

template<>
Try< mesos::ACLs > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::RateLimits > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::Modules > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::ContainerInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::DeviceWhitelist > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< hashmap< std::string, std::string > > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< std::vector< unsigned int > > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< std::set< std::string > > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::CapabilityInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::Environment > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::RLimitInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::DomainInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::FrameworkID > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::ExecutorID > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::SlaveID > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::internal::ImageGcConfig > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::internal::Firewall > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::internal::ContainerDNSInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::internal::SlaveCapabilities > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::v1::CapabilityInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::v1::RLimitInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::v1::TaskGroupInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< mesos::v1::TaskInfo > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<typename T >
Try< T > fetch (const std::string &value)
 
template<>
Try< Pathfetch (const std::string &value)
 
template<>
Try< SecurePathOrValuefetch (const std::string &value)
 
Name DeprecatedName (const std::string &name)
 
std::ostream & operator<< (std::ostream &stream, const SecurePathOrValue &flag)
 
std::ostream & operator<< (std::ostream &stream, const FlagsBase &flags)
 
template<typename T >
Try< T > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< std::string > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< bool > parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< Durationparse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< Bytesparse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< net::IPparse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< net::IPv4parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< net::IPv6parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< JSON::Objectparse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< JSON::Arrayparse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< Pathparse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< SecurePathOrValueparse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 

Function Documentation

Name flags::DeprecatedName ( const std::string &  name)
inline
template<typename T >
Try<T> flags::fetch ( const std::string &  value)
template<>
Try<Path> flags::fetch ( const std::string &  value)
inline
template<>
Try<SecurePathOrValue> flags::fetch ( const std::string &  value)
inline
std::ostream& flags::operator<< ( std::ostream &  stream,
const SecurePathOrValue flag 
)
inline
std::ostream& flags::operator<< ( std::ostream &  stream,
const FlagsBase flags 
)
inline
template<>
Try<mesos::v1::CapabilityInfo> flags::parse ( const std::string &  value)
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<T> flags::parse ( const std::string &  value)
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<>
Try<mesos::ACLs> flags::parse ( const std::string &  value)
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<>
Try<mesos::internal::ImageGcConfig> flags::parse ( const std::string &  value)
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<>
Try<mesos::v1::RLimitInfo> flags::parse ( const std::string &  value)
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<>
Try<mesos::RateLimits> flags::parse ( const std::string &  value)
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<>
Try<mesos::internal::Firewall> flags::parse ( const std::string &  value)
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<>
Try<std::string> flags::parse ( const std::string &  value)
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<>
Try<mesos::v1::TaskGroupInfo> flags::parse ( const std::string &  value)
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<>
Try<bool> flags::parse ( const std::string &  value)
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<>
Try<mesos::internal::ContainerDNSInfo> flags::parse ( const std::string &  value)
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<>
Try<mesos::Modules> flags::parse ( const std::string &  value)
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<>
Try<mesos::v1::TaskInfo> flags::parse ( const std::string &  value)
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<>
Try<Duration> flags::parse ( const std::string &  value)
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<>
Try<Bytes> flags::parse ( const std::string &  value)
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<>
Try<mesos::internal::SlaveCapabilities> flags::parse ( const std::string &  value)
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<>
Try<mesos::ContainerInfo> flags::parse ( const std::string &  value)
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<>
Try<net::IP> flags::parse ( const std::string &  value)
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<>
Try<net::IPv4> flags::parse ( const std::string &  value)
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<>
Try<mesos::DeviceWhitelist> flags::parse ( const std::string &  value)
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<>
Try<net::IPv6> flags::parse ( const std::string &  value)
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<>
Try<JSON::Object> flags::parse ( const std::string &  value)
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<>
Try<hashmap<std::string, std::string> > flags::parse ( const std::string &  value)
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<>
Try<JSON::Array> flags::parse ( const std::string &  value)
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<>
Try<std::vector<unsigned int> > flags::parse ( const std::string &  value)
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<>
Try<std::set<std::string> > flags::parse ( const std::string &  value)
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<>
Try<Path> flags::parse ( const std::string &  value)
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<>
Try<SecurePathOrValue> flags::parse ( const std::string &  value)
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<>
Try<mesos::CapabilityInfo> flags::parse ( const std::string &  value)
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<>
Try<mesos::Environment> flags::parse ( const std::string &  value)
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<>
Try<mesos::RLimitInfo> flags::parse ( const std::string &  value)
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<>
Try<mesos::DomainInfo> flags::parse ( const std::string &  value)
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<>
Try<mesos::FrameworkID> flags::parse ( const std::string &  value)
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<>
Try<mesos::ExecutorID> flags::parse ( const std::string &  value)
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<>
Try<mesos::SlaveID> flags::parse ( const std::string &  value)
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".