Documentation
¶
Index ¶
- Variables
- func ConfigureSSOSettings(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, ...) error
- func CreateOrganization(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, ...) error
- func DeleteOrganization(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, ...) error
- func UpdateOrganization(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, ...) error
- type Datasource
- type Organization
Constants ¶
This section is empty.
Variables ¶
View Source
ID: 1, Name: "Shared Org", TenantIDs: []string{"giantswarm"}, }
Functions ¶
func ConfigureSSOSettings ¶ added in v0.10.2
func ConfigureSSOSettings(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, organizations []Organization) error
func CreateOrganization ¶
func CreateOrganization(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, organization *Organization) error
func DeleteOrganization ¶ added in v0.10.0
func DeleteOrganization(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, organization Organization) error
func UpdateOrganization ¶
func UpdateOrganization(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, organization *Organization) error
Types ¶
type Datasource ¶
type Datasource struct {
ID int64
Name string
IsDefault bool
Type string
URL string
Access string
JSONData map[string]interface{}
}
func ConfigureDefaultDatasources ¶
func ConfigureDefaultDatasources(ctx context.Context, grafanaAPI *client.GrafanaHTTPAPI, organization Organization) ([]Datasource, error)
Click to show internal directories.
Click to hide internal directories.