Documentation ¶
Index ¶
- 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
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) UnmarshalHCL ¶
func (me *JSONDashboardBase) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.