Documentation ¶
Overview ¶
Package grafana implements Grafana client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Grafana ¶
type Grafana struct { URL *url.URL Client *http.Client TeamMembersEndpoint string // contains filtered or unexported fields }
Grafana struct
func NewGrafana ¶
NewGrafana return a new instance of Grafana struct
type GrafanaTeamsReponse ¶
type GrafanaTeamsReponse struct { OrgID int `json:"orgId"` TeamID int `json:"teamId"` TeamUID string `json:"teamUID"` UserID int `json:"userId"` AuthModule string `json:"auth_module"` Email string `json:"email"` Name string `json:"name"` Login string `json:"login"` AvatarURL string `json:"avatarUrl"` Labels []string `json:"labels"` Permission int `json:"permission"` }
GrafanaTeamsReponse is the API response struct from Grafana
Click to show internal directories.
Click to hide internal directories.