dashboardinterfaces

package
v0.14.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DashboardRunReady    DashboardRunStatus = "ready"
	DashboardRunBlocked                     = "blocked"
	DashboardRunComplete                    = "complete"
	DashboardRunError                       = "error"
)

TODO [report] think about status - do we need in progress

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardNodeParent

type DashboardNodeParent interface {
	GetName() string
	ChildCompleteChan() chan DashboardNodeRun
}

type DashboardNodeRun

type DashboardNodeRun interface {
	Initialise(ctx context.Context)
	Execute(ctx context.Context)
	GetName() string
	GetRunStatus() DashboardRunStatus
	SetError(err error)
	GetError() error
	SetComplete()
	RunComplete() bool
	ChildrenComplete() bool
	GetInputsDependingOn(changedInputName string) []string
}

type DashboardRunStatus

type DashboardRunStatus string

Jump to

Keyboard shortcuts

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