https://github.com/grafana/grafana
Raw File
Tip revision: 01db8d8ec1a57151ec8bc09dfc2226c9aee29081 authored by Joe Blubaugh on 18 April 2022, 02:42:45 UTC
Unified Alerting: Stable order for state history annotations (#47674)
Tip revision: 01db8d8
embed.go
package grafana

import (
	"embed"
)

// CoreSchema embeds all core CUE files, which live in packages/grafana-schema/src
//
//go:embed cue.mod cue packages/grafana-schema/src/schema/*.cue packages/grafana-schema/src/scuemata/*/*.cue packages/grafana-schema/src/scuemata/*/*/*.cue
var CoreSchema embed.FS

// PluginSchema embeds all expected plugin CUE files and plugin metadata from
// within the public/app/plugins subdirectory.
//
//go:embed public/app/plugins/*/*/*.cue public/app/plugins/*/*/plugin.json
var PluginSchema embed.FS
back to top