dashboardsbase

package
v1.52.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DYNATRACE_DASHBOARD_TESTS = len(os.Getenv("DYNATRACE_DASHBOARD_TESTS")) > 0

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 {
	Contents string
	// contains filtered or unexported fields
}

func (*JSONDashboardBase) Anonymize

func (me *JSONDashboardBase) Anonymize()

func (*JSONDashboardBase) DeNull

func (me *JSONDashboardBase) DeNull()

func (*JSONDashboardBase) EnrichRequireds

func (me *JSONDashboardBase) EnrichRequireds() *JSONDashboardBase

func (*JSONDashboardBase) Equals

func (me *JSONDashboardBase) Equals(other any) (string, bool)

func (*JSONDashboardBase) MarshalHCL

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

func (*JSONDashboardBase) MarshalJSON

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

func (*JSONDashboardBase) Name

func (me *JSONDashboardBase) Name() string

func (*JSONDashboardBase) Schema

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

func (*JSONDashboardBase) UnmarshalHCL

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

func (*JSONDashboardBase) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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