discover

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: LGPL-3.0 Imports: 15 Imported by: 0

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) *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