type watchEmbeddedEncoder …
func newWatchEmbeddedEncoder(ctx context.Context, encoder runtime.Encoder, target *schema.GroupVersionKind, tableOptions *metav1.TableOptions, scope *RequestScope) *watchEmbeddedEncoder { … }
func (e *watchEmbeddedEncoder) Encode(obj runtime.Object, w io.Writer) error { … }
func (e *watchEmbeddedEncoder) doEncode(obj runtime.Object, w io.Writer) error { … }
func (e *watchEmbeddedEncoder) Identifier() runtime.Identifier { … }
type watchEmbeddedEncoderIdentifier …
func (e *watchEmbeddedEncoder) embeddedIdentifier() runtime.Identifier { … }
type watchEncoder …
func newWatchEncoder(ctx context.Context, kind schema.GroupVersionKind, embeddedEncoder runtime.Encoder, encoder runtime.Encoder, framer io.Writer, watchListTransformerFn watchListTransformerFunction) *watchEncoder { … }
func (e *watchEncoder) Encode(event watch.Event) error { … }
func (e *watchEncoder) doEncode(obj runtime.Object, event watch.Event, w io.Writer) error { … }
type watchEncoderIdentifier …
func (e *watchEncoder) identifier(eventType watch.EventType) runtime.Identifier { … }
func (e *watchEncoder) typeIdentifier(eventType watch.EventType) runtime.Identifier { … }
func doTransformObject(ctx context.Context, obj runtime.Object, opts interface{ … }
func optionsForTransform(mediaType negotiation.MediaTypeOptions, req *http.Request) (interface{ … }
func targetEncodingForTransform(scope *RequestScope, mediaType negotiation.MediaTypeOptions, req *http.Request) (schema.GroupVersionKind, runtime.NegotiatedSerializer, bool) { … }
func transformResponseObject(ctx context.Context, scope *RequestScope, req *http.Request, w http.ResponseWriter, statusCode int, mediaType negotiation.MediaTypeOptions, result runtime.Object) { … }
type errNotAcceptable …
func newNotAcceptableError(message string) error { … }
func (e errNotAcceptable) Error() string { … }
func (e errNotAcceptable) Status() metav1.Status { … }
func asTable(ctx context.Context, result runtime.Object, opts *metav1.TableOptions, scope *RequestScope, groupVersion schema.GroupVersion) (runtime.Object, error) { … }
func asPartialObjectMetadata(result runtime.Object, groupVersion schema.GroupVersion) (runtime.Object, error) { … }
func asPartialObjectMetadataList(result runtime.Object, groupVersion schema.GroupVersion) (runtime.Object, error) { … }
type watchListTransformerFunction …
type watchListTransformer …
func newWatchListTransformer(initialEventsListBlueprint runtime.Object, targetGVK *schema.GroupVersionKind, negotiatedEncoder runtime.Encoder) *watchListTransformer { … }
func (e *watchListTransformer) transform(event watch.Event) watch.Event { … }
func (e *watchListTransformer) encodeInitialEventsListBlueprint(object runtime.Object) error { … }
func (e *watchListTransformer) transformInitialEventsListBlueprint() (runtime.Object, error) { … }
func newWatchEventErrorFor(err error) watch.Event { … }