executor

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PinkClient

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

func NewPinkClient

func NewPinkClient(name, path string) *PinkClient

type PinkExecutor

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

func NewPinkExecutor

func NewPinkExecutor(etcdCli *etcd.Cli, eventBus *bus.EventBus, groupManaged *PinkGroupManaged, collector *collector.PinkCollector) *PinkExecutor

func (*PinkExecutor) PushExecutePlan

func (pe *PinkExecutor) PushExecutePlan(snapshot *protocol.SchedulePlanSnapshot)

type PinkGroup

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

func NewPinkGroup

func NewPinkGroup(name, path string, cli *etcd.Cli) *PinkGroup

new a pink group

type PinkGroupManaged

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

func NewPinkGroupManaged

func NewPinkGroupManaged(cli *etcd.Cli) *PinkGroupManaged

func (*PinkGroupManaged) UnParkPinkClient

func (managed *PinkGroupManaged) UnParkPinkClient(name string) (string, error)

Jump to

Keyboard shortcuts

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