handle

package
v5.1.10-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: LGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCallback = fmt.Errorf("callback task to mq")

ErrCallback do not handle this task

Functions

This section is empty.

Types

type Manager

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

Manager manager

func NewManager

func NewManager(ctx context.Context,
	config option.Config,
	store store.Storer,
	controllerManager *controller.Manager,
	garbageCollector *gc.GarbageCollector,
	startCh *channels.RingChannel) *Manager

NewManager now handle

func (*Manager) AnalystToExec

func (m *Manager) AnalystToExec(task *model.Task) error

AnalystToExec analyst exec

func (*Manager) ExecRefreshHPATask

func (m *Manager) ExecRefreshHPATask(task *model.Task) error

ExecRefreshHPATask executes a 'refresh hpa' task.

func (*Manager) ExecServiceGCTask

func (m *Manager) ExecServiceGCTask(task *model.Task) error

ExecServiceGCTask executes the 'service_gc' task

Jump to

Keyboard shortcuts

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