schedule

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PinkScheduler

type PinkScheduler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewPinkScheduler

func NewPinkScheduler(etcdCli *etcd.Cli, eventBus *bus.EventBus, pinkExecutor *executor.PinkExecutor) *PinkScheduler

func (*PinkScheduler) GetAllSchedulePlan

func (sch *PinkScheduler) GetAllSchedulePlan() []*protocol.SchedulePlan

get add schedule plan

func (*PinkScheduler) PushJobChangeEvent

func (sch *PinkScheduler) PushJobChangeEvent(event *protocol.JobChangeEvent)

push job change event

Jump to

Keyboard shortcuts

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