Versions in this module Expand all Collapse all v0 v0.4.2 Oct 29, 2014 v0.4.1 Oct 17, 2014 Changes in this version + func CodecGetYAML(codec Codec, obj Object) (tag string, value interface{}) + func CodecMarshalJSON(codec Codec, obj Object) ([]byte, error) + func EncodeOrDie(codec Codec, obj Object) string + func GetItemsPtr(list Object) (interface{}, error) + func SetList(list Object, objects []Object) error + type Codec interface + func CodecFor(scheme *Scheme, version string) Codec + type Decoder interface + Decode func(data []byte) (Object, error) + DecodeInto func(data []byte, obj Object) error + type EmbeddedObject struct + type Encoder interface + Encode func(obj Object) (data []byte, err error) + type Object interface + IsAnAPIObject func() + func CodecSetYAML(codec Codec, tag string, value interface{}) (Object, bool) + func CodecUnmarshalJSON(codec Codec, b []byte) (Object, error) + func ExtractList(obj Object) ([]Object, error) + type PluginBase struct + Kind string + type RawExtension struct + RawJSON []byte + func (re *RawExtension) GetYAML() (tag string, value interface{}) + func (re *RawExtension) MarshalJSON() ([]byte, error) + func (re *RawExtension) SetYAML(tag string, value interface{}) bool + func (re *RawExtension) UnmarshalJSON(in []byte) error + type ResourceVersioner interface + ResourceVersion func(obj Object) (string, error) + SetResourceVersion func(obj Object, version string) error + func NewTypeMetaResourceVersioner() ResourceVersioner + type Scheme struct + func NewScheme() *Scheme + func (s *Scheme) AddConversionFuncs(conversionFuncs ...interface{}) error + func (s *Scheme) AddKnownTypeWithName(version, kind string, obj Object) + func (s *Scheme) AddKnownTypes(version string, types ...Object) + func (s *Scheme) Convert(in, out interface{}) error + func (s *Scheme) Copy(obj Object) (Object, error) + func (s *Scheme) CopyOrDie(obj Object) Object + func (s *Scheme) Decode(data []byte) (Object, error) + func (s *Scheme) DecodeInto(data []byte, obj Object) error + func (s *Scheme) EncodeToVersion(obj Object, destVersion string) (data []byte, err error) + func (s *Scheme) KnownTypes(version string) map[string]reflect.Type + func (s *Scheme) Log(l conversion.DebugLogger) + func (s *Scheme) New(versionName, typeName string) (Object, error) + func (s *Scheme) ObjectVersionAndKind(obj Object) (version, kind string, err error) + type SelfLinker interface + ID func(obj Object) (string, error) + SelfLink func(obj Object) (string, error) + SetSelfLink func(obj Object, selfLink string) error + func NewTypeMetaSelfLinker() SelfLinker + type TypeMeta struct + APIVersion string + CreationTimestamp util.Time + ID string + Kind string + ResourceVersion string + SelfLink string + type TypeMetaInterface interface + APIVersion func() string + ID func() string + Kind func() string + ResourceVersion func() string + SelfLink func() string + SetAPIVersion func(version string) + SetID func(ID string) + SetKind func(kind string) + SetResourceVersion func(version string) + SetSelfLink func(selfLink string) + func FindTypeMeta(obj Object) (TypeMetaInterface, error) + type Unknown struct + RawJSON []byte + func (*Unknown) IsAnAPIObject()