executor

package
v1.27.0-alpha.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package executor xxx

Index

Constants

View Source
const (
	// ReportTaskStatusPeriod xxx
	// report task status time
	ReportTaskStatusPeriod = 30 // seconds
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// LaunchTaskgroup xxx
	// launch taskgroup
	LaunchTaskgroup(*mesos.TaskGroupInfo)

	// Shutdown xxx
	// shut down
	Shutdown()

	// RegisterCallbackFunc xxx
	// register callback function
	RegisterCallbackFunc(types.CallbackFuncType, interface{})

	// GetExecutorStatus xxx
	// Get Executor status
	GetExecutorStatus() types.ExecutorStatus

	// ReloadTasks xxx
	// reload tasks, exec reloadCmd
	ReloadTasks() error

	// RestartTasks xxx
	// restart tasks, exec restartCmd
	RestartTasks() error

	AckTaskStatusMessage(taskId string, uuid []byte)
}

Executor xxx

func NewExecutor

func NewExecutor(cxt context.Context) Executor

NewExecutor xxx

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL