Documentation ¶
Index ¶
- Constants
- func AfterCreate(client rest.Client, stub *api.Stub) (stubs *api.Stub, err error)
- func Service(credentials *settings.Credentials) settings.CRUDService[*dashboards.JSONDashboard]
- func ValidatePreset(client rest.Client, payload *DashboardPresetPayload) (validated bool, err error)
- type DashboardPreset
- type DashboardPresetPayload
- type DashboardPresetPayloadValue
Constants ¶
View Source
const SchemaID = "v1:config:json-dashboards"
Variables ¶
This section is empty.
Functions ¶
func AfterCreate ¶ added in v1.57.1
func Service ¶
func Service(credentials *settings.Credentials) settings.CRUDService[*dashboards.JSONDashboard]
func ValidatePreset ¶ added in v1.57.1
func ValidatePreset(client rest.Client, payload *DashboardPresetPayload) (validated bool, err error)
Types ¶
type DashboardPreset ¶ added in v1.57.1
type DashboardPresetPayload ¶ added in v1.57.1
type DashboardPresetPayload struct { SchemaID string `json:"schemaId"` Scope string `json:"scope"` Value *DashboardPresetPayloadValue `json:"value"` }
type DashboardPresetPayloadValue ¶ added in v1.57.1
type DashboardPresetPayloadValue struct { EnableDashboardPresets bool `json:"enableDashboardPresets"` DashboardPresetsList []*DashboardPreset `json:"dashboardPresetsList"` }
Click to show internal directories.
Click to hide internal directories.