Apache Mesos
Namespaces | Classes | Enumerations | Functions | Variables
mesos Namespace Reference

Namespaces

 agent
 
 allocator
 
 authentication
 
 authorization
 
 csi
 
 executor
 
 http
 
 internal
 
 log
 
 master
 
 modules
 
 python
 
 resource_provider
 
 roles
 
 scheduler
 
 slave
 
 state
 
 test
 
 typeutils
 
 uri
 
 v1
 

Classes

class  AcceptingObjectApprover
 
class  Attributes
 
class  Authenticatee
 
class  Authenticator
 
class  Authorizer
 This interface is used to enable an identity service or any other back end to check authorization policies for a set of predefined actions. More...
 
class  DiskProfileAdaptor
 This module is used by Storage Resource Providers to translate the "profile" field of a Resource::DiskInfo::Source into fields that a Container Storage Interface (CSI) plugin can potentially understand. More...
 
class  Executor
 
class  ExecutorDriver
 
class  Hook
 
class  IDAcceptor
 Used to filter results for API handlers. More...
 
class  MesosExecutorDriver
 
class  MesosSchedulerDriver
 
class  ObjectApprover
 This interface represents a function object returned by the authorizer which can be used locally (and synchronously) to check whether a specific object is authorized. More...
 
class  ObjectApprovers
 
struct  Quota
 
class  ResourceConversion
 Represents a resource conversion, usually as a result of an offer operation. More...
 
class  ResourceLimits
 
class  ResourceQuantities
 
class  Resources
 
class  Scheduler
 
class  SchedulerDriver
 
class  SecretGenerator
 The SecretGenerator interface represents a mechanism to create a secret from a principal. More...
 
class  SecretResolver
 
struct  UnavailableResources
 

Enumerations

enum  ContentType { ContentType::PROTOBUF, ContentType::JSON, ContentType::RECORDIO }
 
enum  ResourceFormat { PRE_RESERVATION_REFINEMENT, POST_RESERVATION_REFINEMENT, ENDPOINT }
 

Functions

std::ostream & operator<< (std::ostream &stream, const Attribute &attribute)
 
std::ostream & operator<< (std::ostream &stream, const ACLs &acls)
 
std::ostream & operator<< (std::ostream &stream, ContentType contentType)
 
std::ostream & operator<< (std::ostream &stream, const Modules &modules)
 
std::ostream & operator<< (std::ostream &stream, const ResourceQuantities &q)
 
std::ostream & operator<< (std::ostream &stream, const ResourceLimits &limits)
 
bool operator== (const Resource::ReservationInfo &left, const Resource::ReservationInfo &right)
 
bool operator!= (const Resource::ReservationInfo &left, const Resource::ReservationInfo &right)
 
std::ostream & operator<< (std::ostream &stream, const Resources::Resource_ &resource)
 
std::ostream & operator<< (std::ostream &stream, const Resource &resource)
 
std::ostream & operator<< (std::ostream &stream, const Resources &resources)
 
std::ostream & operator<< (std::ostream &stream, const google::protobuf::RepeatedPtrField< Resource > &resources)
 
Resources operator+ (const google::protobuf::RepeatedPtrField< Resource > &left, const Resources &right)
 
Resources operator- (const google::protobuf::RepeatedPtrField< Resource > &left, const Resources &right)
 
bool operator== (const google::protobuf::RepeatedPtrField< Resource > &left, const Resources &right)
 
template<typename Key >
hashmap< Key, Resources > & operator+= (hashmap< Key, Resources > &left, const hashmap< Key, Resources > &right)
 
template<typename Key >
hashmap< Key, Resourcesoperator+ (const hashmap< Key, Resources > &left, const hashmap< Key, Resources > &right)
 
bool contains (const Resource &left, const Resource &right)
 
bool operator== (const CheckStatusInfo &left, const CheckStatusInfo &right)
 
bool operator== (const CommandInfo &left, const CommandInfo &right)
 
bool operator== (const CommandInfo::URI &left, const CommandInfo::URI &right)
 
bool operator== (const ContainerID &left, const ContainerID &right)
 
bool operator== (const ContainerInfo &left, const ContainerInfo &right)
 
bool operator== (const Credential &left, const Credential &right)
 
bool operator== (const CSIPluginInfo &left, const CSIPluginInfo &right)
 
bool operator== (const CSIPluginContainerInfo &left, const CSIPluginContainerInfo &right)
 
bool operator== (const DiscoveryInfo &left, const DiscoveryInfo &right)
 
bool operator== (const Environment &left, const Environment &right)
 
bool operator== (const ExecutorInfo &left, const ExecutorInfo &right)
 
bool operator== (const HealthCheck &left, const HealthCheck &right)
 
bool operator== (const KillPolicy &left, const KillPolicy &right)
 
bool operator== (const Label &left, const Label &right)
 
