Apache Mesos
Public Member Functions | List of all members
mesos::internal::docker::DockerExecutor Class Reference

#include <executor.hpp>

Inheritance diagram for mesos::internal::docker::DockerExecutor:
mesos::Executor

Public Member Functions

 DockerExecutor (const process::Owned< Docker > &docker, const std::string &container, const std::string &sandboxDirectory, const std::string &mappedDirectory, const Duration &shutdownGracePeriod, const std::string &launcherDir, const std::map< std::string, std::string > &taskEnvironment, const Option< ContainerDNSInfo > &defaultContainerDNS, bool cgroupsEnableCfs)
 
 ~DockerExecutor () override
 
void registered (ExecutorDriver *driver, const ExecutorInfo &executorInfo, const FrameworkInfo &frameworkInfo, const SlaveInfo &slaveInfo) override
 
void reregistered (ExecutorDriver *driver, const SlaveInfo &slaveInfo) override
 
void disconnected (ExecutorDriver *driver) override
 
void launchTask (ExecutorDriver *driver, const TaskInfo &task) override
 
void killTask (ExecutorDriver *driver, const TaskID &taskId) override
 
void frameworkMessage (ExecutorDriver *driver, const std::string &data) override
 
void shutdown (ExecutorDriver *driver) override
 
void error (ExecutorDriver *driver, const std::string &data) override
 
void killTask (ExecutorDriver *driver, const TaskID &taskId, const Option< KillPolicy > &killPolicyOverride)
 
- Public Member Functions inherited from mesos::Executor
virtual ~Executor ()
 

Constructor & Destructor Documentation

mesos::internal::docker::DockerExecutor::DockerExecutor ( const process::Owned< Docker > &  docker,
const std::string &  container,
const std::string &  sandboxDirectory,
const std::string &  mappedDirectory,
const Duration shutdownGracePeriod,
const std::string &  launcherDir,
const std::map< std::string, std::string > &  taskEnvironment,
const Option< ContainerDNSInfo > &  defaultContainerDNS,
bool  cgroupsEnableCfs 
)
mesos::internal::docker::DockerExecutor::~DockerExecutor ( )
override

Member Function Documentation

void mesos::internal::docker::DockerExecutor::disconnected ( ExecutorDriver driver)
overridevirtual

Implements mesos::Executor.

void mesos::internal::docker::DockerExecutor::error ( ExecutorDriver driver,
const std::string &  data 
)
overridevirtual

Implements mesos::Executor.

void mesos::internal::docker::DockerExecutor::frameworkMessage ( ExecutorDriver driver,
const std::string &  data 
)
overridevirtual

Implements mesos::Executor.

void mesos::internal::docker::DockerExecutor::killTask ( ExecutorDriver driver,
const TaskID &  taskId 
)
overridevirtual

Implements mesos::Executor.

void mesos::internal::docker::DockerExecutor::killTask ( ExecutorDriver driver,
const TaskID &  taskId,
const Option< KillPolicy > &  killPolicyOverride 
)
void mesos::internal::docker::DockerExecutor::launchTask ( ExecutorDriver driver,
const TaskInfo &  task 
)
overridevirtual

Implements mesos::Executor.

void mesos::internal::docker::DockerExecutor::registered ( ExecutorDriver driver,
const ExecutorInfo &  executorInfo,
const FrameworkInfo &  frameworkInfo,
const SlaveInfo &  slaveInfo 
)
overridevirtual

Implements mesos::Executor.

void mesos::internal::docker::DockerExecutor::reregistered ( ExecutorDriver driver,
const SlaveInfo &  slaveInfo 
)
overridevirtual

Implements mesos::Executor.

void mesos::internal::docker::DockerExecutor::shutdown ( ExecutorDriver driver)
overridevirtual

Implements mesos::Executor.


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