mirror of
https://github.com/grafana/grafana.git
synced 2024-12-25 00:20:34 -06:00
78f0340031
* Get pluginmeta mostly moved over to pkg/plugins/plugindef * Remove dead func * Fix up pfs, use sync.Once in plugindef * Update to latest thema * Chase Endec->Codec conversion in Thema * Comments on slash header gen; use ToSlash * Also generate JSON schema for plugindef * Generate JSON Schema as well * Fix slot loading from kindsys cue decls * Remove unused vars * skip generating plugin.schema.json for now Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
11 lines
352 B
Go
11 lines
352 B
Go
package grafana
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
// CueSchemaFS embeds all schema-related CUE files in the Grafana project.
|
|
//
|
|
//go:embed cue.mod/module.cue kinds/*/*.cue kinds/*/*/*.cue packages/grafana-schema/src/schema/*.cue public/app/plugins/*/*/*.cue public/app/plugins/*/*/plugin.json pkg/kindsys/*.cue pkg/plugins/plugindef/*.cue
|
|
var CueSchemaFS embed.FS
|