mirror of
https://github.com/turbot/steampipe.git
synced 2026-05-11 00:02:37 -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
14 lines
426 B
Go
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
|
|
}
|
|
}
|