bool operator== (const Labels &left, const Labels &right)
 
bool operator== (const MasterInfo &left, const MasterInfo &right)
 
bool operator== (const Offer::Operation &left, const Offer::Operation &right)
 
bool operator== (const Operation &left, const Operation &right)
 
bool operator== (const OperationStatus &left, const OperationStatus &right)
 
bool operator== (const ResourceProviderInfo &left, const ResourceProviderInfo &right)
 
bool operator== (const ResourceStatistics &left, const ResourceStatistics &right)
 
bool operator== (const SlaveInfo &left, const SlaveInfo &right)
 
bool operator== (const Task &left, const Task &right)
 
bool operator== (const TaskGroupInfo &left, const TaskGroupInfo &right)
 
bool operator== (const TaskInfo &left, const TaskInfo &right)
 
bool operator== (const TaskStatus &left, const TaskStatus &right)
 
bool operator== (const URL &left, const URL &right)
 
bool operator== (const UUID &left, const UUID &right)
 
bool operator== (const Volume &left, const Volume &right)
 
bool operator== (const Volume::Source::CSIVolume::VolumeCapability &left, const Volume::Source::CSIVolume::VolumeCapability &right)
 
bool operator!= (const CheckStatusInfo &left, const CheckStatusInfo &right)
 
bool operator!= (const ExecutorInfo &left, const ExecutorInfo &right)
 
bool operator!= (const Labels &left, const Labels &right)
 
bool operator!= (const Offer::Operation &left, const Offer::Operation &right)
 
bool operator!= (const Operation &left, const Operation &right)
 
bool operator!= (const OperationStatus &left, const OperationStatus &right)
 
bool operator!= (const TaskStatus &left, const TaskStatus &right)
 
bool operator!= (const Volume::Source::CSIVolume::VolumeCapability &left, const Volume::Source::CSIVolume::VolumeCapability &right)
 
bool operator== (const ExecutorID &left, const ExecutorID &right)
 
bool operator== (const FrameworkID &left, const FrameworkID &right)
 
bool operator== (const FrameworkInfo &left, const FrameworkInfo &right)=delete
 
bool operator== (const OfferID &left, const OfferID &right)
 
bool operator== (const OperationID &left, const OperationID &right)
 
bool operator== (const ResourceProviderID &left, const ResourceProviderID &right)
 
bool operator== (const SlaveID &left, const SlaveID &right)
 
bool operator== (const TaskID &left, const TaskID &right)
 
bool operator== (const TimeInfo &left, const TimeInfo &right)
 
bool operator== (const DurationInfo &left, const DurationInfo &right)
 
bool operator== (const ContainerID &left, const std::string &right)
 
bool operator== (const ExecutorID &left, const std::string &right)
 
bool operator== (const FrameworkID &left, const std::string &right)
 
bool operator== (const OfferID &left, const std::string &right)
 
bool operator== (const SlaveID &left, const std::string &right)
 
bool operator== (const TaskID &left, const std::string &right)
 
bool operator== (const DomainInfo::FaultDomain::RegionInfo &left, const DomainInfo::FaultDomain::RegionInfo &right)
 
bool operator== (const DomainInfo::FaultDomain::ZoneInfo &left, const DomainInfo::FaultDomain::ZoneInfo &right)
 
bool operator== (const DomainInfo::FaultDomain &left, const DomainInfo::FaultDomain &right)
 
bool operator== (const DomainInfo &left, const DomainInfo &right)
 
bool operator== (const DrainInfo &left, const DrainInfo &right)
 
bool operator== (const DrainConfig &left, const DrainConfig &right)
 
bool operator== (const MachineID &left, const MachineID &right)
 For machines to match, both the hostname and ip must be equivalent. More...
 
bool operator!= (const ContainerID &left, const ContainerID &right)
 
bool operator!= (const CSIPluginContainerInfo &left, const CSIPluginContainerInfo &right)
 
bool operator!= (const ExecutorID &left, const ExecutorID &right)
 
bool operator!= (const FrameworkID &left, const FrameworkID &right)
 
bool operator!= (const OperationID &left, const OperationID &right)
 
bool operator!= (const ResourceProviderID &left, const ResourceProviderID &right)
 
bool operator!= (const SlaveID &left, const SlaveID &right)
 
bool operator!= (const ResourceProviderInfo &left, const ResourceProviderInfo &right)
 
bool operator!= (const TimeInfo &left, const TimeInfo &right)
 
bool operator!= (const UUID &left, const UUID &right)
 
bool operator!= (const DurationInfo &left, const DurationInfo &right)
 
bool operator!= (const DomainInfo::FaultDomain::RegionInfo &left, const DomainInfo::FaultDomain::RegionInfo &right)
 
bool operator< (const ContainerID &left, const ContainerID &right)
 
bool operator< (const DurationInfo &left, const DurationInfo &right)
 
