Documentation ¶
Index ¶
Constants ¶
View Source
const (
// BaseURL is Knative testgrid base URL
BaseURL = "https://testgrid.knative.dev"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Dashboards []Dashboard `json:"dashboards"` DashboardGroups []DashboardGroup `json:"dashboard_groups"` }
Config is entire testgrid config
func NewConfigFromFile ¶
NewConfigFromFile loads config from file
type Dashboard ¶
type Dashboard struct { Name string `json:"name"` DashboardTab []*DashboardTab `json:"dashboard_tab,omitempty"` }
Dashboard is single dashboard on testgrid
type DashboardGroup ¶
type DashboardGroup struct { // The name for the dashboard group. Name string `json:"name"` // A list of names specifying dashboards to show links to in a separate tabbed // bar at the top of the page for each of the given dashboards. DashboardNames []string `json:"dashboard_names"` }
DashboardGroup is a group of dashboards on testgrid
type DashboardTab ¶
type DashboardTab struct { Name string `json:"name"` TestGroupName string `json:"test_group_name"` }
DashboardTab is a single tab on testgrid
Click to show internal directories.
Click to hide internal directories.