Documentation ¶
Index ¶
- type ContainerComplete
- type ContainerError
- type ControlComplete
- type ControlError
- type DashboardChanged
- type DashboardComplete
- type DashboardError
- type DashboardEvent
- type DashboardEventHandler
- type ExecutionComplete
- type ExecutionError
- type ExecutionStarted
- type InputValuesCleared
- type LeafNodeComplete
- type LeafNodeError
- type WorkspaceError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerComplete ¶
type ContainerComplete struct { Container dashboardtypes.DashboardNodeRun Session string ExecutionId string }
func (*ContainerComplete) IsDashboardEvent ¶
func (*ContainerComplete) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type ContainerError ¶
type ContainerError struct { Container dashboardtypes.DashboardNodeRun Session string ExecutionId string }
func (*ContainerError) IsDashboardEvent ¶
func (*ContainerError) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type ControlComplete ¶
type ControlComplete struct { Progress *controlstatus.ControlProgress Control controlstatus.ControlRunStatusProvider Name string Session string ExecutionId string }
func (*ControlComplete) IsDashboardEvent ¶
func (*ControlComplete) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type ControlError ¶
type ControlError struct { Control controlstatus.ControlRunStatusProvider Progress *controlstatus.ControlProgress Name string Session string ExecutionId string }
func (*ControlError) IsDashboardEvent ¶
func (*ControlError) 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 dashboardtypes.DashboardNodeRun
}
func (*DashboardComplete) IsDashboardEvent ¶
func (*DashboardComplete) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type DashboardError ¶
type DashboardError struct { Dashboard dashboardtypes.DashboardNodeRun Session string ExecutionId string }
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 { Root dashboardtypes.DashboardNodeRun Session string ExecutionId string Panels map[string]dashboardtypes.SnapshotPanel Inputs map[string]interface{} Variables map[string]string SearchPath []string StartTime time.Time EndTime time.Time }
func (*ExecutionComplete) IsDashboardEvent ¶
func (*ExecutionComplete) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type ExecutionError ¶
ExecutionError is an event which is sent if an error occusrs _before execution has started_ e.g. a failure to create the execution tree
func (*ExecutionError) IsDashboardEvent ¶
func (*ExecutionError) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type ExecutionStarted ¶
type ExecutionStarted struct { Root dashboardtypes.DashboardNodeRun `json:"dashboard"` Panels map[string]dashboardtypes.SnapshotPanel Session string ExecutionId string }
func (*ExecutionStarted) IsDashboardEvent ¶
func (*ExecutionStarted) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type InputValuesCleared ¶
func (*InputValuesCleared) IsDashboardEvent ¶
func (*InputValuesCleared) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type LeafNodeComplete ¶
type LeafNodeComplete struct { LeafNode dashboardtypes.DashboardNodeRun Session string ExecutionId string }
func (*LeafNodeComplete) IsDashboardEvent ¶
func (*LeafNodeComplete) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type LeafNodeError ¶
type LeafNodeError struct { LeafNode dashboardtypes.DashboardNodeRun Session string Error error ExecutionId string }
func (*LeafNodeError) IsDashboardEvent ¶
func (*LeafNodeError) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
type WorkspaceError ¶
type WorkspaceError struct {
Error error
}
func (*WorkspaceError) IsDashboardEvent ¶
func (*WorkspaceError) IsDashboardEvent()
IsDashboardEvent implements DashboardEvent interface
Source Files ¶
- container_complete.go
- container_error.go
- control_complete.go
- control_error.go
- dashboard_changed.go
- dashboard_complete.go
- dashboard_error.go
- dashboard_event.go
- execution_complete.go
- execution_error.go
- execution_started.go
- input_values_cleared.go
- leaf_node_complete.go
- leaf_node_error.go
- workspace_error.go