mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 05:42:28 +08:00

Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com> Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
23 lines
692 B
Go
23 lines
692 B
Go
package v0alpha1
|
|
|
|
// File types used from classic provisioning
|
|
// +enum
|
|
type ClassicFileType string
|
|
|
|
const (
|
|
// Dashboard JSON
|
|
ClassicDashboard ClassicFileType = "dashboard"
|
|
|
|
// Datasource definitions
|
|
// eg: https://github.com/grafana/grafana/blob/v11.3.1/conf/provisioning/datasources/sample.yaml
|
|
ClassicDatasources ClassicFileType = "datasources"
|
|
|
|
// Alert configuration
|
|
// https://github.com/grafana/grafana/blob/v11.3.1/conf/provisioning/alerting/sample.yaml
|
|
ClassicAlerting ClassicFileType = "alerting"
|
|
|
|
// Access control
|
|
// https://github.com/grafana/grafana/blob/v11.3.1/conf/provisioning/access-control/sample.yaml
|
|
ClassicAccessControl ClassicFileType = "access-control"
|
|
)
|