etcd

package
v0.0.0-...-beee254 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkerMgr

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

/cron/workers/

var EtcdWorkerMgr *WorkerMgr

func (*WorkerMgr) ListJobs

func (jobMgr *WorkerMgr) ListJobs() (jobList []*common.Job, err error)

列举任务

func (*WorkerMgr) SaveJob

func (jobMgr *WorkerMgr) SaveJob(job *common.Job) (oldJob *common.Job, err error)

保存Job

Jump to

Keyboard shortcuts

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