Apache Mesos
Namespaces | Classes | Functions
mesos::internal::master::quota Namespace Reference

Namespaces

 validation
 

Classes

class  UpdateQuota
 Sets quota for a role. More...
 
class  RemoveQuota
 Removes quota for a role. More...
 

Functions

Try< mesos::quota::QuotaInfo > createQuotaInfo (const mesos::quota::QuotaRequest &request)
 Creates a QuotaInfo protobuf from the QuotaRequest protobuf. More...
 
Try< mesos::quota::QuotaInfo > createQuotaInfo (const std::string &role, const google::protobuf::RepeatedPtrField< Resource > &resources)
 Creates a QuotaInfo protobuf from its components. More...
 

Function Documentation

Try<mesos::quota::QuotaInfo> mesos::internal::master::quota::createQuotaInfo ( const mesos::quota::QuotaRequest &  request)

Creates a QuotaInfo protobuf from the QuotaRequest protobuf.

Try<mesos::quota::QuotaInfo> mesos::internal::master::quota::createQuotaInfo ( const std::string &  role,
const google::protobuf::RepeatedPtrField< Resource > &  resources 
)

Creates a QuotaInfo protobuf from its components.