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)
 
virtual ~MesosSchedulerDriver ()
 
virtual Status start ()
 
virtual Status stop (bool failover=false)
 
virtual Status abort ()
 
virtual Status join ()
 
virtual Status run ()
 
virtual Status requestResources (const std::vector< Request > &requests)
 
virtual Status launchTasks (const OfferID &offerId, const std::vector< TaskInfo > &tasks, const Filters &filters=Filters())
 
virtual Status launchTasks (const std::vector< OfferID > &offerIds, const std::vector< TaskInfo > &tasks, const Filters &filters=Filters())
 
virtual Status killTask (const TaskID &taskId)
 
virtual Status acceptOffers (const std::vector< OfferID > &offerIds, const std::vector< Offer::Operation > &operations, const Filters &filters=Filters())
 
virtual Status declineOffer (const OfferID &offerId, const Filters &filters=Filters())
 
virtual Status reviveOffers ()
 
virtual Status suppressOffers ()
 
virtual Status acknowledgeStatusUpdate (const TaskStatus &status)
 
virtual Status sendFrameworkMessage (const ExecutorID &executorId, const SlaveID &slaveId, const std::string &data)
 
virtual Status reconcileTasks (const std::vector< TaskStatus > &statuses)
 
- 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: