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

Source Files