scheduler

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineBind

type PipelineBind struct {
	Bindings map[string]string `json:"bindings"`
}

PipelineBind pipeline bind the node will watch pipeline bind, run pipeline instance if node get the bind, stop instance if node lost bind

func EmptyPipelineBind

func EmptyPipelineBind() *PipelineBind

EmptyPipelineBind returns a empty pipeline bind

func (*PipelineBind) Key

func (s *PipelineBind) Key() (key string)

Key generate etcd prefix of pipeline bind

func (*PipelineBind) Unmarshal

func (s *PipelineBind) Unmarshal(val []byte) (err error)

Unmarshal generate pipeline bind from json data

func (*PipelineBind) Val

func (s *PipelineBind) Val() (val string)

Val marshal pipeline bind to json data

Jump to

Keyboard shortcuts

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