executor

package
v1.29.0-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 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