Apache Mesos
Public Member Functions | Protected Attributes | List of all members
mesos::MesosSchedulerDriver Class Reference

#include <scheduler.hpp>

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

Public Member Functions

 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 ()
 

Protected Attributes

std::shared_ptr< master::detector::MasterDetectordetector
 

Constructor & Destructor Documentation

mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master,
const Credential &  credential 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master,
bool  implicitAcknowledgements 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::string &  master,
bool  implicitAcknowlegements,
const Credential &  credential 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::vector< std::string > &  suppressedRoles,
const std::string &  master,
bool  implicitAcknowledgements 
)
mesos::MesosSchedulerDriver::MesosSchedulerDriver ( Scheduler scheduler,
const FrameworkInfo &  framework,
const std::vector< std::string > &  suppressedRoles,
const std::string &  master,
bool  implicitAcknowlegements,
const Credential &  credential 
)
mesos::MesosSchedulerDriver::~MesosSchedulerDriver ( )
override

Member Function Documentation

Status mesos::MesosSchedulerDriver::abort ( )
overridevirtual
Status mesos::MesosSchedulerDriver::acceptOffers ( const std::vector< OfferID > &  offerIds,
const std::vector< Offer::Operation > &  operations,
const Filters &  filters = Filters() 
)
overridevirtual
Status mesos::MesosSchedulerDriver::acknowledgeStatusUpdate ( const TaskStatus &  status)
overridevirtual
Status mesos::MesosSchedulerDriver::declineOffer ( const OfferID &  offerId,
const Filters &  filters = Filters() 
)
overridevirtual
Status mesos::MesosSchedulerDriver::join ( )
overridevirtual
Status mesos::MesosSchedulerDriver::killTask ( const TaskID &  taskId)
overridevirtual
Status mesos::MesosSchedulerDriver::launchTasks ( const OfferID &  offerId,
const std::vector< TaskInfo > &  tasks,
const Filters &  filters = Filters() 
)
overridevirtual
Status mesos::MesosSchedulerDriver::launchTasks ( const std::vector< OfferID > &  offerIds,
const std::vector< TaskInfo > &  tasks,
const Filters &  filters = Filters() 
)
overridevirtual
Status mesos::MesosSchedulerDriver::reconcileTasks ( const std::vector< TaskStatus > &  statuses)
overridevirtual
Status mesos::MesosSchedulerDriver::requestResources ( const std::vector< Request > &  requests)
overridevirtual
Status mesos::MesosSchedulerDriver::reviveOffers ( )
overridevirtual
Status mesos::MesosSchedulerDriver::reviveOffers ( const std::vector< std::string > &  roles)
overridevirtual
Status mesos::MesosSchedulerDriver::run ( )
overridevirtual
Status mesos::MesosSchedulerDriver::sendFrameworkMessage ( const ExecutorID &  executorId,
const SlaveID &  slaveId,
const std::string &  data 
)
overridevirtual
Status mesos::MesosSchedulerDriver::start ( )
overridevirtual
Status mesos::MesosSchedulerDriver::stop ( bool  failover = false)
overridevirtual
Status mesos::MesosSchedulerDriver::suppressOffers ( )
overridevirtual
Status mesos::MesosSchedulerDriver::suppressOffers ( const std::vector< std::string > &  roles)
overridevirtual
Status mesos::MesosSchedulerDriver::updateFramework ( const FrameworkInfo &  frameworkInfo,
const std::vector< std::string > &  suppressedRoles,
::mesos::scheduler::OfferConstraints &&  offerConstraints 
)
overridevirtual

Member Data Documentation

std::shared_ptr<master::detector::MasterDetector> mesos::MesosSchedulerDriver::detector
protected

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