client_negotiator

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendedClientNegotiator

type ExtendedClientNegotiator interface {
	runtime.ClientNegotiator

	Encoder(contentType string, params map[string]string) (runtime.Encoder, error)
	Decoder(contentType string, params map[string]string) (runtime.Decoder, error)
	StreamEncoder(contentType string, params map[string]string) (runtime.Encoder, runtime.Serializer, runtime.Framer, error)
	StreamDecoder(contentType string, params map[string]string) (runtime.Decoder, runtime.Serializer, runtime.Framer, error)

	SupportedMediaTypes() []runtime.SerializerInfo
	AcceptContentTypes() string
	DefaultContentType() string
}

func NewExtendedClientNegotiator

func NewExtendedClientNegotiator(scheme *runtime.Scheme) ExtendedClientNegotiator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL