Apache Mesos
Public Member Functions | List of all members
mesos::internal::tests::TestingMesosSchedulerDriver Class Reference

#include <mesos.hpp>

Inheritance diagram for mesos::internal::tests::TestingMesosSchedulerDriver:
mesos::MesosSchedulerDriver mesos::SchedulerDriver

Public Member Functions

 TestingMesosSchedulerDriver (Scheduler *scheduler, mesos::master::detector::MasterDetector *_detector)
 
 TestingMesosSchedulerDriver (Scheduler *scheduler, mesos::master::detector::MasterDetector *_detector, const FrameworkInfo &framework, bool implicitAcknowledgements=true)
 
 TestingMesosSchedulerDriver (Scheduler *scheduler, mesos::master::detector::MasterDetector *_detector, const FrameworkInfo &framework, bool implicitAcknowledgements, const Credential &credential)
 
- Public Member Functions inherited from mesos::MesosSchedulerDriver
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master, const Credential &credential)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master, bool implicitAcknowledgements)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::string &master, bool implicitAcknowlegements, const Credential &credential)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::vector< std::string > &suppressedRoles, const std::string &master, bool implicitAcknowledgements)
 
 MesosSchedulerDriver (Scheduler *scheduler, const FrameworkInfo &framework, const std::vector< std::string > &suppressedRoles, const std::string &master, bool implicitAcknowlegements, const Credential &credential)
 
 ~MesosSchedulerDriver () override
 
Status start () override
 
Status stop (bool failover=false) override
 
Status abort () override
 
Status join () override
 
Status run () override
 
Status requestResources (const std::vector< Request > &requests) override
 
Status launchTasks (const OfferID &offerId, const std::vector< TaskInfo > &tasks, const Filters &filters=Filters()) override
 
Status launchTasks (const std::vector< OfferID > &offerIds, const std::vector< TaskInfo > &tasks, const Filters &filters=Filters()) override
 
Status killTask (const TaskID &taskId) override
 
Status acceptOffers (const std::vector< OfferID > &offerIds, const std::vector< Offer::Operation > &operations, const Filters &filters=Filters()) override
 
Status declineOffer (const OfferID &offerId, const Filters &filters=Filters()) override
 
Status reviveOffers () override
 
Status reviveOffers (const std::vector< std::string > &roles) override
 
Status suppressOffers () override
 
Status suppressOffers (const std::vector< std::string > &roles) override
 
Status acknowledgeStatusUpdate (const TaskStatus &status) override
 
Status sendFrameworkMessage (const ExecutorID &executorId, const SlaveID &slaveId, const std::string &data) override
 
Status reconcileTasks (const std::vector< TaskStatus > &statuses) override
 
Status updateFramework (const FrameworkInfo &frameworkInfo, const std::vector< std::string > &suppressedRoles,::mesos::scheduler::OfferConstraints &&offerConstraints) override
 
- Public Member Functions inherited from mesos::SchedulerDriver
virtual ~SchedulerDriver ()
 

Additional Inherited Members

- Protected Attributes inherited from mesos::MesosSchedulerDriver
std::shared_ptr< master::detector::MasterDetectordetector
 

Constructor & Destructor Documentation

mesos::internal::tests::TestingMesosSchedulerDriver::TestingMesosSchedulerDriver ( Scheduler scheduler,
mesos::master::detector::MasterDetector _detector 
)
inline
mesos::internal::tests::TestingMesosSchedulerDriver::TestingMesosSchedulerDriver ( Scheduler scheduler,
mesos::master::detector::MasterDetector _detector,
const FrameworkInfo &  framework,
bool  implicitAcknowledgements = true 
)
inline
mesos::internal::tests::TestingMesosSchedulerDriver::TestingMesosSchedulerDriver ( Scheduler scheduler,
mesos::master::detector::MasterDetector _detector,
const FrameworkInfo &  framework,
bool  implicitAcknowledgements,
const Credential &  credential 
)
inline

The documentation for this class was generated from the following file: