Files
grafana/apps/plugins/pkg/apis/plugins/v0alpha1/meta_schema_gen.go
T
2025-12-09 16:01:22 -05:00

35 lines
873 B
Go
Generated

//
// Code generated by grafana-app-sdk. DO NOT EDIT.
//
package v0alpha1
import (
"github.com/grafana/grafana-app-sdk/resource"
)
// schema is unexported to prevent accidental overwrites
var (
schemaMeta = resource.NewSimpleSchema("plugins.grafana.app", "v0alpha1", NewMeta(), &MetaList{}, resource.WithKind("Meta"),
resource.WithPlural("metas"), resource.WithScope(resource.NamespacedScope))
kindMeta = resource.Kind{
Schema: schemaMeta,
Codecs: map[resource.KindEncoding]resource.Codec{
resource.KindEncodingJSON: &MetaJSONCodec{},
},
}
)
// Kind returns a resource.Kind for this Schema with a JSON codec
func MetaKind() resource.Kind {
return kindMeta
}
// Schema returns a resource.SimpleSchema representation of Meta
func MetaSchema() *resource.SimpleSchema {
return schemaMeta
}
// Interface compliance checks
var _ resource.Schema = kindMeta