Apache Mesos
Classes | Namespaces | Functions
quota.hpp File Reference
#include <string>
#include <google/protobuf/repeated_field.h>
#include <mesos/mesos.hpp>
#include <mesos/quota/quota.hpp>
#include <stout/error.hpp>
#include <stout/hashset.hpp>
#include <stout/option.hpp>
#include <stout/try.hpp>
#include "master/registrar.hpp"
#include "master/registry.hpp"

Go to the source code of this file.

Classes

class  mesos::internal::master::quota::UpdateQuota
 Sets quota for a role. More...
 
class  mesos::internal::master::quota::RemoveQuota
 Removes quota for a role. More...
 

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::master
 
 mesos::internal::master::quota
 
 mesos::internal::master::quota::validation
 

Functions

Try< mesos::quota::QuotaInfo > mesos::internal::master::quota::createQuotaInfo (const mesos::quota::QuotaRequest &request)
 Creates a QuotaInfo protobuf from the QuotaRequest protobuf. More...
 
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. More...
 
Option< Errormesos::internal::master::quota::validation::quotaInfo (const mesos::quota::QuotaInfo &quotaInfo)