mirror of
https://github.com/turbot/steampipe.git
synced 2026-05-10 15:01:45 -04:00
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
15 lines
580 B
Go
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
|
|
}
|