grafana

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const PluginType = "grafana"

PluginType is the type which must be used for the Grafana plugin.

Variables

This section is empty.

Functions

func Mount

func Mount(instances []plugin.Instance, clustersClient clusters.Client) (chi.Router, error)

Mount mounts the Grafana plugin routes in the plugins router of a kobs satellite instance.

Types

type Router

type Router struct {
	*chi.Mux
	// contains filtered or unexported fields
}

Router implements the router for the Grafana plugin, which can be registered in the router for our rest api. It contains the api routes for the Grafana plugin and it's configuration.

Jump to

Keyboard shortcuts

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