rainbond: github.com/goodrain/rainbond/worker/handle Index | Files

package handle

import "github.com/goodrain/rainbond/worker/handle"


Package Files



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

ErrCallback do not handle this task

type Manager Uses

type Manager struct {
    // contains filtered or unexported fields

Manager manager

func NewManager Uses

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 Uses

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

AnalystToExec analyst exec

func (*Manager) ExecRefreshHPATask Uses

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

ExecRefreshHPATask executes a 'refresh hpa' task.

func (*Manager) ExecServiceGCTask Uses

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

ExecServiceGCTask executes the 'service_gc' task

Package handle imports 20 packages (graph) and is imported by 1 packages. Updated 2020-09-29. Refresh now. Tools for package owners.