2022-12-02 08:22:28 +01:00
|
|
|
package pfs
|
|
|
|
|
|
|
|
|
|
import (
|
2024-03-21 11:11:29 +01:00
|
|
|
"cuelang.org/go/cue"
|
2022-12-02 08:22:28 +01:00
|
|
|
"cuelang.org/go/cue/ast"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type PluginDecl struct {
|
2024-03-21 11:11:29 +01:00
|
|
|
SchemaInterface SchemaInterface
|
|
|
|
|
CueFile cue.Value
|
2023-01-06 12:37:32 -05:00
|
|
|
Imports []*ast.ImportSpec
|
|
|
|
|
PluginPath string
|
2024-03-07 11:09:19 +01:00
|
|
|
PluginMeta Metadata
|
2022-12-02 08:22:28 +01:00
|
|
|
}
|
|
|
|
|
|
2024-03-07 11:09:19 +01:00
|
|
|
type SchemaInterface struct {
|
|
|
|
|
Name string
|
|
|
|
|
IsGroup bool
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Metadata struct {
|
|
|
|
|
Id string
|
|
|
|
|
Name string
|
|
|
|
|
Backend *bool
|
|
|
|
|
Version *string
|
|
|
|
|
}
|