Documentation ¶
Index ¶
- Variables
- func ExecutionCompleteToSnapshot(event *dashboardevents.ExecutionComplete) *dashboardtypes.SteampipeSnapshot
- func GenerateSnapshot(ctx context.Context, target string, initData *initialisation.InitData, ...) (snapshot *dashboardtypes.SteampipeSnapshot, err error)
- func GetReferencedVariables(root dashboardtypes.DashboardTreeRun, w *workspace.Workspace) map[string]string
- type CheckRun
- func (r *CheckRun) AsTreeNode() *dashboardtypes.SnapshotTreeNode
- func (r *CheckRun) BuildSnapshotPanels(leafNodeMap map[string]dashboardtypes.SnapshotPanel) map[string]dashboardtypes.SnapshotPanel
- func (r *CheckRun) ChildrenComplete() bool
- func (r *CheckRun) Execute(ctx context.Context)
- func (r *CheckRun) GetRunStatus() dashboardtypes.DashboardRunStatus
- func (r *CheckRun) GetTitle() string
- func (r *CheckRun) Initialise(ctx context.Context)
- func (*CheckRun) IsSnapshotPanel()
- func (r *CheckRun) SetComplete(ctx context.Context)
- func (r *CheckRun) SetError(ctx context.Context, err error)
- type DashboardContainerRun
- func (r *DashboardContainerRun) AsTreeNode() *dashboardtypes.SnapshotTreeNode
- func (r *DashboardContainerRun) Execute(ctx context.Context)
- func (r *DashboardContainerRun) Initialise(ctx context.Context)
- func (*DashboardContainerRun) IsSnapshotPanel()
- func (r *DashboardContainerRun) SetComplete(context.Context)
- func (r *DashboardContainerRun) SetError(_ context.Context, err error)
- type DashboardEventControlHooks
- func (c *DashboardEventControlHooks) OnComplete(ctx context.Context, _ *controlstatus.ControlProgress)
- func (c *DashboardEventControlHooks) OnControlComplete(ctx context.Context, controlRun controlstatus.ControlRunStatusProvider, ...)
- func (c *DashboardEventControlHooks) OnControlError(ctx context.Context, controlRun controlstatus.ControlRunStatusProvider, ...)
- func (c *DashboardEventControlHooks) OnControlStart(context.Context, controlstatus.ControlRunStatusProvider, ...)
- func (c *DashboardEventControlHooks) OnStart(ctx context.Context, _ *controlstatus.ControlProgress)
- type DashboardExecutionTree
- func (e *DashboardExecutionTree) AsTreeNode() *dashboardtypes.SnapshotTreeNode
- func (e *DashboardExecutionTree) BuildSnapshotPanels() map[string]dashboardtypes.SnapshotPanel
- func (e *DashboardExecutionTree) Cancel()
- func (e *DashboardExecutionTree) ChildCompleteChan() chan dashboardtypes.DashboardTreeRun
- func (e *DashboardExecutionTree) ChildrenComplete() bool
- func (e *DashboardExecutionTree) Execute(ctx context.Context)
- func (e *DashboardExecutionTree) GetChildren() []dashboardtypes.DashboardTreeRun
- func (e *DashboardExecutionTree) GetError() error
- func (e *DashboardExecutionTree) GetInputsDependingOn(s string) []string
- func (e *DashboardExecutionTree) GetName() string
- func (*DashboardExecutionTree) GetNodeType() string
- func (e *DashboardExecutionTree) GetParent() dashboardtypes.DashboardParent
- func (e *DashboardExecutionTree) GetRunStatus() dashboardtypes.DashboardRunStatus
- func (e *DashboardExecutionTree) GetTitle() string
- func (e *DashboardExecutionTree) Initialise(ctx context.Context)
- func (e *DashboardExecutionTree) InputRuntimeDependencies() []string
- func (e *DashboardExecutionTree) RunComplete() bool
- func (e *DashboardExecutionTree) SetComplete(ctx context.Context)
- func (e *DashboardExecutionTree) SetError(ctx context.Context, err error)
- func (e *DashboardExecutionTree) SetInputValues(inputValues map[string]any)
- type DashboardExecutor
- func (e *DashboardExecutor) CancelExecutionForSession(_ context.Context, sessionId string)
- func (e *DashboardExecutor) ExecuteDashboard(ctx context.Context, sessionId, dashboardName string, inputs map[string]any, ...) (err error)
- func (e *DashboardExecutor) LoadSnapshot(ctx context.Context, sessionId, snapshotName string, w *workspace.Workspace) (map[string]any, error)
- func (e *DashboardExecutor) OnInputChanged(ctx context.Context, sessionId string, inputs map[string]any, ...) error
- type DashboardParentImpl
- type DashboardRun
- func (r *DashboardRun) AsTreeNode() *dashboardtypes.SnapshotTreeNode
- func (r *DashboardRun) Execute(ctx context.Context)
- func (r *DashboardRun) GetInput(name string) (*modconfig.DashboardInput, bool)
- func (r *DashboardRun) GetInputsDependingOn(changedInputName string) []string
- func (r *DashboardRun) Initialise(ctx context.Context)
- func (*DashboardRun) IsSnapshotPanel()
- func (r *DashboardRun) SetComplete(context.Context)
- func (r *DashboardRun) SetError(_ context.Context, err error)
- type DashboardTreeRunImpl
- func (r *DashboardTreeRunImpl) GetError() error
- func (r *DashboardTreeRunImpl) GetInputsDependingOn(_ string) []string
- func (r *DashboardTreeRunImpl) GetName() string
- func (r *DashboardTreeRunImpl) GetNodeType() string
- func (r *DashboardTreeRunImpl) GetParent() dashboardtypes.DashboardParent
- func (r *DashboardTreeRunImpl) GetRunStatus() dashboardtypes.DashboardRunStatus
- func (r *DashboardTreeRunImpl) GetTitle() string
- func (r *DashboardTreeRunImpl) RunComplete() bool
- type LeafRun
- type RuntimeDependencyPublishOption
- type RuntimeDependencyPublishTarget
- type RuntimeDependencyPublisher
- type RuntimeDependencyPublisherImpl
- func (b *RuntimeDependencyPublisherImpl) AsTreeNode() *dashboardtypes.SnapshotTreeNode
- func (b *RuntimeDependencyPublisherImpl) Execute(context.Context)
- func (b *RuntimeDependencyPublisherImpl) FindRuntimeDependenciesForParent(parentProperty string) []*dashboardtypes.ResolvedRuntimeDependency
- func (b *RuntimeDependencyPublisherImpl) FindRuntimeDependencyForParent(parentProperty string) *dashboardtypes.ResolvedRuntimeDependency
- func (b *RuntimeDependencyPublisherImpl) GetName() string
- func (b *RuntimeDependencyPublisherImpl) GetWithRuns() map[string]*LeafRun
- func (b *RuntimeDependencyPublisherImpl) Initialise(context.Context)
- func (b *RuntimeDependencyPublisherImpl) ProvidesRuntimeDependency(dependency *modconfig.RuntimeDependency) bool
- func (b *RuntimeDependencyPublisherImpl) PublishRuntimeDependencyValue(name string, result *dashboardtypes.ResolvedRuntimeDependencyValue)
- func (b *RuntimeDependencyPublisherImpl) SetComplete(context.Context)
- func (b *RuntimeDependencyPublisherImpl) SetError(context.Context, error)
- func (b *RuntimeDependencyPublisherImpl) SubscribeToRuntimeDependency(name string, opts ...RuntimeDependencyPublishOption) chan *dashboardtypes.ResolvedRuntimeDependencyValue
Constants ¶
This section is empty.
Variables ¶
var Executor = newDashboardExecutor()
Functions ¶
func ExecutionCompleteToSnapshot ¶ added in v0.17.0
func ExecutionCompleteToSnapshot(event *dashboardevents.ExecutionComplete) *dashboardtypes.SteampipeSnapshot
ExecutionCompleteToSnapshot transforms the ExecutionComplete event into a SteampipeSnapshot
func GenerateSnapshot ¶ added in v0.17.0
func GenerateSnapshot(ctx context.Context, target string, initData *initialisation.InitData, inputs map[string]any) (snapshot *dashboardtypes.SteampipeSnapshot, err error)
func GetReferencedVariables ¶ added in v0.17.0
func GetReferencedVariables(root dashboardtypes.DashboardTreeRun, w *workspace.Workspace) map[string]string
GetReferencedVariables builds map of variables values containing only those mod variables which are referenced
Types ¶
type CheckRun ¶
type CheckRun struct { DashboardParentImpl Summary *controlexecute.GroupSummary `json:"summary"` SessionId string `json:"-"` // if the dashboard node is a control, serialise to json as 'properties' Control *modconfig.Control `json:"properties,omitempty"` DashboardNode modconfig.DashboardLeafNode `json:"-"` Root controlexecute.ExecutionTreeNode `json:"-"` // contains filtered or unexported fields }
CheckRun is a struct representing the execution of a control or benchmark
func NewCheckRun ¶
func NewCheckRun(resource modconfig.DashboardLeafNode, parent dashboardtypes.DashboardParent, executionTree *DashboardExecutionTree) (*CheckRun, error)
func (*CheckRun) AsTreeNode ¶
func (r *CheckRun) AsTreeNode() *dashboardtypes.SnapshotTreeNode
func (*CheckRun) BuildSnapshotPanels ¶ added in v0.17.0
func (r *CheckRun) BuildSnapshotPanels(leafNodeMap map[string]dashboardtypes.SnapshotPanel) map[string]dashboardtypes.SnapshotPanel
BuildSnapshotPanels is a custom implementation of BuildSnapshotPanels - be nice to just use the DashboardExecutionTree but work is needed on common interface types/generics
func (*CheckRun) ChildrenComplete ¶
ChildrenComplete implements DashboardTreeRun (override base)
func (*CheckRun) GetRunStatus ¶
func (r *CheckRun) GetRunStatus() dashboardtypes.DashboardRunStatus
GetRunStatus implements DashboardTreeRun
func (*CheckRun) Initialise ¶
Initialise implements DashboardRunNode
func (*CheckRun) IsSnapshotPanel ¶
func (*CheckRun) IsSnapshotPanel()
IsSnapshotPanel implements SnapshotPanel
func (*CheckRun) SetComplete ¶
SetComplete implements DashboardTreeRun
type DashboardContainerRun ¶
type DashboardContainerRun struct { DashboardParentImpl // contains filtered or unexported fields }
DashboardContainerRun is a struct representing a container run
func NewDashboardContainerRun ¶
func NewDashboardContainerRun(container *modconfig.DashboardContainer, parent dashboardtypes.DashboardParent, executionTree *DashboardExecutionTree) (*DashboardContainerRun, error)
func (*DashboardContainerRun) AsTreeNode ¶
func (r *DashboardContainerRun) AsTreeNode() *dashboardtypes.SnapshotTreeNode
func (*DashboardContainerRun) Execute ¶
func (r *DashboardContainerRun) Execute(ctx context.Context)
Execute implements DashboardRunNode execute all children and wait for them to complete
func (*DashboardContainerRun) Initialise ¶
func (r *DashboardContainerRun) Initialise(ctx context.Context)
Initialise implements DashboardRunNode
func (*DashboardContainerRun) IsSnapshotPanel ¶
func (*DashboardContainerRun) IsSnapshotPanel()
IsSnapshotPanel implements SnapshotPanel
func (*DashboardContainerRun) SetComplete ¶
func (r *DashboardContainerRun) SetComplete(context.Context)
SetComplete implements DashboardTreeRun
type DashboardEventControlHooks ¶ added in v0.17.0
type DashboardEventControlHooks struct {
CheckRun *CheckRun
}
DashboardEventControlHooks is a struct which implements ControlHooks, and raises ControlComplete and ControlError dashboard events
func NewDashboardEventControlHooks ¶ added in v0.17.0
func NewDashboardEventControlHooks(r *CheckRun) *DashboardEventControlHooks
func (*DashboardEventControlHooks) OnComplete ¶ added in v0.17.0
func (c *DashboardEventControlHooks) OnComplete(ctx context.Context, _ *controlstatus.ControlProgress)
func (*DashboardEventControlHooks) OnControlComplete ¶ added in v0.17.0
func (c *DashboardEventControlHooks) OnControlComplete(ctx context.Context, controlRun controlstatus.ControlRunStatusProvider, progress *controlstatus.ControlProgress)
func (*DashboardEventControlHooks) OnControlError ¶ added in v0.17.0
func (c *DashboardEventControlHooks) OnControlError(ctx context.Context, controlRun controlstatus.ControlRunStatusProvider, progress *controlstatus.ControlProgress)
func (*DashboardEventControlHooks) OnControlStart ¶ added in v0.17.0
func (c *DashboardEventControlHooks) OnControlStart(context.Context, controlstatus.ControlRunStatusProvider, *controlstatus.ControlProgress)
func (*DashboardEventControlHooks) OnStart ¶ added in v0.17.0
func (c *DashboardEventControlHooks) OnStart(ctx context.Context, _ *controlstatus.ControlProgress)
type DashboardExecutionTree ¶
type DashboardExecutionTree struct { Root dashboardtypes.DashboardTreeRun // contains filtered or unexported fields }
DashboardExecutionTree is a structure representing the control result hierarchy
func (*DashboardExecutionTree) AsTreeNode ¶ added in v0.19.0
func (e *DashboardExecutionTree) AsTreeNode() *dashboardtypes.SnapshotTreeNode
func (*DashboardExecutionTree) BuildSnapshotPanels ¶ added in v0.17.0
func (e *DashboardExecutionTree) BuildSnapshotPanels() map[string]dashboardtypes.SnapshotPanel
func (*DashboardExecutionTree) Cancel ¶
func (e *DashboardExecutionTree) Cancel()
func (*DashboardExecutionTree) ChildCompleteChan ¶
func (e *DashboardExecutionTree) ChildCompleteChan() chan dashboardtypes.DashboardTreeRun
ChildCompleteChan implements DashboardParent
func (*DashboardExecutionTree) ChildrenComplete ¶ added in v0.19.0
func (e *DashboardExecutionTree) ChildrenComplete() bool
ChildrenComplete implements DashboardParent
func (*DashboardExecutionTree) Execute ¶
func (e *DashboardExecutionTree) Execute(ctx context.Context)
func (*DashboardExecutionTree) GetChildren ¶ added in v0.19.0
func (e *DashboardExecutionTree) GetChildren() []dashboardtypes.DashboardTreeRun
GetChildren implements DashboardParent
func (*DashboardExecutionTree) GetError ¶ added in v0.19.0
func (e *DashboardExecutionTree) GetError() error
func (*DashboardExecutionTree) GetInputsDependingOn ¶ added in v0.19.0
func (e *DashboardExecutionTree) GetInputsDependingOn(s string) []string
func (*DashboardExecutionTree) GetName ¶
func (e *DashboardExecutionTree) GetName() string
GetName implements DashboardParent use mod short name - this will be the root name for all child runs
func (*DashboardExecutionTree) GetNodeType ¶ added in v0.19.0
func (*DashboardExecutionTree) GetNodeType() string
GetNodeType implements DashboardTreeRun
func (*DashboardExecutionTree) GetParent ¶ added in v0.19.0
func (e *DashboardExecutionTree) GetParent() dashboardtypes.DashboardParent
GetParent implements DashboardTreeRun
func (*DashboardExecutionTree) GetRunStatus ¶
func (e *DashboardExecutionTree) GetRunStatus() dashboardtypes.DashboardRunStatus
GetRunStatus returns the stats of the Root run
func (*DashboardExecutionTree) GetTitle ¶ added in v0.19.0
func (e *DashboardExecutionTree) GetTitle() string
func (*DashboardExecutionTree) Initialise ¶ added in v0.19.0
func (e *DashboardExecutionTree) Initialise(ctx context.Context)
func (*DashboardExecutionTree) InputRuntimeDependencies ¶ added in v0.19.0
func (e *DashboardExecutionTree) InputRuntimeDependencies() []string
InputRuntimeDependencies returns the names of all inputs which are runtime dependencies
func (*DashboardExecutionTree) RunComplete ¶ added in v0.19.0
func (e *DashboardExecutionTree) RunComplete() bool
func (*DashboardExecutionTree) SetComplete ¶ added in v0.19.0
func (e *DashboardExecutionTree) SetComplete(ctx context.Context)
func (*DashboardExecutionTree) SetError ¶
func (e *DashboardExecutionTree) SetError(ctx context.Context, err error)
SetError sets the error on the Root run
func (*DashboardExecutionTree) SetInputValues ¶ added in v0.19.0
func (e *DashboardExecutionTree) SetInputValues(inputValues map[string]any)
type DashboardExecutor ¶
type DashboardExecutor struct {
// contains filtered or unexported fields
}
func (*DashboardExecutor) CancelExecutionForSession ¶
func (e *DashboardExecutor) CancelExecutionForSession(_ context.Context, sessionId string)
func (*DashboardExecutor) ExecuteDashboard ¶
func (*DashboardExecutor) LoadSnapshot ¶ added in v0.17.0
func (*DashboardExecutor) OnInputChanged ¶
type DashboardParentImpl ¶ added in v0.19.0
type DashboardParentImpl struct { DashboardTreeRunImpl // contains filtered or unexported fields }
func (*DashboardParentImpl) ChildCompleteChan ¶ added in v0.19.0
func (r *DashboardParentImpl) ChildCompleteChan() chan dashboardtypes.DashboardTreeRun
func (*DashboardParentImpl) ChildrenComplete ¶ added in v0.19.0
func (r *DashboardParentImpl) ChildrenComplete() bool
ChildrenComplete implements DashboardTreeRun
func (*DashboardParentImpl) GetChildren ¶ added in v0.19.0
func (r *DashboardParentImpl) GetChildren() []dashboardtypes.DashboardTreeRun
GetChildren implements DashboardTreeRun
type DashboardRun ¶
type DashboardRun struct { RuntimeDependencyPublisherImpl // contains filtered or unexported fields }
DashboardRun is a struct representing a container run
func NewDashboardRun ¶
func NewDashboardRun(dashboard *modconfig.Dashboard, parent dashboardtypes.DashboardParent, executionTree *DashboardExecutionTree) (*DashboardRun, error)
TODO can dashboards have params????
func (*DashboardRun) AsTreeNode ¶
func (r *DashboardRun) AsTreeNode() *dashboardtypes.SnapshotTreeNode
func (*DashboardRun) Execute ¶
func (r *DashboardRun) Execute(ctx context.Context)
Execute implements DashboardRunNode execute all children and wait for them to complete
func (*DashboardRun) GetInput ¶
func (r *DashboardRun) GetInput(name string) (*modconfig.DashboardInput, bool)
GetInput searches for an input with the given name
func (*DashboardRun) GetInputsDependingOn ¶
func (r *DashboardRun) GetInputsDependingOn(changedInputName string) []string
GetInputsDependingOn returns a list o DashboardInputs which have a runtime dependency on the given input
func (*DashboardRun) Initialise ¶
func (r *DashboardRun) Initialise(ctx context.Context)
Initialise implements DashboardRunNode
func (*DashboardRun) IsSnapshotPanel ¶
func (*DashboardRun) IsSnapshotPanel()
IsSnapshotPanel implements SnapshotPanel
func (*DashboardRun) SetComplete ¶
func (r *DashboardRun) SetComplete(context.Context)
SetComplete implements DashboardTreeRun
type DashboardTreeRunImpl ¶ added in v0.19.0
type DashboardTreeRunImpl struct { DashboardName string `json:"dashboard"` Description string `json:"description,omitempty"` Display string `cty:"display" hcl:"display" json:"display,omitempty"` Documentation string `json:"documentation,omitempty"` ErrorString string `json:"error,omitempty"` Name string `json:"name"` NodeType string `json:"panel_type"` SourceDefinition string `json:"source_definition"` Status dashboardtypes.DashboardRunStatus `json:"status"` Tags map[string]string `json:"tags,omitempty"` Title string `json:"title,omitempty"` Type string `json:"display_type,omitempty"` Width int `json:"width,omitempty"` // contains filtered or unexported fields }
func NewDashboardTreeRunImpl ¶ added in v0.19.0
func NewDashboardTreeRunImpl(resource modconfig.DashboardLeafNode, parent dashboardtypes.DashboardParent, executionTree *DashboardExecutionTree) DashboardTreeRunImpl
func (*DashboardTreeRunImpl) GetError ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) GetError() error
GetError implements DashboardTreeRun
func (*DashboardTreeRunImpl) GetInputsDependingOn ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) GetInputsDependingOn(_ string) []string
GetInputsDependingOn implements DashboardTreeRun defaults to nothing
func (*DashboardTreeRunImpl) GetName ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) GetName() string
GetName implements DashboardTreeRun
func (*DashboardTreeRunImpl) GetNodeType ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) GetNodeType() string
GetNodeType implements DashboardTreeRun
func (*DashboardTreeRunImpl) GetParent ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) GetParent() dashboardtypes.DashboardParent
GetParent implements DashboardTreeRun
func (*DashboardTreeRunImpl) GetRunStatus ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) GetRunStatus() dashboardtypes.DashboardRunStatus
GetRunStatus implements DashboardTreeRun
func (*DashboardTreeRunImpl) GetTitle ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) GetTitle() string
GetTitle implements DashboardTreeRun
func (*DashboardTreeRunImpl) RunComplete ¶ added in v0.19.0
func (r *DashboardTreeRunImpl) RunComplete() bool
RunComplete implements DashboardTreeRun
type LeafRun ¶
type LeafRun struct { RuntimeDependencyPublisherImpl RawSQL string `json:"sql,omitempty"` Data *dashboardtypes.LeafData `json:"data,omitempty"` Resource modconfig.DashboardLeafNode `json:"properties,omitempty"` // a list of the (scoped) names of any `withs` that we rely on DependencyWiths []string `json:"withs,omitempty"` TimingResult *queryresult.TimingResult `json:"-"` // contains filtered or unexported fields }
LeafRun is a struct representing the execution of a leaf dashboard node
func NewLeafRun ¶
func NewLeafRun(resource modconfig.DashboardLeafNode, parent dashboardtypes.DashboardParent, executionTree *DashboardExecutionTree) (*LeafRun, error)
func (*LeafRun) AsTreeNode ¶
func (r *LeafRun) AsTreeNode() *dashboardtypes.SnapshotTreeNode
func (*LeafRun) IsSnapshotPanel ¶
func (*LeafRun) IsSnapshotPanel()
IsSnapshotPanel implements SnapshotPanel
func (*LeafRun) SetComplete ¶
SetComplete implements DashboardTreeRun
type RuntimeDependencyPublishOption ¶ added in v0.19.0
type RuntimeDependencyPublishOption = func(target *RuntimeDependencyPublishTarget)
func WithTransform ¶ added in v0.19.0
func WithTransform(transform func(*dashboardtypes.ResolvedRuntimeDependencyValue) *dashboardtypes.ResolvedRuntimeDependencyValue) RuntimeDependencyPublishOption
type RuntimeDependencyPublishTarget ¶ added in v0.19.0
type RuntimeDependencyPublishTarget struct {
// contains filtered or unexported fields
}
type RuntimeDependencyPublisher ¶ added in v0.19.0
type RuntimeDependencyPublisher interface { dashboardtypes.DashboardTreeRun ProvidesRuntimeDependency(dependency *modconfig.RuntimeDependency) bool SubscribeToRuntimeDependency(name string, opts ...RuntimeDependencyPublishOption) chan *dashboardtypes.ResolvedRuntimeDependencyValue PublishRuntimeDependencyValue(name string, result *dashboardtypes.ResolvedRuntimeDependencyValue) GetWithRuns() map[string]*LeafRun }
type RuntimeDependencyPublisherImpl ¶ added in v0.19.0
type RuntimeDependencyPublisherImpl struct { DashboardParentImpl Args []any `json:"args,omitempty"` Params []*modconfig.ParamDef `json:"params,omitempty"` // contains filtered or unexported fields }
func NewRuntimeDependencyPublisherImpl ¶ added in v0.19.0
func NewRuntimeDependencyPublisherImpl(resource modconfig.DashboardLeafNode, parent dashboardtypes.DashboardParent, executionTree *DashboardExecutionTree) *RuntimeDependencyPublisherImpl
func (*RuntimeDependencyPublisherImpl) AsTreeNode ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) AsTreeNode() *dashboardtypes.SnapshotTreeNode
func (*RuntimeDependencyPublisherImpl) Execute ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) Execute(context.Context)
func (*RuntimeDependencyPublisherImpl) FindRuntimeDependenciesForParent ¶
func (b *RuntimeDependencyPublisherImpl) FindRuntimeDependenciesForParent(parentProperty string) []*dashboardtypes.ResolvedRuntimeDependency
func (*RuntimeDependencyPublisherImpl) FindRuntimeDependencyForParent ¶
func (b *RuntimeDependencyPublisherImpl) FindRuntimeDependencyForParent(parentProperty string) *dashboardtypes.ResolvedRuntimeDependency
func (*RuntimeDependencyPublisherImpl) GetName ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) GetName() string
func (*RuntimeDependencyPublisherImpl) GetWithRuns ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) GetWithRuns() map[string]*LeafRun
func (*RuntimeDependencyPublisherImpl) Initialise ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) Initialise(context.Context)
func (*RuntimeDependencyPublisherImpl) ProvidesRuntimeDependency ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) ProvidesRuntimeDependency(dependency *modconfig.RuntimeDependency) bool
func (*RuntimeDependencyPublisherImpl) PublishRuntimeDependencyValue ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) PublishRuntimeDependencyValue(name string, result *dashboardtypes.ResolvedRuntimeDependencyValue)
func (*RuntimeDependencyPublisherImpl) SetComplete ¶
func (b *RuntimeDependencyPublisherImpl) SetComplete(context.Context)
func (*RuntimeDependencyPublisherImpl) SetError ¶
func (b *RuntimeDependencyPublisherImpl) SetError(context.Context, error)
func (*RuntimeDependencyPublisherImpl) SubscribeToRuntimeDependency ¶ added in v0.19.0
func (b *RuntimeDependencyPublisherImpl) SubscribeToRuntimeDependency(name string, opts ...RuntimeDependencyPublishOption) chan *dashboardtypes.ResolvedRuntimeDependencyValue
Source Files ¶
- check_run.go
- container_run.go
- control_hooks_dashboard_event.go
- dashboard_execution_tree.go
- dashboard_parent_impl.go
- dashboard_run.go
- dashboard_tree_run_impl.go
- executor.go
- leaf_run.go
- referenced_variables.go
- runtime_dependency_publisher.go
- runtime_dependency_publisher_impl.go
- runtime_dependency_publisher_option.go
- runtime_dependency_publisher_target.go
- snapshot.go