type NegotiateError …
func (e NegotiateError) Error() string { … }
type clientNegotiator …
func (n *clientNegotiator) Encoder(contentType string, params map[string]string) (Encoder, error) { … }
func (n *clientNegotiator) Decoder(contentType string, params map[string]string) (Decoder, error) { … }
func (n *clientNegotiator) StreamDecoder(contentType string, params map[string]string) (Decoder, Serializer, Framer, error) { … }
func NewClientNegotiator(serializer NegotiatedSerializer, gv schema.GroupVersion) ClientNegotiator { … }
type simpleNegotiatedSerializer …
func NewSimpleNegotiatedSerializer(info SerializerInfo) NegotiatedSerializer { … }
func (n *simpleNegotiatedSerializer) SupportedMediaTypes() []SerializerInfo { … }
func (n *simpleNegotiatedSerializer) EncoderForVersion(e Encoder, _ GroupVersioner) Encoder { … }
func (n *simpleNegotiatedSerializer) DecoderToVersion(d Decoder, _gv GroupVersioner) Decoder { … }