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

     1  package dashboardevents
     2  
     3  import (
     4  	"github.com/turbot/steampipe/pkg/dashboard/dashboardtypes"
     5  	"time"
     6  )
     7  
     8  type ExecutionStarted struct {
     9  	Root        dashboardtypes.DashboardTreeRun `json:"dashboard"`
    10  	Panels      map[string]any
    11  	Session     string
    12  	ExecutionId string
    13  	Inputs      map[string]any
    14  	Variables   map[string]string
    15  	StartTime   time.Time
    16  	// immutable representation of event data - to avoid mutation before we send it
    17  	JsonData []byte
    18  }
    19  
    20  // IsDashboardEvent implements DashboardEvent interface
    21  func (*ExecutionStarted) IsDashboardEvent() {}