Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2019 Changes in this version + var DefaultMetaFactory = SimpleMetaFactory + var Framer = jsonFramer + var YAMLFramer = yamlFramer + func CaseSensitiveJsonIterator() jsoniter.API + func StrictCaseSensitiveJsonIterator() jsoniter.API + type MetaFactory interface + Interpret func(data []byte) (*schema.GroupVersionKind, error) + type Serializer struct + func NewSerializer(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.ObjectTyper, ...) *Serializer + func NewSerializerWithOptions(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.ObjectTyper, ...) *Serializer + func NewYAMLSerializer(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.ObjectTyper) *Serializer + func (s *Serializer) Decode(originalData []byte, gvk *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) + func (s *Serializer) Encode(obj runtime.Object, w io.Writer) error + func (s *Serializer) RecognizesData(peek io.Reader) (ok, unknown bool, err error) + type SerializerOptions struct + Pretty bool + Strict bool + Yaml bool + type SimpleMetaFactory struct + func (SimpleMetaFactory) Interpret(data []byte) (*schema.GroupVersionKind, error)