Versions in this module Expand all Collapse all v0 v0.0.1 Jan 5, 2023 Changes in this version + const APIVersionInternal + const ContentTypeJSON + const ContentTypeProtobuf + const ContentTypeYAML + var AllocatorPool = sync.Pool + var DefaultFramer = defaultFramer + var DefaultUnstructuredConverter = &unstructuredConverter + var ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") + func AsStrictDecodingError(err error) (*strictDecodingError, bool) + func CheckCodec(c Codec, internalType Object, externalTypes ...schema.GroupVersionKind) error + func Convert_Slice_string_To_Pointer_bool(in *[]string, out **bool, s conversion.Scope) error + func Convert_Slice_string_To_Pointer_int64(in *[]string, out **int64, s conversion.Scope) error + func Convert_Slice_string_To_bool(in *[]string, out *bool, s conversion.Scope) error + func Convert_Slice_string_To_int(in *[]string, out *int, s conversion.Scope) error + func Convert_Slice_string_To_int64(in *[]string, out *int64, s conversion.Scope) error + func Convert_Slice_string_To_string(in *[]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 Convert_string_To_Pointer_int64(in *string, out **int64, s conversion.Scope) error + func Convert_string_To_int64(in *string, out *int64, s conversion.Scope) error + func DecodeInto(d Decoder, data []byte, into Object) error + func DecodeList(objects []Object, decoders ...Decoder) []error + func DeepCopyJSON(x map[string]interface{}) map[string]interface + func DeepCopyJSONValue(x interface{}) interface + func DefaultMetaV1FieldSelectorConversion(label, value string) (string, string, error) + 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 IsStrictDecodingError(err error) bool + func JSONKeyMapper(key string, sourceTag, destTag reflect.StructTag) (string, string) + func NewMissingKindErr(data string) error + func NewMissingVersionErr(data string) error + func NewNotRegisteredErrForKind(schemeName string, gvk schema.GroupVersionKind) error + func NewNotRegisteredErrForTarget(schemeName string, t reflect.Type, target GroupVersioner) error + func NewNotRegisteredErrForType(schemeName string, t reflect.Type) error + func NewNotRegisteredGVKErrForTarget(schemeName string, gvk schema.GroupVersionKind, target GroupVersioner) error + func NewStrictDecodingError(errors []error) error + func NewTestUnstructuredConverterWithValidation(comparison conversion.Equalities) *unstructuredConverter + func RegisterEmbeddedConversions(s *Scheme) error + func RegisterStringConversions(s *Scheme) 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 Allocator struct + func (a *Allocator) Allocate(n uint64) []byte + type CacheableObject interface + CacheEncode func(id Identifier, encode func(Object, io.Writer) error, w io.Writer) error + GetObject func() Object + type ClientNegotiator interface + Decoder func(contentType string, params map[string]string) (Decoder, error) + Encoder func(contentType string, params map[string]string) (Encoder, error) + StreamDecoder func(contentType string, params map[string]string) (Decoder, Serializer, Framer, error) + func NewClientNegotiator(serializer NegotiatedSerializer, gv schema.GroupVersion) ClientNegotiator + type Codec Serializer + func NewCodec(e Encoder, d Decoder) Codec + type Decoder interface + Decode func(data []byte, defaults *schema.GroupVersionKind, into Object) (Object, *schema.GroupVersionKind, error) + type Encoder interface + Encode func(obj Object, w io.Writer) error + Identifier func() Identifier + type EncoderWithAllocator interface + EncodeWithAllocator func(obj Object, w io.Writer, memAlloc MemoryAllocator) error + type EquivalentResourceMapper interface + EquivalentResourcesFor func(resource schema.GroupVersionResource, subresource string) []schema.GroupVersionResource + KindFor func(resource schema.GroupVersionResource, subresource string) schema.GroupVersionKind + type EquivalentResourceRegistry interface + RegisterKindFor func(resource schema.GroupVersionResource, subresource string, ...) + func NewEquivalentResourceRegistry() EquivalentResourceRegistry + func NewEquivalentResourceRegistryWithIdentity(keyFunc func(schema.GroupResource) string) EquivalentResourceRegistry + 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 + Identifier func() string + KindForGroupVersionKinds func(kinds []schema.GroupVersionKind) (target schema.GroupVersionKind, ok bool) + var DisabledGroupVersioner GroupVersioner = disabledGroupVersioner{} + var InternalGroupVersioner GroupVersioner = internalGroupVersioner{} + func NewCoercingMultiGroupVersioner(gv schema.GroupVersion, groupKinds ...schema.GroupKind) GroupVersioner + func NewMultiGroupVersioner(gv schema.GroupVersion, groupKinds ...schema.GroupKind) GroupVersioner + type Identifier string + type KubeTypes []Pair + func ParseDocumentationFrom(src string) []KubeTypes + type MemoryAllocator interface + Allocate func(n uint64) []byte + type MultiObjectTyper []ObjectTyper + func (m MultiObjectTyper) ObjectKinds(obj Object) (gvks []schema.GroupVersionKind, unversionedType bool, err error) + func (m MultiObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool + type Namer interface + Name func(obj Object) (string, error) + Namespace func(obj Object) (string, error) + type NegotiateError struct + ContentType string + Stream bool + func (e NegotiateError) Error() string + type NegotiatedSerializer interface + DecoderToVersion func(serializer Decoder, gv GroupVersioner) Decoder + EncoderForVersion func(serializer Encoder, gv GroupVersioner) Encoder + SupportedMediaTypes func() []SerializerInfo + func NewSimpleNegotiatedSerializer(info SerializerInfo) NegotiatedSerializer + 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 *schema.GroupVersionKind, into Object) (Object, *schema.GroupVersionKind, error) + type NoopEncoder struct + func (n NoopEncoder) Encode(obj Object, w io.Writer) error + func (n NoopEncoder) Identifier() Identifier + type Object interface + DeepCopyObject func() Object + GetObjectKind func() schema.ObjectKind + func Decode(d Decoder, data []byte) (Object, error) + func NewEncodable(e Encoder, obj Object, versions ...schema.GroupVersion) Object + func NewEncodableList(e Encoder, objects []Object, versions ...schema.GroupVersion) []Object + func UseOrCreateObject(t ObjectTyper, c ObjectCreater, gvk schema.GroupVersionKind, obj Object) (Object, error) + type ObjectConvertor interface + Convert func(in, out, context interface{}) error + ConvertFieldLabel func(gvk schema.GroupVersionKind, label, value string) (string, string, error) + ConvertToVersion func(in Object, gv GroupVersioner) (out Object, err error) + func UnsafeObjectConvertor(scheme *Scheme) ObjectConvertor + type ObjectCreater interface + New func(kind schema.GroupVersionKind) (out Object, err error) + type ObjectDefaulter interface + Default func(in Object) + type ObjectTyper interface + ObjectKinds func(Object) ([]schema.GroupVersionKind, bool, error) + Recognizes func(gvk schema.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 schema.GroupVersion, into Object) error + EncodeParameters func(obj Object, to schema.GroupVersion) (url.Values, error) + func NewParameterCodec(scheme *Scheme) ParameterCodec + type ProtobufMarshaller interface + MarshalTo func(data []byte) (int, error) + type ProtobufReverseMarshaller interface + MarshalToSizedBuffer func(data []byte) (int, error) + type RawExtension struct + Object Object + Raw []byte + func (*RawExtension) Descriptor() ([]byte, []int) + func (*RawExtension) ProtoMessage() + func (in *RawExtension) DeepCopy() *RawExtension + func (in *RawExtension) DeepCopyInto(out *RawExtension) + func (m *RawExtension) Marshal() (dAtA []byte, err error) + func (m *RawExtension) MarshalTo(dAtA []byte) (int, error) + func (m *RawExtension) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RawExtension) Reset() + func (m *RawExtension) Size() (n int) + func (m *RawExtension) Unmarshal(dAtA []byte) error + func (m *RawExtension) XXX_DiscardUnknown() + func (m *RawExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RawExtension) XXX_Merge(src proto.Message) + func (m *RawExtension) XXX_Size() int + func (m *RawExtension) XXX_Unmarshal(b []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) AddConversionFunc(a, b interface{}, fn conversion.ConversionFunc) error + func (s *Scheme) AddFieldLabelConversionFunc(gvk schema.GroupVersionKind, conversionFunc FieldLabelConversionFunc) error + func (s *Scheme) AddGeneratedConversionFunc(a, b interface{}, fn conversion.ConversionFunc) error + func (s *Scheme) AddIgnoredConversionType(from, to interface{}) error + func (s *Scheme) AddKnownTypeWithName(gvk schema.GroupVersionKind, obj Object) + func (s *Scheme) AddKnownTypes(gv schema.GroupVersion, types ...Object) + func (s *Scheme) AddTypeDefaultingFunc(srcType Object, fn func(interface{})) + func (s *Scheme) AddUnversionedTypes(version schema.GroupVersion, types ...Object) + func (s *Scheme) AllKnownTypes() map[schema.GroupVersionKind]reflect.Type + func (s *Scheme) Convert(in, out interface{}, context interface{}) error + func (s *Scheme) ConvertFieldLabel(gvk schema.GroupVersionKind, 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) Default(src Object) + func (s *Scheme) IsGroupRegistered(group string) bool + func (s *Scheme) IsUnversioned(obj Object) (bool, bool) + func (s *Scheme) IsVersionRegistered(version schema.GroupVersion) bool + func (s *Scheme) KnownTypes(gv schema.GroupVersion) map[string]reflect.Type + func (s *Scheme) Name() string + func (s *Scheme) New(kind schema.GroupVersionKind) (Object, error) + func (s *Scheme) ObjectKinds(obj Object) ([]schema.GroupVersionKind, bool, error) + func (s *Scheme) PreferredVersionAllGroups() []schema.GroupVersion + func (s *Scheme) PrioritizedVersionsAllGroups() []schema.GroupVersion + func (s *Scheme) PrioritizedVersionsForGroup(group string) []schema.GroupVersion + func (s *Scheme) Recognizes(gvk schema.GroupVersionKind) bool + func (s *Scheme) SetVersionPriority(versions ...schema.GroupVersion) error + func (s *Scheme) UnsafeConvertToVersion(in Object, target GroupVersioner) (Object, error) + func (s *Scheme) VersionsForGroupKind(gk schema.GroupKind) []schema.GroupVersion + 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 Serializer interface + func NewBase64Serializer(e Encoder, d Decoder) Serializer + type SerializerInfo struct + EncodesAsText bool + MediaType string + MediaTypeSubType string + MediaTypeType string + PrettySerializer Serializer + Serializer Serializer + StreamSerializer *StreamSerializerInfo + StrictSerializer Serializer + func SerializerInfoForMediaType(types []SerializerInfo, mediaType string) (SerializerInfo, bool) + type SimpleAllocator struct + func (sa *SimpleAllocator) Allocate(n uint64) []byte + type StorageSerializer interface + DecoderToVersion func(serializer Decoder, gv GroupVersioner) Decoder + EncoderForVersion func(serializer Encoder, gv GroupVersioner) Encoder + SupportedMediaTypes func() []SerializerInfo + UniversalDeserializer func() Decoder + type StreamSerializerInfo struct + EncodesAsText bool + 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) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TypeMeta) Reset() + func (m *TypeMeta) Size() (n int) + func (m *TypeMeta) Unmarshal(dAtA []byte) error + func (m *TypeMeta) XXX_DiscardUnknown() + func (m *TypeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TypeMeta) XXX_Merge(src proto.Message) + func (m *TypeMeta) XXX_Size() int + func (m *TypeMeta) XXX_Unmarshal(b []byte) error + func (obj *TypeMeta) GetObjectKind() schema.ObjectKind + func (obj *TypeMeta) GroupVersionKind() schema.GroupVersionKind + func (obj *TypeMeta) SetGroupVersionKind(gvk schema.GroupVersionKind) + func (this *TypeMeta) String() string + type Unknown struct + ContentEncoding string + ContentType string + Raw []byte + func (*Unknown) Descriptor() ([]byte, []int) + func (*Unknown) ProtoMessage() + func (e *Unknown) UnmarshalJSON(in []byte) error + func (e Unknown) MarshalJSON() ([]byte, error) + func (in *Unknown) DeepCopy() *Unknown + func (in *Unknown) DeepCopyInto(out *Unknown) + func (in *Unknown) DeepCopyObject() Object + func (m *Unknown) Marshal() (dAtA []byte, err error) + func (m *Unknown) MarshalTo(dAtA []byte) (int, error) + func (m *Unknown) MarshalToSizedBuffer(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 (m *Unknown) XXX_DiscardUnknown() + func (m *Unknown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Unknown) XXX_Merge(src proto.Message) + func (m *Unknown) XXX_Size() int + func (m *Unknown) XXX_Unmarshal(b []byte) error + func (this *Unknown) String() string + type Unstructured interface + EachListItem func(func(Object) error) error + IsList func() bool + NewEmptyInstance func() Unstructured + SetUnstructuredContent func(map[string]interface{}) + UnstructuredContent func() map[string]interface{} + type UnstructuredConverter interface + FromUnstructured func(u map[string]interface{}, obj interface{}) error + ToUnstructured func(obj interface{}) (map[string]interface{}, error) + func NewTestUnstructuredConverter(comparison conversion.Equalities) UnstructuredConverter + type WithVersionEncoder struct + Version GroupVersioner + func (e WithVersionEncoder) Encode(obj Object, stream io.Writer) error + type WithoutVersionDecoder struct + func (d WithoutVersionDecoder) Decode(data []byte, defaults *schema.GroupVersionKind, into Object) (Object, *schema.GroupVersionKind, error)