bool operator< (const ExecutorID &left, const ExecutorID &right)
 
bool operator< (const FrameworkID &left, const FrameworkID &right)
 
bool operator< (const OfferID &left, const OfferID &right)
 
bool operator< (const SlaveID &left, const SlaveID &right)
 
bool operator< (const TaskID &left, const TaskID &right)
 
std::ostream & operator<< (std::ostream &stream, const CapabilityInfo &capabilityInfo)
 
std::ostream & operator<< (std::ostream &stream, const DeviceWhitelist &deviceWhitelist)
 
std::ostream & operator<< (std::ostream &stream, const CheckStatusInfo &checkStatusInfo)
 
std::ostream & operator<< (std::ostream &stream, const CommandInfo &commandInfo)
 
std::ostream & operator<< (std::ostream &stream, const ContainerID &containerId)
 
std::ostream & operator<< (std::ostream &stream, const ContainerInfo &containerInfo)
 
std::ostream & operator<< (std::ostream &stream, const DomainInfo &domainInfo)
 
std::ostream & operator<< (std::ostream &stream, const DrainConfig &drainConfig)
 
std::ostream & operator<< (std::ostream &stream, const DrainState &state)
 
std::ostream & operator<< (std::ostream &stream, const Environment &environment)
 
std::ostream & operator<< (std::ostream &stream, const ExecutorID &executorId)
 
std::ostream & operator<< (std::ostream &stream, const ExecutorInfo &executor)
 
std::ostream & operator<< (std::ostream &stream, const FrameworkID &frameworkId)
 
std::ostream & operator<< (std::ostream &stream, const MasterInfo &master)
 
std::ostream & operator<< (std::ostream &stream, const OfferID &offerId)
 
std::ostream & operator<< (std::ostream &stream, const OperationID &operationId)
 
std::ostream & operator<< (std::ostream &stream, const OperationState &state)
 
std::ostream & operator<< (std::ostream &stream, const Operation &operation)
 
std::ostream & operator<< (std::ostream &stream, const RateLimits &limits)
 
std::ostream & operator<< (std::ostream &stream, const ResourceProviderID &resourceProviderId)
 
std::ostream & operator<< (std::ostream &stream, const ResourceProviderInfo &resourceProviderInfo)
 
std::ostream & operator<< (std::ostream &stream, const RLimitInfo &rlimitInfo)
 
std::ostream & operator<< (std::ostream &stream, const SlaveID &slaveId)
 
std::ostream & operator<< (std::ostream &stream, const SlaveInfo &slave)
 
std::ostream & operator<< (std::ostream &stream, const TaskID &taskId)
 
std::ostream & operator<< (std::ostream &stream, const MachineID &machineId)
 
std::ostream & operator<< (std::ostream &stream, const TaskInfo &task)
 
std::ostream & operator<< (std::ostream &stream, const TaskState &state)
 
std::ostream & operator<< (std::ostream &stream, const UUID &uuid)
 
std::ostream & operator<< (std::ostream &stream, const CheckInfo::Type &type)
 
std::ostream & operator<< (std::ostream &stream, const CSIPluginContainerInfo::Service &service)
 
std::ostream & operator<< (std::ostream &stream, const FrameworkInfo::Capability &capability)
 
std::ostream & operator<< (std::ostream &stream, const Image::Type &imageType)
 
std::ostream & operator<< (std::ostream &stream, const Secret::Type &secretType)
 
std::ostream & operator<< (std::ostream &stream, const Offer::Operation::Type &operationType)
 
std::ostream & operator<< (std::ostream &stream, const Resource::DiskInfo::Source::Type &sourceType)
 
template<typename T >
std::ostream & operator<< (std::ostream &stream, const std::vector< T > &messages)
 
std::ostream & operator<< (std::ostream &stream, const URI &uri)
 
std::ostream & operator<< (std::ostream &stream, const Value::Scalar &scalar)
 
bool operator== (const Value::Scalar &left, const Value::Scalar &right)
 
bool operator!= (const Value::Scalar &left, const Value::Scalar &right)
 
bool operator< (const Value::Scalar &left, const Value::Scalar &right)
 
bool operator<= (const Value::Scalar &left, const Value::Scalar &right)
 
bool operator> (const Value::Scalar &left, const Value::Scalar &right)
 
bool operator>= (const Value::Scalar &left, const Value::Scalar &right)
 
Value::Scalar operator+ (const Value::Scalar &left, const Value::Scalar &right)
 
Value::Scalar operator- (const Value::Scalar &left, const Value::Scalar &right)
 
Value::Scalar & operator+= (Value::Scalar &left, const Value::Scalar &right)
 
Value::Scalar & operator-= (Value::Scalar &left, const Value::Scalar &right)
 
std::ostream & operator<< (std::ostream &stream, const Value::Ranges &ranges)
 
