presets

package
v1.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardPresets

type DashboardPresets struct {
	DashboardPreset string `json:"DashboardPreset"` // Dashboard preset to limit visibility for
	UserGroup       string `json:"UserGroup"`       // User group to show selected dashboard preset to
}

func (*DashboardPresets) MarshalHCL

func (me *DashboardPresets) MarshalHCL(properties hcl.Properties) error

func (*DashboardPresets) Schema

func (me *DashboardPresets) Schema() map[string]*schema.Schema

func (*DashboardPresets) UnmarshalHCL

func (me *DashboardPresets) UnmarshalHCL(decoder hcl.Decoder) error

type DashboardPresetsList

type DashboardPresetsList []*DashboardPresets

func (DashboardPresetsList) MarshalHCL

func (me DashboardPresetsList) MarshalHCL(properties hcl.Properties) error

func (*DashboardPresetsList) Schema

func (me *DashboardPresetsList) Schema() map[string]*schema.Schema

func (*DashboardPresetsList) UnmarshalHCL

func (me *DashboardPresetsList) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	DashboardPresetsList   DashboardPresetsList `json:"dashboardPresetsList,omitempty"` // Show selected preset to respective user group only.
	EnableDashboardPresets bool                 `json:"enableDashboardPresets"`         // Dashboard presets are visible to all users by default. For a pristine environment you may disable them entirely or opt to manually limit visibility to selected user groups.
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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