17 #ifndef __HOOK_MANAGER_HPP__ 18 #define __HOOK_MANAGER_HPP__ 44 const TaskInfo& taskInfo,
45 const FrameworkInfo& frameworkInfo,
46 const SlaveInfo& slaveInfo);
49 const TaskInfo& taskInfo,
55 const TaskInfo& taskInfo,
56 const ExecutorInfo& executorInfo,
57 const FrameworkInfo& frameworkInfo,
58 const SlaveInfo& slaveInfo);
61 ExecutorInfo executorInfo);
66 const ExecutorInfo& executorInfo,
67 const std::string& containerName,
68 const std::string& containerWorkDirectory,
69 const std::string& mappedSandboxDirectory,
70 const Option<std::map<std::string, std::string>>& env);
73 const ContainerID& containerId,
74 const std::string& directory);
77 const FrameworkInfo& frameworkInfo,
78 const ExecutorInfo& executorInfo);
81 const FrameworkID& frameworkId,
85 const SlaveInfo& slaveInfo);
88 const SlaveInfo& slaveInfo);
94 #endif // __HOOK_MANAGER_HPP__ Definition: option.hpp:29
static Attributes slaveAttributesDecorator(const SlaveInfo &slaveInfo)
Result< ProcessStatus > status(pid_t pid)
Definition: proc.hpp:166
Definition: resources.hpp:83
static Try< Nothing > initialize(const std::string &hookList)
static Resources masterLaunchTaskResourceDecorator(const TaskInfo &taskInfo, const Resources &slaveResources)
static void masterSlaveLostHook(const SlaveInfo &slaveInfo)
static Labels masterLaunchTaskLabelDecorator(const TaskInfo &taskInfo, const FrameworkInfo &frameworkInfo, const SlaveInfo &slaveInfo)
Definition: manager.hpp:32
static void slavePostFetchHook(const ContainerID &containerId, const std::string &directory)
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)
Definition: attributes.hpp:24
static void slaveRemoveExecutorHook(const FrameworkInfo &frameworkInfo, const ExecutorInfo &executorInfo)
static Labels slaveRunTaskLabelDecorator(const TaskInfo &taskInfo, const ExecutorInfo &executorInfo, const FrameworkInfo &frameworkInfo, const SlaveInfo &slaveInfo)
static Resources slaveResourcesDecorator(const SlaveInfo &slaveInfo)
static Try< Nothing > unload(const std::string &hookName)
static Environment slaveExecutorEnvironmentDecorator(ExecutorInfo executorInfo)
static TaskStatus slaveTaskStatusDecorator(const FrameworkID &frameworkId, TaskStatus status)
static bool hooksAvailable()
Definition: future.hpp:58
Definition: attributes.hpp:32