Apache Mesos
|
This is the complete list of members for mesos::internal::tests::TestAllocator< T >, including all inherited members.
activateFramework(const FrameworkID &frameworkId)=0 | mesos::allocator::Allocator | pure virtual |
activateSlave(const SlaveID &slaveId)=0 | mesos::allocator::Allocator | pure virtual |
addFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo, const hashmap< SlaveID, Resources > &used, bool active,::mesos::allocator::FrameworkOptions &&options) override | mesos::internal::tests::TestAllocator< T > | inline |
mesos::allocator::Allocator::addFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo, const hashmap< SlaveID, Resources > &used, bool active, FrameworkOptions &&options)=0 | mesos::allocator::Allocator | pure virtual |
addResourceProvider(const SlaveID &slave, const Resources &total, const hashmap< FrameworkID, Resources > &used)=0 | mesos::allocator::Allocator | pure virtual |
addSlave(const SlaveID &slaveId, const SlaveInfo &slaveInfo, const std::vector< SlaveInfo::Capability > &capabilities, const Option< Unavailability > &unavailability, const Resources &total, const hashmap< FrameworkID, Resources > &used)=0 | mesos::allocator::Allocator | pure virtual |
Allocator() | mesos::allocator::Allocator | inline |
create(const std::string &name, const std::string &roleSorter, const std::string &frameworkSorter) | mesos::allocator::Allocator | static |
deactivateFramework(const FrameworkID &frameworkId)=0 | mesos::allocator::Allocator | pure virtual |
deactivateSlave(const SlaveID &slaveId)=0 | mesos::allocator::Allocator | pure virtual |
getInverseOfferStatuses()=0 | mesos::allocator::Allocator | pure virtual |
initialize(const Options &options, const lambda::function< void(const FrameworkID &, const hashmap< std::string, hashmap< SlaveID, Resources >> &)> &offerCallback, const lambda::function< void(const FrameworkID &, const hashmap< SlaveID, UnavailableResources > &)> &inverseOfferCallback)=0 | mesos::allocator::Allocator | pure virtual |
MOCK_METHOD0(getInverseOfferStatuses, process::Future< hashmap< SlaveID, hashmap< FrameworkID, mesos::allocator::InverseOfferStatus >>>()) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD0(pause, void()) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD0(resume, void()) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(removeFramework, void(const FrameworkID &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(activateFramework, void(const FrameworkID &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(deactivateFramework, void(const FrameworkID &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(removeSlave, void(const SlaveID &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(activateSlave, void(const SlaveID &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(deactivateSlave, void(const SlaveID &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(updateWhitelist, void(const Option< hashset< std::string >> &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD1(updateWeights, void(const std::vector< WeightInfo > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(recover, void(const int expectedAgentCount, const hashmap< std::string, Quota > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(requestResources, void(const FrameworkID &, const std::vector< Request > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(updateAvailable, process::Future< Nothing >(const SlaveID &, const std::vector< Offer::Operation > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(updateUnavailability, void(const SlaveID &, const Option< Unavailability > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(transitionOfferedToAllocated, void(const SlaveID &, const Resources &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(suppressOffers, void(const FrameworkID &, const std::set< std::string > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(reviveOffers, void(const FrameworkID &, const std::set< std::string > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD2(updateQuota, void(const std::string &, const Quota &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD3(initialize, void(const Options &options, const lambda::function< void(const FrameworkID &, const hashmap< std::string, hashmap< SlaveID, Resources >> &)> &, const lambda::function< void(const FrameworkID &, const hashmap< SlaveID, UnavailableResources > &)> &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD3(updateFramework_, void(const FrameworkID &, const FrameworkInfo &,::mesos::allocator::FrameworkOptions &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD3(addResourceProvider, void(const SlaveID &, const Resources &, const hashmap< FrameworkID, Resources > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD4(updateSlave, void(const SlaveID &, const SlaveInfo &, const Option< Resources > &, const Option< std::vector< SlaveInfo::Capability >> &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD4(updateAllocation, void(const FrameworkID &, const SlaveID &, const Resources &, const std::vector< ResourceConversion > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD5(addFramework_, void(const FrameworkID &, const FrameworkInfo &, const hashmap< SlaveID, Resources > &, bool active,::mesos::allocator::FrameworkOptions &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD5(updateInverseOffer, void(const SlaveID &, const FrameworkID &, const Option< UnavailableResources > &, const Option< mesos::allocator::InverseOfferStatus > &, const Option< Filters > &)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD5(recoverResources, void(const FrameworkID &, const SlaveID &, const Resources &, const Option< Filters > &filters, bool isAllocated)) | mesos::internal::tests::TestAllocator< T > | |
MOCK_METHOD6(addSlave, void(const SlaveID &, const SlaveInfo &, const std::vector< SlaveInfo::Capability > &, const Option< Unavailability > &, const Resources &, const hashmap< FrameworkID, Resources > &)) | mesos::internal::tests::TestAllocator< T > | |
pause()=0 | mesos::allocator::Allocator | pure virtual |
real | mesos::internal::tests::TestAllocator< T > | |
recover(const int expectedAgentCount, const hashmap< std::string, Quota > "as)=0 | mesos::allocator::Allocator | pure virtual |
recoverResources(const FrameworkID &frameworkId, const SlaveID &slaveId, const Resources &resources, const Option< Filters > &filters, bool isAllocated)=0 | mesos::allocator::Allocator | pure virtual |
removeFramework(const FrameworkID &frameworkId)=0 | mesos::allocator::Allocator | pure virtual |
removeSlave(const SlaveID &slaveId)=0 | mesos::allocator::Allocator | pure virtual |
requestResources(const FrameworkID &frameworkId, const std::vector< Request > &requests)=0 | mesos::allocator::Allocator | pure virtual |
resume()=0 | mesos::allocator::Allocator | pure virtual |
reviveOffers(const FrameworkID &frameworkId, const std::set< std::string > &roles)=0 | mesos::allocator::Allocator | pure virtual |
suppressOffers(const FrameworkID &frameworkId, const std::set< std::string > &roles)=0 | mesos::allocator::Allocator | pure virtual |
TestAllocator() | mesos::internal::tests::TestAllocator< T > | inline |
transitionOfferedToAllocated(const SlaveID &slaveId, const Resources &resources)=0 | mesos::allocator::Allocator | pure virtual |
updateAllocation(const FrameworkID &frameworkId, const SlaveID &slaveId, const Resources &offeredResources, const std::vector< ResourceConversion > &conversions)=0 | mesos::allocator::Allocator | pure virtual |
updateAvailable(const SlaveID &slaveId, const std::vector< Offer::Operation > &operations)=0 | mesos::allocator::Allocator | pure virtual |
updateFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo,::mesos::allocator::FrameworkOptions &&options) override | mesos::internal::tests::TestAllocator< T > | inline |
mesos::allocator::Allocator::updateFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo, FrameworkOptions &&options)=0 | mesos::allocator::Allocator | pure virtual |
updateInverseOffer(const SlaveID &slaveId, const FrameworkID &frameworkId, const Option< UnavailableResources > &unavailableResources, const Option< InverseOfferStatus > &status, const Option< Filters > &filters=None())=0 | mesos::allocator::Allocator | pure virtual |
updateQuota(const std::string &role, const Quota "a)=0 | mesos::allocator::Allocator | pure virtual |
updateSlave(const SlaveID &slave, const SlaveInfo &slaveInfo, const Option< Resources > &total=None(), const Option< std::vector< SlaveInfo::Capability >> &capabilities=None())=0 | mesos::allocator::Allocator | pure virtual |
updateUnavailability(const SlaveID &slaveId, const Option< Unavailability > &unavailability)=0 | mesos::allocator::Allocator | pure virtual |
updateWeights(const std::vector< WeightInfo > &weightInfos)=0 | mesos::allocator::Allocator | pure virtual |
updateWhitelist(const Option< hashset< std::string >> &whitelist)=0 | mesos::allocator::Allocator | pure virtual |
~Allocator() | mesos::allocator::Allocator | inlinevirtual |
~TestAllocator() override | mesos::internal::tests::TestAllocator< T > | inline |