api

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: BSD-3-Clause-LBNL Imports: 11 Imported by: 0

README

Everything in here is implemented due to limitations or bugs found in the OpenAPI Grafana API.

Any implementation in this package is temporary workaround till the spec/API is fixed or providing custom data models to better organize results for GDGs use case.

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
}

ExtendedApi provides API request building for Grafana with optional debug mode.

func NewExtendedApi

func NewExtendedApi(cfg *domain.GDGAppConfiguration) *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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL