|
Apache Mesos
|
#include <allocator.hpp>
Classes | |
| struct | Options |
Public Member Functions | |
| OfferConstraintsFilter () | |
| OfferConstraintsFilter (OfferConstraintsFilter &&) | |
| OfferConstraintsFilter & | operator= (OfferConstraintsFilter &&) |
| ~OfferConstraintsFilter () | |
| bool | isAgentExcluded (const std::string &role, const SlaveInfo &agentInfo) const |
Returns true if the allocator is allowed to offer resoureces on the agent to the framework's role, and false otherwise. More... | |
Static Public Member Functions | |
| static Try< OfferConstraintsFilter > | create (const Options &options, scheduler::OfferConstraints &&constraints) |
| mesos::allocator::OfferConstraintsFilter::OfferConstraintsFilter | ( | ) |
| mesos::allocator::OfferConstraintsFilter::OfferConstraintsFilter | ( | OfferConstraintsFilter && | ) |
| mesos::allocator::OfferConstraintsFilter::~OfferConstraintsFilter | ( | ) |
|
static |
| bool mesos::allocator::OfferConstraintsFilter::isAgentExcluded | ( | const std::string & | role, |
| const SlaveInfo & | agentInfo | ||
| ) | const |
Returns true if the allocator is allowed to offer resoureces on the agent to the framework's role, and false otherwise.
| OfferConstraintsFilter& mesos::allocator::OfferConstraintsFilter::operator= | ( | OfferConstraintsFilter && | ) |
1.8.11