Codegen: Isolate schema generation code (#98742)

* 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
This commit is contained in:
Selene
2025-01-10 13:33:51 +01:00
committed by GitHub
parent 32cb6d9dab
commit 0501ff9079
52 changed files with 2115 additions and 371 deletions

View File

@ -0,0 +1,26 @@
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
}