Apache Mesos
mesos::internal::tests::TestAllocator< T > Member List

This is the complete list of members for mesos::internal::tests::TestAllocator< T >, including all inherited members.

activateFramework(const FrameworkID &frameworkId)=0mesos::allocator::Allocatorpure virtual
activateSlave(const SlaveID &slaveId)=0mesos::allocator::Allocatorpure virtual
addFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo, const hashmap< SlaveID, Resources > &used, bool active,::mesos::allocator::FrameworkOptions &&options) overridemesos::internal::tests::TestAllocator< T >inline
mesos::allocator::Allocator::addFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo, const hashmap< SlaveID, Resources > &used, bool active, FrameworkOptions &&options)=0mesos::allocator::Allocatorpure virtual
addResourceProvider(const SlaveID &slave, const Resources &total, const hashmap< FrameworkID, Resources > &used)=0mesos::allocator::Allocatorpure 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)=0mesos::allocator::Allocatorpure virtual
Allocator()mesos::allocator::Allocatorinline
create(const std::string &name, const std::string &roleSorter, const std::string &frameworkSorter)mesos::allocator::Allocatorstatic
deactivateFramework(const FrameworkID &frameworkId)=0mesos::allocator::Allocatorpure virtual
deactivateSlave(const SlaveID &slaveId)=0mesos::allocator::Allocatorpure virtual
getInverseOfferStatuses()=0mesos::allocator::Allocatorpure 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)=0mesos::allocator::Allocatorpure 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()=0mesos::allocator::Allocatorpure virtual
realmesos::internal::tests::TestAllocator< T >
recover(const int expectedAgentCount, const hashmap< std::string, Quota > &quotas)=0mesos::allocator::Allocatorpure virtual
recoverResources(const FrameworkID &frameworkId, const SlaveID &slaveId, const Resources &resources, const Option< Filters > &filters, bool isAllocated)=0mesos::allocator::Allocatorpure virtual
removeFramework(const FrameworkID &frameworkId)=0mesos::allocator::Allocatorpure virtual
removeSlave(const SlaveID &slaveId)=0mesos::allocator::Allocatorpure virtual
requestResources(const FrameworkID &frameworkId, const std::vector< Request > &requests)=0mesos::allocator::Allocatorpure virtual
resume()=0mesos::allocator::Allocatorpure virtual
reviveOffers(const FrameworkID &frameworkId, const std::set< std::string > &roles)=0mesos::allocator::Allocatorpure virtual
suppressOffers(const FrameworkID &frameworkId, const std::set< std::string > &roles)=0mesos::allocator::Allocatorpure virtual
TestAllocator()mesos::internal::tests::TestAllocator< T >inline
transitionOfferedToAllocated(const SlaveID &slaveId, const Resources &resources)=0mesos::allocator::Allocatorpure virtual
updateAllocation(const FrameworkID &frameworkId, const SlaveID &slaveId, const Resources &offeredResources, const std::vector< ResourceConversion > &conversions)=0mesos::allocator::Allocatorpure virtual
updateAvailable(const SlaveID &slaveId, const std::vector< Offer::Operation > &operations)=0mesos::allocator::Allocatorpure virtual
updateFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo,::mesos::allocator::FrameworkOptions &&options) overridemesos::internal::tests::TestAllocator< T >inline
mesos::allocator::Allocator::updateFramework(const FrameworkID &frameworkId, const FrameworkInfo &frameworkInfo, FrameworkOptions &&options)=0mesos::allocator::Allocatorpure virtual
updateInverseOffer(const SlaveID &slaveId, const FrameworkID &frameworkId, const Option< UnavailableResources > &unavailableResources, const Option< InverseOfferStatus > &status, const Option< Filters > &filters=None())=0mesos::allocator::Allocatorpure virtual
updateQuota(const std::string &role, const Quota &quota)=0mesos::allocator::Allocatorpure virtual
updateSlave(const SlaveID &slave, const SlaveInfo &slaveInfo, const Option< Resources > &total=None(), const Option< std::vector< SlaveInfo::Capability >> &capabilities=None())=0mesos::allocator::Allocatorpure virtual
updateUnavailability(const SlaveID &slaveId, const Option< Unavailability > &unavailability)=0mesos::allocator::Allocatorpure virtual
updateWeights(const std::vector< WeightInfo > &weightInfos)=0mesos::allocator::Allocatorpure virtual
updateWhitelist(const Option< hashset< std::string >> &whitelist)=0mesos::allocator::Allocatorpure virtual
~Allocator()mesos::allocator::Allocatorinlinevirtual
~TestAllocator() overridemesos::internal::tests::TestAllocator< T >inline