Versions in this module Expand all Collapse all v0 v0.4.0 Jun 23, 2016 Changes in this version + var DefaultMetaFactory = SimpleMetaFactory + func NewSerializer(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.Typer, ...) runtime.Serializer + func NewYAMLSerializer(meta MetaFactory, creater runtime.ObjectCreater, typer runtime.Typer) runtime.Serializer + type MetaFactory interface + Interpret func(data []byte) (*unversioned.GroupVersionKind, error) + type Serializer struct + func (s *Serializer) Decode(originalData []byte, gvk *unversioned.GroupVersionKind, into runtime.Object) (runtime.Object, *unversioned.GroupVersionKind, error) + func (s *Serializer) EncodeToStream(obj runtime.Object, w io.Writer, overrides ...unversioned.GroupVersion) error + func (s *Serializer) RecognizesData(peek io.Reader) (bool, error) + type SimpleMetaFactory struct + func (SimpleMetaFactory) Interpret(data []byte) (*unversioned.GroupVersionKind, error)