Documentation ¶
Index ¶
- Variables
- type DashboardList
- type DashboardMetadataBase
- func (me *DashboardMetadataBase) MarshalHCL(properties hcl.Properties) error
- func (me *DashboardMetadataBase) MarshalJSON() ([]byte, error)
- func (me *DashboardMetadataBase) Schema() map[string]*schema.Schema
- func (me *DashboardMetadataBase) UnmarshalHCL(decoder hcl.Decoder) error
- func (me *DashboardMetadataBase) UnmarshalJSON(data []byte) error
- type DashboardStub
- type JSONDashboardBase
- func (me *JSONDashboardBase) Anonymize()
- func (me *JSONDashboardBase) DeNull()
- func (me *JSONDashboardBase) EnrichRequireds() *JSONDashboardBase
- func (me *JSONDashboardBase) Equals(other any) (string, bool)
- func (me *JSONDashboardBase) MarshalHCL(properties hcl.Properties) error
- func (me *JSONDashboardBase) MarshalJSON() ([]byte, error)
- func (me *JSONDashboardBase) Name() string
- func (me *JSONDashboardBase) Schema() map[string]*schema.Schema
- func (me *JSONDashboardBase) UnmarshalHCL(decoder hcl.Decoder) error
- func (me *JSONDashboardBase) UnmarshalJSON(data []byte) error
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) 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) UnmarshalHCL ¶
func (me *JSONDashboardBase) UnmarshalHCL(decoder hcl.Decoder) error
func (*JSONDashboardBase) UnmarshalJSON ¶
func (me *JSONDashboardBase) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.