Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
ErrNotFound is used to signal a missing resource
View Source
var ErrNotImplemented = errors.New("not implemented")
ErrNotImplemented signals a feature that is not supported by a provider
Functions ¶
func ListDashboards ¶
ListDashboards lists dashboard IDs in a Grafana instance
func ListDatasources ¶
func ListDatasources() error
ListDatasources lists datasource IDs in a Grafana instance
Types ¶
type Dashboard ¶
type Dashboard struct {
UID string `json:"uid"`
}
Dashboard represents a dashboard as contained within a Folder
type Datasource ¶
type Datasource struct {
UID string `json:"name"`
}
Datasource represents a datasource as contained within a Folder
Click to show internal directories.
Click to hide internal directories.