Apache Mesos
|
#include <scheduler.hpp>
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::MasterDetector > | detector |
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 | ||
) |
|
override |
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
overridevirtual |
Implements mesos::SchedulerDriver.
|
protected |