Apache Mesos
Static Public Member Functions | List of all members
mesos::internal::HookManager Class Reference

#include <manager.hpp>

Static Public Member Functions

static Try< Nothinginitialize (const std::string &hookList)
 
static Try< Nothingunload (const std::string &hookName)
 
static bool hooksAvailable ()
 
static Labels masterLaunchTaskLabelDecorator (const TaskInfo &taskInfo, const FrameworkInfo &frameworkInfo, const SlaveInfo &slaveInfo)
 
static Resources masterLaunchTaskResourceDecorator (const TaskInfo &taskInfo, const Resources &slaveResources)
 
static void masterSlaveLostHook (const SlaveInfo &slaveInfo)
 
static Labels slaveRunTaskLabelDecorator (const TaskInfo &taskInfo, const ExecutorInfo &executorInfo, const FrameworkInfo &frameworkInfo, const SlaveInfo &slaveInfo)
 
static Environment slaveExecutorEnvironmentDecorator (ExecutorInfo executorInfo)
 
static process::Future< DockerTaskExecutorPrepareInfo > slavePreLaunchDockerTaskExecutorDecorator (const Option< TaskInfo > &taskInfo, const ExecutorInfo &executorInfo, const std::string &containerName, const std::string &containerWorkDirectory, const std::string &mappedSandboxDirectory, const Option< std::map< std::string, std::string >> &env)
 
static void slavePostFetchHook (const ContainerID &containerId, const std::string &directory)
 
static void slaveRemoveExecutorHook (const FrameworkInfo &frameworkInfo, const ExecutorInfo &executorInfo)
 
static TaskStatus slaveTaskStatusDecorator (const FrameworkID &frameworkId, TaskStatus status)
 
static Resources slaveResourcesDecorator (const SlaveInfo &slaveInfo)
 
static Attributes slaveAttributesDecorator (const SlaveInfo &slaveInfo)
 

Member Function Documentation

static bool mesos::internal::HookManager::hooksAvailable ( )
static
static Try<Nothing> mesos::internal::HookManager::initialize ( const std::string &  hookList)
static
static Labels mesos::internal::HookManager::masterLaunchTaskLabelDecorator ( const TaskInfo &  taskInfo,
const FrameworkInfo &  frameworkInfo,
const SlaveInfo &  slaveInfo 
)
static
static Resources mesos::internal::HookManager::masterLaunchTaskResourceDecorator ( const TaskInfo &  taskInfo,
const Resources slaveResources 
)
static
static void mesos::internal::HookManager::masterSlaveLostHook ( const SlaveInfo &  slaveInfo)
static
static Attributes mesos::internal::HookManager::slaveAttributesDecorator ( const SlaveInfo &  slaveInfo)
static
static Environment mesos::internal::HookManager::slaveExecutorEnvironmentDecorator ( ExecutorInfo  executorInfo)
static
static void mesos::internal::HookManager::slavePostFetchHook ( const ContainerID &  containerId,
const std::string &  directory 
)
static
static process::Future<DockerTaskExecutorPrepareInfo> mesos::internal::HookManager::slavePreLaunchDockerTaskExecutorDecorator ( const Option< TaskInfo > &  taskInfo,
const ExecutorInfo &  executorInfo,
const std::string &  containerName,
const std::string &  containerWorkDirectory,
const std::string &  mappedSandboxDirectory,
const Option< std::map< std::string, std::string >> &  env 
)
static
static void mesos::internal::HookManager::slaveRemoveExecutorHook ( const FrameworkInfo &  frameworkInfo,
const ExecutorInfo &  executorInfo 
)
static
static Resources mesos::internal::HookManager::slaveResourcesDecorator ( const SlaveInfo &  slaveInfo)
static
static Labels mesos::internal::HookManager::slaveRunTaskLabelDecorator ( const TaskInfo &  taskInfo,
const ExecutorInfo &  executorInfo,
const FrameworkInfo &  frameworkInfo,
const SlaveInfo &  slaveInfo 
)
static
static TaskStatus mesos::internal::HookManager::slaveTaskStatusDecorator ( const FrameworkID &  frameworkId,
TaskStatus  status 
)
static
static Try<Nothing> mesos::internal::HookManager::unload ( const std::string &  hookName)
static

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