Versions in this module Expand all Collapse all v0 v0.0.2 Mar 17, 2022 v0.0.1 Nov 8, 2021 Changes in this version + const APIVersionInternal + const ContentTypeJSON + const ContentTypeProtobuf + const ContentTypeYAML + const HeaderType + const PathType + const QueryType + var DefaultFramer = defaultFramer + func CheckCodec(c Codec, internalType Object) error + func Convert_runtime_Object_To_runtime_RawExtension(in *Object, out *RawExtension) error + func Convert_runtime_RawExtension_To_runtime_Object(in *RawExtension, out *Object) error + func DecodeInto(d Decoder, data []byte, into Object) error + func DecodeList(objects []Object, decoders ...Decoder) []error + func Encode(e Encoder, obj Object) ([]byte, error) + func EncodeList(e Encoder, objects []Object) error + func EncodeOrDie(e Encoder, obj Object) string + func EnforcePtr(obj interface{}) (reflect.Value, error) + 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 NewMissingKindErr(data string) error + func NewMissingVersionErr(data string) error + func NewNotRegisteredErrForKind(schemeName string) error + func NewNotRegisteredErrForTarget(schemeName string, t reflect.Type) error + func NewNotRegisteredErrForType(schemeName string, t reflect.Type) error + func NewNotRegisteredGVKErrForTarget(schemeName string) error + func NewStrictDecodingError(message string, data string) error + func SetField(src interface{}, v reflect.Value, fieldName string) error + func SetZeroValue(objPtr Object) error + 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) ClientNegotiator + type Codec Serializer + func NewCodec(e Encoder, d Decoder) Codec + type Decoder interface + Decode func(data []byte, into Object) (Object, error) + type Encoder interface + Encode func(obj Object, w io.Writer) error + Identifier func() Identifier + type Framer interface + NewFrameReader func(r io.ReadCloser) io.ReadCloser + NewFrameWriter func(w io.Writer) io.Writer + type Identifier string + type NegotiateError struct + ContentType string + Stream bool + func (e NegotiateError) Error() string + type NegotiatedSerializer interface + DecoderToVersion func(serializer Decoder) Decoder + EncoderForVersion func(serializer Encoder) 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, into Object) (Object, error) + type NoopEncoder struct + func (n NoopEncoder) Encode(obj Object, w io.Writer) error + func (n NoopEncoder) Identifier() Identifier + type Object interface + func Decode(d Decoder, data []byte, into Object) (Object, error) + func NewEncodable(e Encoder, obj Object) Object + func NewEncodableList(e Encoder, objects []Object) []Object + type ObjectConvertor interface + Convert func(in, out, context interface{}) error + ConvertFieldLabel func(label, value string) (string, string, error) + ConvertToVersion func(in Object) (out Object, err error) + type ObjectDefaulter interface + Default func(in Object) + type ObjectVersioner interface + ConvertToVersion func(in Object) (out Object, err error) + type ParameterCodec interface + DecodeParameters func(parameter *Parameters, into Object) error + EncodeParameters func(obj Object) (*Parameters, error) + RouteBuilderParameters func(rb *restful.RouteBuilder, obj Object) + func NewParameterCodec() ParameterCodec + type Parameters struct + Header http.Header + Path map[string]string + Query url.Values + func NewParameters() *Parameters + type RawExtension struct + Object Object + Raw []byte + func (re *RawExtension) UnmarshalJSON(in []byte) error + func (re RawExtension) MarshalJSON() ([]byte, 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 + func SerializerInfoForMediaType(types []SerializerInfo, mediaType string) (SerializerInfo, bool) + type StorageSerializer interface + DecoderToVersion func(serializer Decoder) Decoder + EncoderForVersion func(serializer Encoder) Encoder + SupportedMediaTypes func() []SerializerInfo + UniversalDeserializer func() Decoder + type StreamSerializerInfo struct + EncodesAsText bool + type TypeMeta struct + APIVersion string + Kind string + type Unknown struct + ContentEncoding string + ContentType string + Raw []byte + func (e *Unknown) UnmarshalJSON(in []byte) error + func (e Unknown) MarshalJSON() ([]byte, error) + func (in *Unknown) DeepCopy() *Unknown + func (in *Unknown) DeepCopyInto(out *Unknown) + 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 Validator interface + Validate func() error + type WithVersionEncoder struct + func (e WithVersionEncoder) Encode(obj Object, stream io.Writer) error + type WithoutVersionDecoder struct + func (d WithoutVersionDecoder) Decode(data []byte, into Object) (Object, error)