pipeline

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATUS_RUN        = "run"
	STATUS_STOP       = "stop"
	STATUS_STOPPING   = "stopping"
	STATUS_SCHEDULING = "scheduling"
	STATUS_SCHEDULED  = "scheduled"
	STATUS_DELETING   = "deleting"
)

Variables

This section is empty.

Functions

func CompleteInfo

func CompleteInfo(i *Item) (err error)

func CompleteInfoList

func CompleteInfoList(list []*Item) (err error)

func CompletePipelineBind

func CompletePipelineBind(i *Item, pb *scheduler.PipelineBind) (err error)

func CompletePipelineRun

func CompletePipelineRun(i *Item, pMap map[string]*pipeline.Instance) (err error)

func CompletePipelineStatus

func CompletePipelineStatus(i *Item) (err error)

func PipeStatus

func PipeStatus(name string) (status pipeline.Status, err error)

Types

type Info

type Info struct {
	BindNode *node.Node         `json:"bind_node"`
	Instance *pipeline.Instance `json:"instance"`
	Status   Status             `json:"status"`
}

type Item

type Item struct {
	Pipeline *pipeline.Pipeline `json:"pipeline"`
	Info     *Info              `json:"info"`
}

func GetItemByName

func GetItemByName(name string) (item *Item, err error)

type Status

type Status string

Jump to

Keyboard shortcuts

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