bool operator== (const Value::Ranges &left, const Value::Ranges &right)
 
bool operator<= (const Value::Ranges &left, const Value::Ranges &right)
 
Value::Ranges operator+ (const Value::Ranges &left, const Value::Ranges &right)
 
Value::Ranges operator- (const Value::Ranges &left, const Value::Ranges &right)
 
Value::Ranges & operator+= (Value::Ranges &left, const Value::Ranges &right)
 
Value::Ranges & operator-= (Value::Ranges &left, const Value::Ranges &right)
 
std::ostream & operator<< (std::ostream &stream, const Value::Set &set)
 
bool operator== (const Value::Set &left, const Value::Set &right)
 
bool operator<= (const Value::Set &left, const Value::Set &right)
 
Value::Set operator+ (const Value::Set &left, const Value::Set &right)
 
Value::Set operator- (const Value::Set &left, const Value::Set &right)
 
Value::Set & operator+= (Value::Set &left, const Value::Set &right)
 
Value::Set & operator-= (Value::Set &left, const Value::Set &right)
 
std::ostream & operator<< (std::ostream &stream, const Value::Text &value)
 
bool operator== (const Value::Text &left, const Value::Text &right)
 
void json (JSON::ObjectWriter *writer, const Attributes &attributes)
 
void json (JSON::ObjectWriter *writer, const CommandInfo &command)
 
void json (JSON::ObjectWriter *writer, const DomainInfo &domainInfo)
 
void json (JSON::ObjectWriter *writer, const ExecutorInfo &executorInfo)
 
void json (JSON::StringWriter *writer, const FrameworkInfo::Capability &capability)
 
void json (JSON::ArrayWriter *writer, const Labels &labels)
 
void json (JSON::ObjectWriter *writer, const MasterInfo &info)
 
void json (JSON::StringWriter *writer, const MasterInfo::Capability &capability)
 
void json (JSON::ObjectWriter *writer, const Offer &offer)
 
void json (JSON::ObjectWriter *writer, const Resources &resources)
 
void json (JSON::ObjectWriter *writer, const google::protobuf::RepeatedPtrField< Resource > &resources)
 
void json (JSON::ObjectWriter *writer, const ResourceQuantities &quantities)
 
void json (JSON::ObjectWriter *writer, const ResourceLimits &limits)
 
void json (JSON::ObjectWriter *writer, const SlaveInfo &slaveInfo)
 
void json (JSON::StringWriter *writer, const SlaveInfo::Capability &capability)
 
void json (JSON::ObjectWriter *writer, const Task &task)
 
void json (JSON::ObjectWriter *writer, const TaskStatus &status)
 
template<>
bool ObjectApprovers::approved< authorization::VIEW_ROLE > (const Resource &resource) const
 
process::Future< bool > authorizeEndpoint (const std::string &endpoint, const std::string &method, const Option< Authorizer * > &authorizer, const Option< process::http::authentication::Principal > &principal)
 
Try< NothinginitializeHttpAuthenticators (const std::string &realm, const std::vector< std::string > &httpAuthenticatorNames, const Option< Credentials > &credentials=None(), const Option< std::string > &jwtSecretKey=None())
 Helper function to create HTTP authenticators for a given realm and register in libprocess. More...
 
void logRequest (const process::http::Request &request)
 
void logResponse (const process::http::Request &request, const process::http::Response &response)
 
Try< VersionkernelVersion ()
 
bool needCheckpointing (const Resource &resource)
 
Try< ResourcesapplyCheckpointedResources (const Resources &resources, const Resources &checkpointedResources)
 
Result< ResourceProviderID > getResourceProviderId (const Offer::Operation &operation)
 
Result< ResourceProviderID > getResourceProviderId (const Resources &resources)
 
Try< std::vector< ResourceConversion > > getResourceConversions (const Offer::Operation &operation)
 
Try< std::vector< v1::ResourceConversion > > getResourceConversions (const v1::Offer::Operation &operation)
 
void convertResourceFormat (Resource *resource, ResourceFormat format)
 
void convertResourceFormat (google::protobuf::RepeatedPtrField< Resource > *resources, ResourceFormat format)
 
void convertResourceFormat (std::vector< Resource > *resources, ResourceFormat format)
 
void upgradeResource (Resource *resource)
 
void upgradeResources (google::protobuf::RepeatedPtrField< Resource > *resources)
 
void upgradeResources (std::vector< Resource > *resources)
 
void upgradeResources (google::protobuf::Message *message)
 
Option< ErrorvalidateAndUpgradeResources (Offer::Operation *operation)
 
Try< NothingdowngradeResource (Resource *resource)
 
Try< NothingdowngradeResources (google::protobuf::RepeatedPtrField< Resource > *resources)
 
Try< NothingdowngradeResources (std::vector< Resource > *resources)
 
Try< NothingdowngradeResources (google::protobuf::Message *message)
 
