Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) CreateDashboard ¶
func (Client) CreateDataSource ¶
func (Client) DeleteDashboard ¶
func (Client) DeleteDataSource ¶
type CreateDashboardRequest ¶
type Dashboard ¶
type Dashboard struct {
Templating map[string][]map[string]interface{} `json:"templating"`
Annotations map[string]interface{} `json:"annotations"`
Time map[string]interface{} `json:"time"`
Timepicker map[string]interface{} `json:"timepicker"`
Timezone string `json:"timezone"`
Title string `json:"title"`
Uid string `json:"uid"`
Editable bool `json:"editable"`
Links []interface{} `json:"links"`
Panels []map[string]interface{} `json:"panels"`
Version int `json:"version"`
SchemaVersion int `json:"schema_version"`
Tags []string `json:"tags"`
}
func NewDashboard ¶
type DataSource ¶
type DataSource struct {
Name string `json:"name"`
Type string `json:"type"`
Url string `json:"url"`
Access string `json:"access"`
BasicAuth bool `json:"basic_auth"`
}
func NewDataSource ¶
func NewDataSource(name string, url string) *DataSource
Click to show internal directories.
Click to hide internal directories.