Versions in this module Expand all Collapse all v1 v1.5.0 Oct 23, 2016 Changes in this version + var DefaultMetaFactory = SimpleMetaFactory + var Framer = jsonFramer + var YAMLFramer = yamlFramer + type MetaFactory interface + Interpret func(data []byte) (*unversioned.GroupVersionKind, error) + type Serializer struct + func NewSerializer(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 *unversioned.GroupVersionKind, into runtime.Object) (runtime.Object, *unversioned.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 SimpleMetaFactory struct + func (SimpleMetaFactory) Interpret(data []byte) (*unversioned.GroupVersionKind, error)