Versions in this module Expand all Collapse all v1 v1.5.0 Oct 23, 2016 Changes in this version + const APIVersionInternal + const ContentTypeJSON + var DefaultFramer = defaultFramer + var DefaultStringConversions = []interface + var ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + func CheckCodec(c Codec, internalType Object, externalTypes ...unversioned.GroupVersionKind) error + func Convert_Slice_string_To_bool(input *[]string, out *bool, s conversion.Scope) error + func Convert_Slice_string_To_int(input *[]string, out *int, s conversion.Scope) error + func Convert_Slice_string_To_int64(input *[]string, out *int64, s conversion.Scope) error + func Convert_Slice_string_To_string(input *[]string, out *string, s conversion.Scope) error + func Convert_runtime_Object_To_runtime_RawExtension(in *Object, out *RawExtension, s conversion.Scope) error + func Convert_runtime_RawExtension_To_runtime_Object(in *RawExtension, out *Object, s conversion.Scope) error + func DecodeInto(d Decoder, data []byte, into Object) error + func DecodeList(objects []Object, decoders ...Decoder) []error + func DeepCopy_runtime_RawExtension(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_runtime_TypeMeta(in interface{}, out interface{}, c *conversion.Cloner) error + func DeepCopy_runtime_Unknown(in interface{}, out interface{}, c *conversion.Cloner) error + func DefaultEmbeddedConversions() []interface + func Encode(e Encoder, obj Object) ([]byte, error) + func EncodeList(e Encoder, objects []Object) error + func EncodeOrDie(e Encoder, obj Object) string + func Field(v reflect.Value, fieldName string, dest interface{}) error + func FieldPtr(v reflect.Value, fieldName string, dest interface{}) error + func IsMissingKind(err error) bool + func IsMissingVersion(err error) bool + func IsNotRegisteredError(err error) bool + func JSONKeyMapper(key string, sourceTag, destTag reflect.StructTag) (string, string) + func NewMissingKindErr(data string) error + func NewMissingVersionErr(data string) error + func NewNotRegisteredErr(gvk unversioned.GroupVersionKind, t reflect.Type) error + func SetField(src interface{}, v reflect.Value, fieldName string) error + func SetZeroValue(objPtr Object) error + func VerifySwaggerDocsExist(kubeTypes []KubeTypes, w io.Writer) (int, error) + func WriteSwaggerDocFunc(kubeTypes []KubeTypes, w io.Writer) error + type Codec Serializer + var UnstructuredJSONScheme Codec = unstructuredJSONScheme{} + func NewCodec(e Encoder, d Decoder) Codec + type Decoder interface + Decode func(data []byte, defaults *unversioned.GroupVersionKind, into Object) (Object, *unversioned.GroupVersionKind, error) + type Encoder interface + Encode func(obj Object, w io.Writer) error + type FieldLabelConversionFunc func(label, value string) (internalLabel, internalValue string, err error) + type Framer interface + NewFrameReader func(r io.ReadCloser) io.ReadCloser + NewFrameWriter func(w io.Writer) io.Writer + type GroupVersioner interface + KindForGroupVersionKinds func(kinds []unversioned.GroupVersionKind) (target unversioned.GroupVersionKind, ok bool) + var DisabledGroupVersioner GroupVersioner = disabledGroupVersioner{} + var InternalGroupVersioner GroupVersioner = internalGroupVersioner{} + func NewMultiGroupVersioner(gv unversioned.GroupVersion, groupKinds ...unversioned.GroupKind) GroupVersioner + type GroupVersioners []GroupVersioner + func (gvs GroupVersioners) KindForGroupVersionKinds(kinds []unversioned.GroupVersionKind) (unversioned.GroupVersionKind, bool) + type KubeTypes []Pair + func ParseDocumentationFrom(src string) []KubeTypes + type MultiObjectTyper []ObjectTyper + func (m MultiObjectTyper) ObjectKinds(obj Object) (gvks []unversioned.GroupVersionKind, unversionedType bool, err error) + func (m MultiObjectTyper) Recognizes(gvk unversioned.GroupVersionKind) bool + type NegotiatedSerializer interface + DecoderToVersion func(serializer Decoder, gv GroupVersioner) Decoder + EncoderForVersion func(serializer Encoder, gv GroupVersioner) Encoder + SerializerForMediaType func(mediaType string, params map[string]string) (s SerializerInfo, ok bool) + StreamingSerializerForMediaType func(mediaType string, params map[string]string) (s StreamSerializerInfo, ok bool) + SupportedMediaTypes func() []string + SupportedStreamingMediaTypes func() []string + type NestedObjectDecoder interface + DecodeNestedObjects func(d Decoder) error + type NestedObjectEncoder interface + EncodeNestedObjects func(e Encoder) error + type NoopDecoder struct + func (n NoopDecoder) Decode(data []byte, gvk *unversioned.GroupVersionKind, into Object) (Object, *unversioned.GroupVersionKind, error) + type NoopEncoder struct + func (n NoopEncoder) Encode(obj Object, w io.Writer) error + type Object interface + GetObjectKind func() unversioned.ObjectKind + func Decode(d Decoder, data []byte) (Object, error) + func NewEncodable(e Encoder, obj Object, versions ...unversioned.GroupVersion) Object + func NewEncodableList(e Encoder, objects []Object, versions ...unversioned.GroupVersion) []Object + func UseOrCreateObject(t ObjectTyper, c ObjectCreater, gvk unversioned.GroupVersionKind, obj Object) (Object, error) + type ObjectConvertor interface + Convert func(in, out, context interface{}) error + ConvertFieldLabel func(version, kind, label, value string) (string, string, error) + ConvertToVersion func(in Object, gv GroupVersioner) (out Object, err error) + func UnsafeObjectConvertor(scheme *Scheme) ObjectConvertor + type ObjectCopier interface + Copy func(Object) (Object, error) + type ObjectCreater interface + New func(kind unversioned.GroupVersionKind) (out Object, err error) + type ObjectTyper interface + ObjectKinds func(Object) ([]unversioned.GroupVersionKind, bool, error) + Recognizes func(gvk unversioned.GroupVersionKind) bool + type ObjectVersioner interface + ConvertToVersion func(in Object, gv GroupVersioner) (out Object, err error) + type Pair struct + Doc string + Name string + type ParameterCodec interface + DecodeParameters func(parameters url.Values, from unversioned.GroupVersion, into Object) error + EncodeParameters func(obj Object, to unversioned.GroupVersion) (url.Values, error) + func NewParameterCodec(scheme *Scheme) ParameterCodec + type ProtobufMarshaller interface + MarshalTo func(data []byte) (int, error) + type RawExtension struct + Object Object + Raw []byte + func (*RawExtension) Descriptor() ([]byte, []int) + func (*RawExtension) ProtoMessage() + func (m *RawExtension) Marshal() (data []byte, err error) + func (m *RawExtension) MarshalTo(data []byte) (int, error) + func (m *RawExtension) Reset() + func (m *RawExtension) Size() (n int) + func (m *RawExtension) Unmarshal(data []byte) error + func (re *RawExtension) UnmarshalJSON(in []byte) error + func (re RawExtension) MarshalJSON() ([]byte, error) + func (this *RawExtension) String() string + type ResourceVersioner interface + ResourceVersion func(obj Object) (string, error) + SetResourceVersion func(obj Object, version string) error + type Scheme struct + func NewScheme() *Scheme + func (s *Scheme) AddConversionFuncs(conversionFuncs ...interface{}) error + func (s *Scheme) AddDeepCopyFuncs(deepCopyFuncs ...interface{}) error + func (s *Scheme) AddDefaultingFuncs(defaultingFuncs ...interface{}) error + func (s *Scheme) AddFieldLabelConversionFunc(version, kind string, conversionFunc FieldLabelConversionFunc) error + func (s *Scheme) AddGeneratedConversionFuncs(conversionFuncs ...interface{}) error + func (s *Scheme) AddGeneratedDeepCopyFuncs(deepCopyFuncs ...conversion.GeneratedDeepCopyFunc) error + func (s *Scheme) AddGenericConversionFunc(fn conversion.GenericConversionFunc) + func (s *Scheme) AddIgnoredConversionType(from, to interface{}) error + func (s *Scheme) AddKnownTypeWithName(gvk unversioned.GroupVersionKind, obj Object) + func (s *Scheme) AddKnownTypes(gv unversioned.GroupVersion, types ...Object) + func (s *Scheme) AddStructFieldConversion(srcFieldType interface{}, srcFieldName string, destFieldType interface{}, ...) error + func (s *Scheme) AddUnversionedTypes(version unversioned.GroupVersion, types ...Object) + func (s *Scheme) AllKnownTypes() map[unversioned.GroupVersionKind]reflect.Type + func (s *Scheme) Convert(in, out interface{}, context interface{}) error + func (s *Scheme) ConvertFieldLabel(version, kind, label, value string) (string, string, error) + func (s *Scheme) ConvertToVersion(in Object, target GroupVersioner) (Object, error) + func (s *Scheme) Converter() *conversion.Converter + func (s *Scheme) Copy(src Object) (Object, error) + func (s *Scheme) DeepCopy(src interface{}) (interface{}, error) + func (s *Scheme) IsUnversioned(obj Object) (bool, bool) + func (s *Scheme) KnownTypes(gv unversioned.GroupVersion) map[string]reflect.Type + func (s *Scheme) Log(l conversion.DebugLogger) + func (s *Scheme) New(kind unversioned.GroupVersionKind) (Object, error) + func (s *Scheme) ObjectKind(obj Object) (unversioned.GroupVersionKind, bool, error) + func (s *Scheme) ObjectKinds(obj Object) ([]unversioned.GroupVersionKind, bool, error) + func (s *Scheme) Recognizes(gvk unversioned.GroupVersionKind) bool + func (s *Scheme) RegisterInputDefaults(in interface{}, fn conversion.FieldMappingFunc, ...) error + func (s *Scheme) UnsafeConvertToVersion(in Object, target GroupVersioner) (Object, error) + type SchemeBuilder []func(*Scheme) error + func NewSchemeBuilder(funcs ...func(*Scheme) error) SchemeBuilder + func (sb *SchemeBuilder) AddToScheme(s *Scheme) error + func (sb *SchemeBuilder) Register(funcs ...func(*Scheme) error) + type SelfLinker interface + Name func(obj Object) (string, error) + Namespace func(obj Object) (string, error) + SelfLink func(obj Object) (string, error) + SetSelfLink func(obj Object, selfLink string) error + type Serializer interface + func NewBase64Serializer(s Serializer) Serializer + type SerializerInfo struct + EncodesAsText bool + MediaType string + type StorageSerializer interface + DecoderToVersion func(serializer Decoder, gv GroupVersioner) Decoder + EncoderForVersion func(serializer Encoder, gv GroupVersioner) Encoder + SerializerForMediaType func(mediaType string, options map[string]string) (SerializerInfo, bool) + UniversalDeserializer func() Decoder + type StreamSerializerInfo struct + Embedded SerializerInfo + type TypeMeta struct + APIVersion string + Kind string + func (*TypeMeta) Descriptor() ([]byte, []int) + func (*TypeMeta) ProtoMessage() + func (m *TypeMeta) Marshal() (data []byte, err error) + func (m *TypeMeta) MarshalTo(data []byte) (int, error) + func (m *TypeMeta) Reset() + func (m *TypeMeta) Size() (n int) + func (m *TypeMeta) Unmarshal(data []byte) error + func (obj *TypeMeta) GroupVersionKind() unversioned.GroupVersionKind + func (obj *TypeMeta) SetGroupVersionKind(gvk unversioned.GroupVersionKind) + func (this *TypeMeta) String() string + type Unknown struct + ContentEncoding string + ContentType string + Raw []byte + func (*Unknown) Descriptor() ([]byte, []int) + func (*Unknown) ProtoMessage() + func (m *Unknown) Marshal() (data []byte, err error) + func (m *Unknown) MarshalTo(data []byte) (int, error) + func (m *Unknown) NestedMarshalTo(data []byte, b ProtobufMarshaller, size uint64) (int, error) + func (m *Unknown) Reset() + func (m *Unknown) Size() (n int) + func (m *Unknown) Unmarshal(data []byte) error + func (obj *Unknown) GetObjectKind() unversioned.ObjectKind + func (re *Unknown) UnmarshalJSON(in []byte) error + func (re Unknown) MarshalJSON() ([]byte, error) + func (this *Unknown) String() string + type Unstructured struct + Object map[string]interface{} + func (obj *Unstructured) GetObjectKind() unversioned.ObjectKind + func (u *Unstructured) GetAPIVersion() string + func (u *Unstructured) GetAnnotations() map[string]string + func (u *Unstructured) GetClusterName() string + func (u *Unstructured) GetCreationTimestamp() unversioned.Time + func (u *Unstructured) GetDeletionTimestamp() *unversioned.Time + func (u *Unstructured) GetFinalizers() []string + func (u *Unstructured) GetGenerateName() string + func (u *Unstructured) GetKind() string + func (u *Unstructured) GetLabels() map[string]string + func (u *Unstructured) GetName() string + func (u *Unstructured) GetNamespace() string + func (u *Unstructured) GetOwnerReferences() []metatypes.OwnerReference + func (u *Unstructured) GetResourceVersion() string + func (u *Unstructured) GetSelfLink() string + func (u *Unstructured) GetUID() types.UID + func (u *Unstructured) GroupVersionKind() unversioned.GroupVersionKind + func (u *Unstructured) MarshalJSON() ([]byte, error) + func (u *Unstructured) SetAPIVersion(version string) + func (u *Unstructured) SetAnnotations(annotations map[string]string) + func (u *Unstructured) SetClusterName(clusterName string) + func (u *Unstructured) SetCreationTimestamp(timestamp unversioned.Time) + func (u *Unstructured) SetDeletionTimestamp(timestamp *unversioned.Time) + func (u *Unstructured) SetFinalizers(finalizers []string) + func (u *Unstructured) SetGenerateName(name string) + func (u *Unstructured) SetGroupVersionKind(gvk unversioned.GroupVersionKind) + func (u *Unstructured) SetKind(kind string) + func (u *Unstructured) SetLabels(labels map[string]string) + func (u *Unstructured) SetName(name string) + func (u *Unstructured) SetNamespace(namespace string) + func (u *Unstructured) SetOwnerReferences(references []metatypes.OwnerReference) + func (u *Unstructured) SetResourceVersion(version string) + func (u *Unstructured) SetSelfLink(selfLink string) + func (u *Unstructured) SetUID(uid types.UID) + func (u *Unstructured) UnmarshalJSON(b []byte) error + type UnstructuredList struct + Items []*Unstructured + Object map[string]interface{} + func (obj *UnstructuredList) GetObjectKind() unversioned.ObjectKind + func (u *UnstructuredList) GetAPIVersion() string + func (u *UnstructuredList) GetKind() string + func (u *UnstructuredList) GetResourceVersion() string + func (u *UnstructuredList) GetSelfLink() string + func (u *UnstructuredList) GroupVersionKind() unversioned.GroupVersionKind + func (u *UnstructuredList) MarshalJSON() ([]byte, error) + func (u *UnstructuredList) SetAPIVersion(version string) + func (u *UnstructuredList) SetGroupVersionKind(gvk unversioned.GroupVersionKind) + func (u *UnstructuredList) SetKind(kind string) + func (u *UnstructuredList) SetResourceVersion(version string) + func (u *UnstructuredList) SetSelfLink(selfLink string) + func (u *UnstructuredList) UnmarshalJSON(b []byte) error + type UnstructuredObjectConverter struct + func (UnstructuredObjectConverter) Convert(in, out, context interface{}) error + func (UnstructuredObjectConverter) ConvertFieldLabel(version, kind, label, value string) (string, string, error) + func (UnstructuredObjectConverter) ConvertToVersion(in Object, target GroupVersioner) (Object, error) + type VersionedObjects struct + Objects []Object + func (obj *VersionedObjects) First() Object + func (obj *VersionedObjects) GetObjectKind() unversioned.ObjectKind + func (obj *VersionedObjects) Last() Object