Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedApi ¶
type ExtendedApi struct {
// contains filtered or unexported fields
}
Most of these methods are here due to limitations in existing libraries being used.
func NewExtendedApi ¶
func NewExtendedApi() *ExtendedApi
func (*ExtendedApi) GetConfiguredOrgId ¶ added in v0.6.0
func (extended *ExtendedApi) GetConfiguredOrgId(orgName string) (int64, error)
GetConfiguredOrgId needed to call grafana API in order to configure the Grafana API correctly. Invoking this endpoint manually to avoid a circular dependency.
func (*ExtendedApi) Health ¶
func (extended *ExtendedApi) Health() (*HealthResponse, error)
type HealthResponse ¶
type HealthResponse struct {
Commit string `json:"commit,omitempty"`
Database string `json:"database,omitempty"`
Version string `json:"version,omitempty"`
}
Health Check used to get various server info
Click to show internal directories.
Click to hide internal directories.