dashboardsbase

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardList

type DashboardList struct {
	Dashboards []*DashboardStub `json:"dashboards,omitempty"` // the short representations of the dashboards
}

DashboardList is a list of short representations of dashboards

func (*DashboardList) ToStubs

func (me *DashboardList) ToStubs() api.Stubs

type DashboardMetadataBase

type DashboardMetadataBase struct {
	Name  string  `json:"name"`            // the name of the dashboard
	Owner *string `json:"owner,omitempty"` // the owner of the dashboard
}

DashboardMetadataBase contains parameters of a dashboard

func (*DashboardMetadataBase) MarshalHCL

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

func (*DashboardMetadataBase) MarshalJSON

func (me *DashboardMetadataBase) MarshalJSON() ([]byte, error)

func (*DashboardMetadataBase) Schema

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

func (*DashboardMetadataBase) UnmarshalHCL

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

func (*DashboardMetadataBase) UnmarshalJSON

func (me *DashboardMetadataBase) UnmarshalJSON(data []byte) error

type DashboardStub

type DashboardStub struct {
	ID    string  `json:"id"`              // the ID of the dashboard
	Name  *string `json:"name,omitempty"`  // the name of the dashboard
	Owner *string `json:"owner,omitempty"` // the owner of the dashboard
}

DashboardStub is a short representation of a dashboard

type JSONDashboardBase

type JSONDashboardBase struct {
	Name string
}

func (*JSONDashboardBase) MarshalHCL

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

func (*JSONDashboardBase) MarshalJSON

func (me *JSONDashboardBase) MarshalJSON() ([]byte, error)

func (*JSONDashboardBase) Schema

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

func (*JSONDashboardBase) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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