rainbond: github.com/goodrain/rainbond/worker/discover Index | Files | Directories

package discover

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

Index

Package Files

manager.go

Variables

var TaskError float64

TaskError exec error task number

var TaskNum float64

TaskNum exec task number

func HealthCheck Uses

func HealthCheck() map[string]string

HealthCheck health check

type TaskManager Uses

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

TaskManager task

func NewTaskManager Uses

func NewTaskManager(c option.Config,
    store store.Storer,
    controllermanager *controller.Manager,
    startCh *channels.RingChannel) *TaskManager

NewTaskManager return *TaskManager

func (*TaskManager) Do Uses

func (t *TaskManager) Do()

Do do

func (*TaskManager) Start Uses

func (t *TaskManager) Start() error

Start 启动

func (*TaskManager) Stop Uses

func (t *TaskManager) Stop() error

Stop 停止

Directories

PathSynopsis
model

Package discover imports 14 packages (graph) and is imported by 3 packages. Updated 2019-04-18. Refresh now. Tools for package owners.