Resources shrinkResources (const Resources &resources, ResourceQuantities target)
 
Resources shrinkResources (const Resources &resources, ResourceLimits target)
 
double getScalarResource (const Offer &offer, const std::string &name)
 

Variables

const char APPLICATION_PROTOBUF [] = "application/x-protobuf"
 
const char APPLICATION_JSON [] = "application/json"
 
const char APPLICATION_RECORDIO [] = "application/recordio"
 
const char MESSAGE_CONTENT_TYPE [] = "Message-Content-Type"
 
const char MESSAGE_ACCEPT [] = "Message-Accept"
 

Enumeration Type Documentation

enum mesos::ContentType
strong
Enumerator
PROTOBUF 
JSON 
RECORDIO 
Enumerator
PRE_RESERVATION_REFINEMENT 
POST_RESERVATION_REFINEMENT 
ENDPOINT 

Function Documentation

Try<Resources> mesos::applyCheckpointedResources ( const Resources resources,
const Resources checkpointedResources 
)
process::Future<bool> mesos::authorizeEndpoint ( const std::string &  endpoint,
const std::string &  method,
const Option< Authorizer * > &  authorizer,
const Option< process::http::authentication::Principal > &  principal 
)
bool mesos::contains ( const Resource &  left,
const Resource &  right 
)
void mesos::convertResourceFormat ( Resource *  resource,
ResourceFormat  format 
)
void mesos::convertResourceFormat ( google::protobuf::RepeatedPtrField< Resource > *  resources,
ResourceFormat  format 
)
void mesos::convertResourceFormat ( std::vector< Resource > *  resources,
ResourceFormat  format 
)
Try<Nothing> mesos::downgradeResource ( Resource *  resource)
Try<Nothing> mesos::downgradeResources ( google::protobuf::RepeatedPtrField< Resource > *  resources)
Try<Nothing> mesos::downgradeResources ( std::vector< Resource > *  resources)
Try<Nothing> mesos::downgradeResources ( google::protobuf::Message *  message)
Try<std::vector<ResourceConversion> > mesos::getResourceConversions ( const Offer::Operation &  operation)
Try<std::vector<v1::ResourceConversion> > mesos::getResourceConversions ( const v1::Offer::Operation &  operation)
Result<ResourceProviderID> mesos::getResourceProviderId ( const Offer::Operation &  operation)
Result<ResourceProviderID> mesos::getResourceProviderId ( const Resources resources)
double mesos::getScalarResource ( const Offer &  offer,
const std::string &  name 
)
inline
Try<Nothing> mesos::initializeHttpAuthenticators ( const std::string &  realm,
const std::vector< std::string > &  httpAuthenticatorNames,
const Option< Credentials > &  credentials = None(),
const Option< std::string > &  jwtSecretKey = None() 
)

Helper function to create HTTP authenticators for a given realm and register in libprocess.

