Documentation
¶
Index ¶
Constants ¶
const CreateDebugDashboard_Operation = `` /* 376-byte string literal not displayed */
The mutation executed by CreateDebugDashboard.
const GetDashboard_Operation = `
query GetDashboard ($id: String!) {
dashboard(id: $id) {
id
name
isStale
lastRanAt
}
}
`
The query executed by GetDashboard.
const UpdateMetricsConfig_Operation = `` /* 237-byte string literal not displayed */
The mutation executed by UpdateMetricsConfig.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDebugDashboardCreateDebugDashboard ¶ added in v0.47.0
type CreateDebugDashboardCreateDebugDashboard struct {
Id string `json:"id"`
Name string `json:"name"`
}
CreateDebugDashboardCreateDebugDashboard includes the requested fields of the GraphQL type Dashboard.
func (*CreateDebugDashboardCreateDebugDashboard) GetId ¶ added in v0.47.0
func (v *CreateDebugDashboardCreateDebugDashboard) GetId() string
GetId returns CreateDebugDashboardCreateDebugDashboard.Id, and is useful for accessing the field via an interface.
func (*CreateDebugDashboardCreateDebugDashboard) GetName ¶ added in v0.47.0
func (v *CreateDebugDashboardCreateDebugDashboard) GetName() string
GetName returns CreateDebugDashboardCreateDebugDashboard.Name, and is useful for accessing the field via an interface.
type CreateDebugDashboardResponse ¶ added in v0.47.0
type CreateDebugDashboardResponse struct {
// Create a debug dashboard from uploaded emissions and config
CreateDebugDashboard CreateDebugDashboardCreateDebugDashboard `json:"createDebugDashboard"`
}
CreateDebugDashboardResponse is returned by CreateDebugDashboard on success.
func CreateDebugDashboard ¶ added in v0.47.0
func (*CreateDebugDashboardResponse) GetCreateDebugDashboard ¶ added in v0.47.0
func (v *CreateDebugDashboardResponse) GetCreateDebugDashboard() CreateDebugDashboardCreateDebugDashboard
GetCreateDebugDashboard returns CreateDebugDashboardResponse.CreateDebugDashboard, and is useful for accessing the field via an interface.
type GetDashboardDashboard ¶ added in v0.47.0
type GetDashboardDashboard struct {
Id string `json:"id"`
Name string `json:"name"`
IsStale bool `json:"isStale"`
LastRanAt string `json:"lastRanAt"`
}
GetDashboardDashboard includes the requested fields of the GraphQL type Dashboard.
func (*GetDashboardDashboard) GetId ¶ added in v0.47.0
func (v *GetDashboardDashboard) GetId() string
GetId returns GetDashboardDashboard.Id, and is useful for accessing the field via an interface.
func (*GetDashboardDashboard) GetIsStale ¶ added in v0.47.0
func (v *GetDashboardDashboard) GetIsStale() bool
GetIsStale returns GetDashboardDashboard.IsStale, and is useful for accessing the field via an interface.
func (*GetDashboardDashboard) GetLastRanAt ¶ added in v0.47.0
func (v *GetDashboardDashboard) GetLastRanAt() string
GetLastRanAt returns GetDashboardDashboard.LastRanAt, and is useful for accessing the field via an interface.
func (*GetDashboardDashboard) GetName ¶ added in v0.47.0
func (v *GetDashboardDashboard) GetName() string
GetName returns GetDashboardDashboard.Name, and is useful for accessing the field via an interface.
type GetDashboardResponse ¶ added in v0.47.0
type GetDashboardResponse struct {
// Get a single dashboard by ID
Dashboard GetDashboardDashboard `json:"dashboard"`
}
GetDashboardResponse is returned by GetDashboard on success.
func GetDashboard ¶ added in v0.47.0
func (*GetDashboardResponse) GetDashboard ¶ added in v0.47.0
func (v *GetDashboardResponse) GetDashboard() GetDashboardDashboard
GetDashboard returns GetDashboardResponse.Dashboard, and is useful for accessing the field via an interface.
type MetricsTemplate ¶
func (*MetricsTemplate) GetContents ¶
func (v *MetricsTemplate) GetContents() string
GetContents returns MetricsTemplate.Contents, and is useful for accessing the field via an interface.
func (*MetricsTemplate) GetName ¶
func (v *MetricsTemplate) GetName() string
GetName returns MetricsTemplate.Name, and is useful for accessing the field via an interface.
type UpdateMetricsConfigResponse ¶
type UpdateMetricsConfigResponse struct {
// Update metrics config with the given configuration
UpdateMetricsConfig string `json:"updateMetricsConfig"`
}
UpdateMetricsConfigResponse is returned by UpdateMetricsConfig on success.
func UpdateMetricsConfig ¶
func UpdateMetricsConfig( ctx_ context.Context, client_ graphql.Client, projectId string, config string, templateFiles []MetricsTemplate, branch string, ) (data_ *UpdateMetricsConfigResponse, err_ error)
func (*UpdateMetricsConfigResponse) GetUpdateMetricsConfig ¶
func (v *UpdateMetricsConfigResponse) GetUpdateMetricsConfig() string
GetUpdateMetricsConfig returns UpdateMetricsConfigResponse.UpdateMetricsConfig, and is useful for accessing the field via an interface.