Files
steampipe/pkg/dashboard/dashboardexecute/runtime_dependency_publisher.go
kaidaguerre fa18c8f0e2 Add support for node reuse. Update graph, flow and hierarchy to declare nodes and edges inline, rather than as a list of references. Closes #2871
Only top level resources can have with and param blocks. Closes #2872
Refactor resource and dashboard run hierarchies to use base impl structs. Closes #2873
2022-12-14 17:18:57 +00:00

15 lines
580 B
Go

package dashboardexecute
import (
"github.com/turbot/steampipe/pkg/dashboard/dashboardtypes"
"github.com/turbot/steampipe/pkg/steampipeconfig/modconfig"
)
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
}