manager

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const TimeOutSecond = 300

Variables

This section is empty.

Functions

func DeleteExecutor

func DeleteExecutor(msg util.TaskMessage)

Types

type DownstreamController

type DownstreamController struct {
	// contains filtered or unexported fields
}

func NewDownstreamController

func NewDownstreamController(messageChan chan model.Message) (*DownstreamController, error)

func (*DownstreamController) Start

func (dc *DownstreamController) Start() error

Start DownstreamController

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

func GetExecutor

func GetExecutor(msg util.TaskMessage) *Executor

func (*Executor) HandleMessage

func (e *Executor) HandleMessage(status v1alpha1.TaskStatus) error

type ExecutorMachine

type ExecutorMachine struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func GetExecutorMachine

func GetExecutorMachine() *ExecutorMachine

func NewExecutorMachine

func NewExecutorMachine(messageChan chan util.TaskMessage, downStreamChan chan model.Message) (*ExecutorMachine, error)

func (*ExecutorMachine) Start

func (em *ExecutorMachine) Start() error

Start ExecutorMachine

type UpstreamController

type UpstreamController struct {
	// contains filtered or unexported fields
}

UpstreamController subscribe messages from edge and sync to k8s api server

func NewUpstreamController

func NewUpstreamController(dc *DownstreamController) (*UpstreamController, error)

NewUpstreamController create UpstreamController from config

func (*UpstreamController) Start

func (uc *UpstreamController) Start() error

Start UpstreamController

Jump to

Keyboard shortcuts

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