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

* Create go.mod files for plugins and core kinds * Update go work and main go.mod dependencies * Update pfs import * Missing update of pfs dependency * Remove fixed cuelang dependency * Update codeowners * Update workspace * Update Dockerfile * Missing go.mod codeowner * Use intermediate kin-openapi dependency to make all workspaces to work
27 lines
398 B
Go
27 lines
398 B
Go
package pfs
|
|
|
|
import (
|
|
"cuelang.org/go/cue"
|
|
"cuelang.org/go/cue/ast"
|
|
)
|
|
|
|
type PluginDecl struct {
|
|
SchemaInterface SchemaInterface
|
|
CueFile cue.Value
|
|
Imports []*ast.ImportSpec
|
|
PluginPath string
|
|
PluginMeta Metadata
|
|
}
|
|
|
|
type SchemaInterface struct {
|
|
Name string
|
|
IsGroup bool
|
|
}
|
|
|
|
type Metadata struct {
|
|
Id string
|
|
Name string
|
|
Backend *bool
|
|
Version *string
|
|
}
|