executable package - github.com/AliceO2Group/Control/executor/executable - Go Packages
Package executable provides platform-specific executable management functionality for running and controlling tasks in the executor environment.
- Constants
- type BasicTask
- func (t *BasicTask) Kill() error
- func (t *BasicTask) Launch() error
- func (t *BasicTask) Transition(cmd *executorcmd.ExecutorCommand_Transition) *controlcommands.MesosCommandResponse_Transition
- func (t *BasicTask) UnmarshalTransition(data []byte) (cmd *executorcmd.ExecutorCommand_Transition, err error)
- type CommitResponse
- type ControllableTask
- func (t *ControllableTask) Kill() error
- func (t *ControllableTask) Launch() error
- func (t *ControllableTask) Transition(cmd *executorcmd.ExecutorCommand_Transition) *controlcommands.MesosCommandResponse_Transition
- func (t *ControllableTask) UnmarshalTransition(data []byte) (cmd *executorcmd.ExecutorCommand_Transition, err error)
- type HookTask
- func (t *HookTask) Kill() error
- func (t *HookTask) Launch() error
- func (t *HookTask) Transition(cmd *executorcmd.ExecutorCommand_Transition) *controlcommands.MesosCommandResponse_Transition
- func (t *HookTask) Trigger() error
- func (t *HookTask) UnmarshalTransition(data []byte) (cmd *executorcmd.ExecutorCommand_Transition, err error)
- type SendDeviceEventFunc
- type SendMessageFunc
- type SendStatusFunc
- type Task
This section is empty.
This section is empty.
type BasicTask struct {
}
func (t *BasicTask) Kill() error
type CommitResponse struct {
}
type ControllableTask struct {
}
func (t *HookTask) Kill() error
type SendMessageFunc func(message []byte)
func NewTask(taskInfo mesos.TaskInfo, sendStatusFunc SendStatusFunc, sendDeviceEventFunc SendDeviceEventFunc, sendMessageFunc SendMessageFunc) Task