github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/pkg/dashboard/dashboardexecute/runtime_dependency_publisher.go (about)

     1  package dashboardexecute
     2  
     3  import (
     4  	"github.com/turbot/steampipe/pkg/dashboard/dashboardtypes"
     5  	"github.com/turbot/steampipe/pkg/steampipeconfig/modconfig"
     6  )
     7  
     8  type RuntimeDependencyPublisher interface {
     9  	dashboardtypes.DashboardTreeRun
    10  	ProvidesRuntimeDependency(dependency *modconfig.RuntimeDependency) bool
    11  	SubscribeToRuntimeDependency(name string, opts ...RuntimeDependencyPublishOption) chan *dashboardtypes.ResolvedRuntimeDependencyValue
    12  	PublishRuntimeDependencyValue(name string, result *dashboardtypes.ResolvedRuntimeDependencyValue)
    13  	GetWithRuns() map[string]*LeafRun
    14  }