Documentation
¶
Index ¶
Constants ¶
View Source
const ( //report task status time ReportTaskStatusPeriod = 30 //seconds )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface {
//launch taskgroup
LaunchTaskgroup(*mesos.TaskGroupInfo)
//shut down
Shutdown()
//register callback function
RegisterCallbackFunc(types.CallbackFuncType, interface{})
//Get Executor status
GetExecutorStatus() types.ExecutorStatus
//reload tasks, exec reloadCmd
ReloadTasks() error
//restart tasks, exec restartCmd
RestartTasks() error
AckTaskStatusMessage(taskId string, uuid []byte)
}
Click to show internal directories.
Click to hide internal directories.