package
0.1.8
Repository: https://github.com/jtyr/gcapi.git
Documentation: pkg.go.dev

# Functions

GetGrafanaAPIURL returns the Grafan API URL defined by grafana-api-url commandline flag or by the GRAFANA_API_URL environment variable.
GetGrafanaToken returns the API authorization token defined by grafana-api-token or grafana-api-token-file commandline flag or by the GRAFANA_API_TOKEN environment variable.
GetToken returns the API authorization token defined by cloud-api-token or cloud-api-token-file commandline flag or by the GRAFANA_CLOUD_API_TOKEN environment variable.