jsondashboards

package
v1.66.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SchemaID = "v1:config:json-dashboards"

Variables

This section is empty.

Functions

func AfterCreate added in v1.57.1

func AfterCreate(client rest.Client, stub *api.Stub) (stubs *api.Stub, err error)

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 DashboardPreset struct {
	DashboardPreset string `json:"DashboardPreset"`
	UserGroup       string `json:"UserGroup"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL