discover

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: 15 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TaskError float64

TaskError exec error task number

View Source
var TaskNum float64

TaskNum exec task number

Functions

func HealthCheck

func HealthCheck() map[string]string

HealthCheck health check

Types

type TaskManager

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

TaskManager task

func NewTaskManager

func NewTaskManager(cfg option.Config,
	store store.Storer,
	controllermanager *controller.Manager,
	garbageCollector *gc.GarbageCollector,
	startCh *channels.RingChannel) *TaskManager

NewTaskManager return *TaskManager

func (*TaskManager) Do

func (t *TaskManager) Do()

Do do

func (*TaskManager) Start

func (t *TaskManager) Start() error

Start 启动

func (*TaskManager) Stop

func (t *TaskManager) Stop() error

Stop 停止

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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