Documentation ¶
Index ¶
- type Executor
- func (e *Executor) Disconnected(executor.ExecutorDriver)
- func (e *Executor) Error(executor.ExecutorDriver, string)
- func (e *Executor) FrameworkMessage(executor.ExecutorDriver, string)
- func (e *Executor) KillTask(executor.ExecutorDriver, *mesosproto.TaskID)
- func (e *Executor) LaunchTask(executor.ExecutorDriver, *mesosproto.TaskInfo)
- func (e *Executor) Registered(executor.ExecutorDriver, *mesosproto.ExecutorInfo, *mesosproto.FrameworkInfo, ...)
- func (e *Executor) Reregistered(executor.ExecutorDriver, *mesosproto.SlaveInfo)
- func (e *Executor) Shutdown(executor.ExecutorDriver)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
Executor is used for testing the executor driver.
func (*Executor) Disconnected ¶
func (e *Executor) Disconnected(executor.ExecutorDriver)
Disconnected implements the Disconnected handler.
func (*Executor) Error ¶
func (e *Executor) Error(executor.ExecutorDriver, string)
Error implements the Error handler.
func (*Executor) FrameworkMessage ¶
func (e *Executor) FrameworkMessage(executor.ExecutorDriver, string)
FrameworkMessage implements the FrameworkMessage handler.
func (*Executor) KillTask ¶
func (e *Executor) KillTask(executor.ExecutorDriver, *mesosproto.TaskID)
KillTask implements the KillTask handler.
func (*Executor) LaunchTask ¶
func (e *Executor) LaunchTask(executor.ExecutorDriver, *mesosproto.TaskInfo)
LaunchTask implements the LaunchTask handler.
func (*Executor) Registered ¶
func (e *Executor) Registered(executor.ExecutorDriver, *mesosproto.ExecutorInfo, *mesosproto.FrameworkInfo, *mesosproto.SlaveInfo)
Registered implements the Registered handler.
func (*Executor) Reregistered ¶
func (e *Executor) Reregistered(executor.ExecutorDriver, *mesosproto.SlaveInfo)
Reregistered implements the Reregistered handler.
func (*Executor) Shutdown ¶
func (e *Executor) Shutdown(executor.ExecutorDriver)
Shutdown implements the Shutdown handler.
Click to show internal directories.
Click to hide internal directories.