Parameters
realmname of the realm.
authenticatorNamesa vector of authenticator names.
credentialsoptional credentials for BasicAuthenticator only.
jwtSecretKeyoptional secret key for the JWTAuthenticator only.
Returns
nothing if authenticators are initialized and registered to libprocess successfully, or error if authenticators cannot be initialized.
void mesos::json ( JSON::ObjectWriter writer,
const Attributes attributes 
)
void mesos::json ( JSON::ObjectWriter writer,
const CommandInfo &  command 
)
void mesos::json ( JSON::ObjectWriter writer,
const DomainInfo &  domainInfo 
)
void mesos::json ( JSON::ObjectWriter writer,
const ExecutorInfo &  executorInfo 
)
void mesos::json ( JSON::StringWriter writer,
const FrameworkInfo::Capability &  capability 
)
void mesos::json ( JSON::ArrayWriter writer,
const Labels &  labels 
)
void mesos::json ( JSON::ObjectWriter writer,
const MasterInfo &  info 
)
void mesos::json ( JSON::StringWriter writer,
const MasterInfo::Capability &  capability 
)
void mesos::json ( JSON::ObjectWriter writer,
const Offer &  offer 
)
void mesos::json ( JSON::ObjectWriter writer,
const Resources resources 
)
void mesos::json ( JSON::ObjectWriter writer,
const google::protobuf::RepeatedPtrField< Resource > &  resources 
)
void mesos::json ( JSON::ObjectWriter writer,
const ResourceQuantities quantities 
)
void mesos::json ( JSON::ObjectWriter writer,
const ResourceLimits limits 
)
void mesos::json ( JSON::ObjectWriter writer,
const SlaveInfo &  slaveInfo 
)
void mesos::json ( JSON::StringWriter writer,
const SlaveInfo::Capability &  capability 
)
void mesos::json ( JSON::ObjectWriter writer,
const Task &  task 
)
void mesos::json ( JSON::ObjectWriter writer,
const TaskStatus &  status 
)
Try<Version> mesos::kernelVersion ( )
void mesos::logRequest ( const process::http::Request request)
void mesos::logResponse ( const process::http::Request request,
const process::http::Response response 
)
bool mesos::needCheckpointing ( const Resource &  resource)
template<>
bool mesos::ObjectApprovers::approved< authorization::VIEW_ROLE > ( const Resource &  resource) const
inline
bool mesos::operator!= ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
bool mesos::operator!= ( const Resource::ReservationInfo &  left,
const Resource::ReservationInfo &  right 
)
bool mesos::operator!= ( const CheckStatusInfo &  left,
const CheckStatusInfo &  right 
)
bool mesos::operator!= ( const ExecutorInfo &  left,
const ExecutorInfo &  right 
)
bool mesos::operator!= ( const Labels &  left,
const Labels &  right 
)
bool mesos::operator!= ( const Offer::Operation &  left,
const Offer::Operation &  right 
)
bool mesos::operator!= ( const Operation &  left,
const Operation &  right 
)
bool mesos::operator!= ( const OperationStatus &  left,
const OperationStatus &  right 
)
bool mesos::operator!= ( const TaskStatus &  left,
const TaskStatus &  right 
)
bool mesos::operator!= ( const Volume::Source::CSIVolume::VolumeCapability &  left,
const Volume::Source::CSIVolume::VolumeCapability &  right 
)
bool mesos::operator!= ( const ContainerID &  left,
const ContainerID &  right 
)
inline
bool mesos::operator!= ( const CSIPluginContainerInfo &  left,
const CSIPluginContainerInfo &  right 
)
inline
bool mesos::operator!= ( const ExecutorID &  left,
const ExecutorID &  right 
)
inline
bool mesos::operator!= ( const FrameworkID &  left,
const FrameworkID &  right 
)
inline
bool mesos::operator!= ( const OperationID &  left,
const OperationID &  right 
)
inline
bool mesos::operator!= ( const ResourceProviderID &  left,
const ResourceProviderID &  right 
)
inline
bool mesos::operator!= ( const SlaveID &  left,
const SlaveID &  right 
)
inline
bool mesos::operator!= ( const ResourceProviderInfo &  left,
const ResourceProviderInfo &  right 
)
inline
bool mesos::operator!= ( const TimeInfo &  left,
const TimeInfo &  right 
)
inline
bool mesos::operator!= ( const UUID &  left,
const UUID &  right 
)
inline
bool mesos::operator!= ( const DurationInfo &  left,
const DurationInfo &  right 
)
inline
bool mesos::operator!= ( const DomainInfo::FaultDomain::RegionInfo &  left,
const DomainInfo::FaultDomain::RegionInfo &  right 
)
inline
Value::Scalar mesos::operator+ ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
Value::Ranges mesos::operator+ ( const Value::Ranges &  left,
const Value::Ranges &  right 
)
Value::Set mesos::operator+ ( const Value::Set &  left,
const Value::Set &  right 
)
Resources mesos::operator+ ( const google::protobuf::RepeatedPtrField< Resource > &  left,
const Resources right 
)
inline
template<typename Key >
hashmap<Key, Resources> mesos::operator+ ( const hashmap< Key, Resources > &  left,
const hashmap< Key, Resources > &  right 
)
Value::Scalar& mesos::operator+= ( Value::Scalar &  left,
const Value::Scalar &  right 
)
Value::Ranges& mesos::operator+= ( Value::Ranges &  left,
const Value::Ranges &  right 
)
Value::Set& mesos::operator+= ( Value::Set &  left,
const Value::Set &  right 
)
template<typename Key >
hashmap<Key, Resources>& mesos::operator+= ( hashmap< Key, Resources > &  left,
const hashmap< Key, Resources > &  right 
)
Value::Scalar mesos::operator- ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
Value::Ranges mesos::operator- ( const Value::Ranges &  left,
const Value::Ranges &  right 
)
Value::Set mesos::operator- ( const Value::Set &  left,
const Value::Set &  right 
)
Resources mesos::operator- ( const google::protobuf::RepeatedPtrField< Resource > &  left,
const Resources right 
)
inline
Value::Scalar& mesos::operator-= ( Value::Scalar &  left,
const Value::Scalar &  right 
)
Value::Ranges& mesos::operator-= ( Value::Ranges &  left,
const Value::Ranges &  right 
)
Value::Set& mesos::operator-= ( Value::Set &  left,
const Value::Set &  right 
)
bool mesos::operator< ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
bool mesos::operator< ( const ContainerID &  left,
const ContainerID &  right 
)
inline
bool mesos::operator< ( const DurationInfo &  left,
const DurationInfo &  right 
)
inline
bool mesos::operator< ( const ExecutorID &  left,
const ExecutorID &  right 
)
inline
bool mesos::operator< ( const FrameworkID &  left,
const FrameworkID &  right 
)
inline
bool mesos::operator< ( const OfferID &  left,
const OfferID &  right 
)
inline
bool mesos::operator< ( const SlaveID &  left,
const SlaveID &  right 
)
inline
bool mesos::operator< ( const TaskID &  left,
const TaskID &  right 
)
inline
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Modules &  modules 
)
inline
std::ostream& mesos::operator<< ( std::ostream &  stream,
const URI &  uri 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Value::Scalar &  scalar 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Attribute &  attribute 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ACLs &  acls 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Value::Ranges &  ranges 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Value::Set &  set 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
ContentType  contentType 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Value::Text &  value 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ResourceQuantities q 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ResourceLimits limits 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const CapabilityInfo &  capabilityInfo 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const DeviceWhitelist &  deviceWhitelist 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const CheckStatusInfo &  checkStatusInfo 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const CommandInfo &  commandInfo 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ContainerID &  containerId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ContainerInfo &  containerInfo 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const DomainInfo &  domainInfo 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const DrainConfig &  drainConfig 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const DrainState &  state 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Environment &  environment 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ExecutorID &  executorId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ExecutorInfo &  executor 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const FrameworkID &  frameworkId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const MasterInfo &  master 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const OfferID &  offerId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const OperationID &  operationId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const OperationState &  state 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Operation &  operation 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const RateLimits &  limits 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ResourceProviderID &  resourceProviderId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const ResourceProviderInfo &  resourceProviderInfo 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const RLimitInfo &  rlimitInfo 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const SlaveID &  slaveId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const SlaveInfo &  slave 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const TaskID &  taskId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const MachineID &  machineId 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const TaskInfo &  task 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const TaskState &  state 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const UUID &  uuid 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const CheckInfo::Type &  type 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const CSIPluginContainerInfo::Service &  service 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const FrameworkInfo::Capability &  capability 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Image::Type &  imageType 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Secret::Type &  secretType 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Offer::Operation::Type &  operationType 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Resource::DiskInfo::Source::Type &  sourceType 
)
template<typename T >
std::ostream& mesos::operator<< ( std::ostream &  stream,
const std::vector< T > &  messages 
)
inline
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Resources::Resource_ &  resource 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Resource &  resource 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const Resources resources 
)
std::ostream& mesos::operator<< ( std::ostream &  stream,
const google::protobuf::RepeatedPtrField< Resource > &  resources 
)
bool mesos::operator<= ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
bool mesos::operator<= ( const Value::Ranges &  left,
const Value::Ranges &  right 
)
bool mesos::operator<= ( const Value::Set &  left,
const Value::Set &  right 
)
bool mesos::operator== ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
bool mesos::operator== ( const Value::Ranges &  left,
const Value::Ranges &  right 
)
bool mesos::operator== ( const Value::Set &  left,
const Value::Set &  right 
)
bool mesos::operator== ( const CheckStatusInfo &  left,
const CheckStatusInfo &  right 
)
bool mesos::operator== ( const CommandInfo &  left,
const CommandInfo &  right 
)
bool mesos::operator== ( const CommandInfo::URI &  left,
const CommandInfo::URI &  right 
)
bool mesos::operator== ( const ContainerID &  left,
const ContainerID &  right 
)
inline
bool mesos::operator== ( const ContainerInfo &  left,
const ContainerInfo &  right 
)
bool mesos::operator== ( const Credential &  left,
const Credential &  right 
)
bool mesos::operator== ( const CSIPluginInfo &  left,
const CSIPluginInfo &  right 
)
bool mesos::operator== ( const Value::Text &  left,
const Value::Text &  right 
)
bool mesos::operator== ( const CSIPluginContainerInfo &  left,
const CSIPluginContainerInfo &  right 
)
bool mesos::operator== ( const DiscoveryInfo &  left,
const DiscoveryInfo &  right 
)
bool mesos::operator== ( const Environment &  left,
const Environment &  right 
)
bool mesos::operator== ( const ExecutorInfo &  left,
const ExecutorInfo &  right 
)
bool mesos::operator== ( const Resource::ReservationInfo &  left,
const Resource::ReservationInfo &  right 
)
bool mesos::operator== ( const HealthCheck &  left,
const HealthCheck &  right 
)
bool mesos::operator== ( const KillPolicy &  left,
const KillPolicy &  right 
)
bool mesos::operator== ( const Label &  left,
const Label &  right 
)
bool mesos::operator== ( const Labels &  left,
const Labels &  right 
)
bool mesos::operator== ( const MasterInfo &  left,
const MasterInfo &  right 
)
bool mesos::operator== ( const Offer::Operation &  left,
const Offer::Operation &  right 
)
bool mesos::operator== ( const Operation &  left,
const Operation &  right 
)
bool mesos::operator== ( const OperationStatus &  left,
const OperationStatus &  right 
)
bool mesos::operator== ( const ResourceProviderInfo &  left,
const ResourceProviderInfo &  right 
)
bool mesos::operator== ( const ResourceStatistics &  left,
const ResourceStatistics &  right 
)
bool mesos::operator== ( const SlaveInfo &  left,
const SlaveInfo &  right 
)
bool mesos::operator== ( const Task &  left,
const Task &  right 
)
bool mesos::operator== ( const TaskGroupInfo &  left,
const TaskGroupInfo &  right 
)
bool mesos::operator== ( const TaskInfo &  left,
const TaskInfo &  right 
)
bool mesos::operator== ( const TaskStatus &  left,
const TaskStatus &  right 
)
bool mesos::operator== ( const URL &  left,
const URL &  right 
)
bool mesos::operator== ( const UUID &  left,
const UUID &  right 
)
inline
bool mesos::operator== ( const Volume &  left,
const Volume &  right 
)
bool mesos::operator== ( const Volume::Source::CSIVolume::VolumeCapability &  left,
const Volume::Source::CSIVolume::VolumeCapability &  right 
)
bool mesos::operator== ( const ExecutorID &  left,
const ExecutorID &  right 
)
inline
bool mesos::operator== ( const FrameworkID &  left,
const FrameworkID &  right 
)
inline
bool mesos::operator== ( const FrameworkInfo &  left,
const FrameworkInfo &  right 
)
delete
bool mesos::operator== ( const OfferID &  left,
const OfferID &  right 
)
inline
bool mesos::operator== ( const OperationID &  left,
const OperationID &  right 
)
inline
bool mesos::operator== ( const ResourceProviderID &  left,
const ResourceProviderID &  right 
)
inline
bool mesos::operator== ( const SlaveID &  left,
const SlaveID &  right 
)
inline
bool mesos::operator== ( const TaskID &  left,
const TaskID &  right 
)
inline
bool mesos::operator== ( const TimeInfo &  left,
const TimeInfo &  right 
)
inline
bool mesos::operator== ( const DurationInfo &  left,
const DurationInfo &  right 
)
inline
bool mesos::operator== ( const ContainerID &  left,
const std::string &  right 
)
inline
bool mesos::operator== ( const ExecutorID &  left,
const std::string &  right 
)
inline
bool mesos::operator== ( const FrameworkID &  left,
const std::string &  right 
)
inline
bool mesos::operator== ( const OfferID &  left,
const std::string &  right 
)
inline
bool mesos::operator== ( const SlaveID &  left,
const std::string &  right 
)
inline
bool mesos::operator== ( const TaskID &  left,
const std::string &  right 
)
inline
bool mesos::operator== ( const DomainInfo::FaultDomain::RegionInfo &  left,
const DomainInfo::FaultDomain::RegionInfo &  right 
)
inline
bool mesos::operator== ( const DomainInfo::FaultDomain::ZoneInfo &  left,
const DomainInfo::FaultDomain::ZoneInfo &  right 
)
inline
bool mesos::operator== ( const DomainInfo::FaultDomain &  left,
const DomainInfo::FaultDomain &  right 
)
inline
bool mesos::operator== ( const DomainInfo &  left,
const DomainInfo &  right 
)
inline
bool mesos::operator== ( const DrainInfo &  left,
const DrainInfo &  right 
)
inline
bool mesos::operator== ( const DrainConfig &  left,
const DrainConfig &  right 
)
inline
bool mesos::operator== ( const MachineID &  left,
const MachineID &  right 
)
inline

