dashboardevents

package
v0.13.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerComplete

type ContainerComplete struct {
	Container dashboardinterfaces.DashboardNodeRun
	Session   string
}

func (*ContainerComplete) IsDashboardEvent

func (*ContainerComplete) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type ContainerError

type ContainerError struct {
	Container dashboardinterfaces.DashboardNodeRun
	Session   string
}

func (*ContainerError) IsDashboardEvent

func (*ContainerError) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type DashboardChanged

type DashboardChanged struct {
	ChangedDashboards  []*modconfig.DashboardTreeItemDiffs
	ChangedContainers  []*modconfig.DashboardTreeItemDiffs
	ChangedControls    []*modconfig.DashboardTreeItemDiffs
	ChangedBenchmarks  []*modconfig.DashboardTreeItemDiffs
	ChangedCards       []*modconfig.DashboardTreeItemDiffs
	ChangedCharts      []*modconfig.DashboardTreeItemDiffs
	ChangedFlows       []*modconfig.DashboardTreeItemDiffs
	ChangedHierarchies []*modconfig.DashboardTreeItemDiffs
	ChangedImages      []*modconfig.DashboardTreeItemDiffs
	ChangedInputs      []*modconfig.DashboardTreeItemDiffs
	ChangedTables      []*modconfig.DashboardTreeItemDiffs
	ChangedTexts       []*modconfig.DashboardTreeItemDiffs

	NewDashboards  []*modconfig.Dashboard
	NewContainers  []*modconfig.DashboardContainer
	NewControls    []*modconfig.Control
	NewBenchmarks  []*modconfig.Benchmark
	NewCards       []*modconfig.DashboardCard
	NewCharts      []*modconfig.DashboardChart
	NewFlows       []*modconfig.DashboardFlow
	NewHierarchies []*modconfig.DashboardHierarchy
	NewImages      []*modconfig.DashboardImage
	NewInputs      []*modconfig.DashboardInput
	NewTables      []*modconfig.DashboardTable
	NewTexts       []*modconfig.DashboardText

	DeletedDashboards  []*modconfig.Dashboard
	DeletedContainers  []*modconfig.DashboardContainer
	DeletedControls    []*modconfig.Control
	DeletedBenchmarks  []*modconfig.Benchmark
	DeletedCards       []*modconfig.DashboardCard
	DeletedCharts      []*modconfig.DashboardChart
	DeletedFlows       []*modconfig.DashboardFlow
	DeletedHierarchies []*modconfig.DashboardHierarchy
	DeletedImages      []*modconfig.DashboardImage
	DeletedInputs      []*modconfig.DashboardInput
	DeletedTables      []*modconfig.DashboardTable
	DeletedTexts       []*modconfig.DashboardText
}

func (*DashboardChanged) HasChanges

func (c *DashboardChanged) HasChanges() bool

func (*DashboardChanged) IsDashboardEvent

func (*DashboardChanged) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type DashboardComplete

type DashboardComplete struct {
	Dashboard dashboardinterfaces.DashboardNodeRun
}

func (*DashboardComplete) IsDashboardEvent

func (*DashboardComplete) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type DashboardError

type DashboardError struct {
	Dashboard dashboardinterfaces.DashboardNodeRun
}

func (*DashboardError) IsDashboardEvent

func (*DashboardError) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type DashboardEvent

type DashboardEvent interface {
	IsDashboardEvent()
}

type DashboardEventHandler

type DashboardEventHandler func(DashboardEvent)

type ExecutionComplete

type ExecutionComplete struct {
	Dashboard dashboardinterfaces.DashboardNodeRun
	Session   string
}

func (*ExecutionComplete) IsDashboardEvent

func (*ExecutionComplete) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type ExecutionError

type ExecutionError struct {
	Error   error
	Session string
}

func (*ExecutionError) IsDashboardEvent

func (*ExecutionError) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type ExecutionStarted

type ExecutionStarted struct {
	Dashboard dashboardinterfaces.DashboardNodeRun `json:"dashboard"`
	Session   string
}

func (*ExecutionStarted) IsDashboardEvent

func (*ExecutionStarted) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type InputValuesCleared

type InputValuesCleared struct {
	ClearedInputs []string
	Session       string
}

func (*InputValuesCleared) IsDashboardEvent

func (*InputValuesCleared) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type LeafNodeComplete

type LeafNodeComplete struct {
	LeafNode dashboardinterfaces.DashboardNodeRun
	Session  string
}

func (*LeafNodeComplete) IsDashboardEvent

func (*LeafNodeComplete) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type LeafNodeError

type LeafNodeError struct {
	LeafNode dashboardinterfaces.DashboardNodeRun
	Session  string
	Error    error
}

func (*LeafNodeError) IsDashboardEvent

func (*LeafNodeError) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type LeafNodeProgress

type LeafNodeProgress struct {
	LeafNode dashboardinterfaces.DashboardNodeRun
	Session  string
}

func (*LeafNodeProgress) IsDashboardEvent

func (*LeafNodeProgress) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

type WorkspaceError

type WorkspaceError struct {
	Error error
}

func (*WorkspaceError) IsDashboardEvent

func (*WorkspaceError) IsDashboardEvent()

IsDashboardEvent implements DashboardEvent interface

Jump to

Keyboard shortcuts

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