Files
steampipe/pkg/dashboard/dashboardexecute/runtime_dependency_publisher_option.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

14 lines
426 B
Go

package dashboardexecute
import (
"github.com/turbot/steampipe/pkg/dashboard/dashboardtypes"
)
type RuntimeDependencyPublishOption = func(target *RuntimeDependencyPublishTarget)
func WithTransform(transform func(*dashboardtypes.ResolvedRuntimeDependencyValue) *dashboardtypes.ResolvedRuntimeDependencyValue) RuntimeDependencyPublishOption {
return func(c *RuntimeDependencyPublishTarget) {
c.transform = transform
}
}