mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
27 lines
953 B
Go
27 lines
953 B
Go
package modules
|
|
|
|
const (
|
|
// All includes all modules necessary for Grafana to run as a standalone application.
|
|
All string = "all"
|
|
// BackgroundServices includes all Grafana services that run in the background
|
|
BackgroundServices string = "background-services"
|
|
// CertGenerator generates certificates for grafana-apiserver
|
|
CertGenerator string = "cert-generator"
|
|
// GrafanaAPIServer is the Kubertenes API server for Grafana Resources
|
|
GrafanaAPIServer string = "grafana-apiserver"
|
|
// HTTPServer is the HTTP server for Grafana
|
|
HTTPServer string = "http-server"
|
|
// Provisioning sets up Grafana with preconfigured datasources, dashboards, etc.
|
|
Provisioning string = "provisioning"
|
|
)
|
|
|
|
// dependencyMap defines Module Targets => Dependencies
|
|
var dependencyMap = map[string][]string{
|
|
BackgroundServices: {Provisioning, HTTPServer},
|
|
|
|
CertGenerator: {},
|
|
GrafanaAPIServer: {CertGenerator},
|
|
|
|
All: {Provisioning, HTTPServer, BackgroundServices},
|
|
}
|