//
// Code generated by grafana-app-sdk. DO NOT EDIT.
//

package v1beta1

import (
	"github.com/grafana/grafana-app-sdk/resource"
)

// schema is unexported to prevent accidental overwrites
var (
	schemaKeeper = resource.NewSimpleSchema("secret.grafana.app", "v1beta1", NewKeeper(), &KeeperList{}, resource.WithKind("Keeper"),
		resource.WithPlural("keepers"), resource.WithScope(resource.NamespacedScope))
	kindKeeper = resource.Kind{
		Schema: schemaKeeper,
		Codecs: map[resource.KindEncoding]resource.Codec{
			resource.KindEncodingJSON: &KeeperJSONCodec{},
		},
	}
)

// Kind returns a resource.Kind for this Schema with a JSON codec
func KeeperKind() resource.Kind {
	return kindKeeper
}

// Schema returns a resource.SimpleSchema representation of Keeper
func KeeperSchema() *resource.SimpleSchema {
	return schemaKeeper
}

// Interface compliance checks
var _ resource.Schema = kindKeeper
