pipeline

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteInfo

func CompleteInfo(i *Item) (err error)

CompleteInfo complete info for item

func CompleteInfoList

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

CompleteInfoList complete pipeline list info

func CompletePipelineBind

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

CompletePipelineBind complete pipeline bind info

func PipeStatus

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

PipeStatus get pipeline status by pipeline name

Types

type Info

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

Info for front display

type Item

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

Item for front display

func GetItemByName

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

GetItemByName get item by pipeline name

Jump to

Keyboard shortcuts

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