For machines to match, both the hostname and ip must be equivalent.

Hostname is not case sensitive, so it is lowercased before comparison.

bool mesos::operator== ( const google::protobuf::RepeatedPtrField< Resource > &  left,
const Resources right 
)
inline
bool mesos::operator> ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
bool mesos::operator>= ( const Value::Scalar &  left,
const Value::Scalar &  right 
)
Resources mesos::shrinkResources ( const Resources resources,
ResourceQuantities  target 
)
Resources mesos::shrinkResources ( const Resources resources,
ResourceLimits  target 
)
void mesos::upgradeResource ( Resource *  resource)
void mesos::upgradeResources ( google::protobuf::RepeatedPtrField< Resource > *  resources)
void mesos::upgradeResources ( std::vector< Resource > *  resources)
void mesos::upgradeResources ( google::protobuf::Message *  message)
Option<Error> mesos::validateAndUpgradeResources ( Offer::Operation *  operation)

Variable Documentation

const char mesos::APPLICATION_JSON[] = "application/json"
const char mesos::APPLICATION_PROTOBUF[] = "application/x-protobuf"
const char mesos::APPLICATION_RECORDIO[] = "application/recordio"
const char mesos::MESSAGE_ACCEPT[] = "Message-Accept"
const char mesos::MESSAGE_CONTENT_TYPE[] = "Message-Content-Type"