https://github.com/grafana/grafana
Raw File
Tip revision: 46cfacab77ede3776cb37b51760e356486b3a0c1 authored by Dale McDiarmid on 10 December 2021, 16:03:44 UTC
Support env variables in e2e tests
Tip revision: 46cfaca
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