github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/pkg/dashboard/dashboardexecute/runtime_dependency_publisher_option.go (about) 1 package dashboardexecute 2 3 import ( 4 "github.com/turbot/steampipe/pkg/dashboard/dashboardtypes" 5 ) 6 7 type RuntimeDependencyPublishOption = func(target *RuntimeDependencyPublishTarget) 8 9 func WithTransform(transform func(*dashboardtypes.ResolvedRuntimeDependencyValue) *dashboardtypes.ResolvedRuntimeDependencyValue) RuntimeDependencyPublishOption { 10 return func(c *RuntimeDependencyPublishTarget) { 11 c.transform = transform 12 } 13 }