Documentation
Overview ¶
Package schema provides a schema for all the "known" kore types
Index ¶
- func DecodeJSON(data []byte) (runtime.Object, error)
- func DecodeYAML(data []byte) (runtime.Object, error)
- func GetCodecFactory() serializer.CodecFactory
- func GetGroupKindVersion(object runtime.Object) (kschema.GroupVersionKind, bool, error)
- func GetScheme() *runtime.Scheme
- func IsVersioned(object runtime.Object) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJSON ¶
DecodeJSON decodes the json into a runtime.Object
func DecodeYAML ¶
DecodeYAML decodes the yaml resource into a runtime.Object
func GetCodecFactory ¶
func GetCodecFactory() serializer.CodecFactory
func GetGroupKindVersion ¶
GetGroupKindVersion returns a schema for any registered type
func IsVersioned ¶
IsVersioned checks if the type is versioned in the scheme
Types ¶
This section is empty.