apiserver/pkg/endpoints/handlers
Clayton Coleman dc06278276 CRDs should support watch of protobuf PartialObjectMetadata
Correctly ensure CRDs can be watched using protobuf when transformed to
PartialObjectMetadata. To do this we add a set of serializers allowed to
be used for "normal" requests (that return CRDs) while the serializers
supported by the infrastructure is broader and includes protobuf. During
negotatiation we check for transformation requests and protobuf is
excluded from non-transform requests.

As part of the change, correct an error message when the server returns
a 406 but the client doesn't accept the format to avoid confusing users
who set impossible Accept rules for CRDs (the dynamic client doesn't
support Protobuf, so if the server responds with a protobuf status the
message from the server is lost and the generic error was confusing).

Kubernetes-commit: 89e752add07f443248f66e4798d160f2d7529a19
2019-04-16 23:21:44 -04:00
..
fieldmanager fieldManager: Ignore conversion errors to internal types 2019-05-16 11:07:47 -07:00
negotiation CRDs should support watch of protobuf PartialObjectMetadata 2019-04-16 23:21:44 -04:00
responsewriters Use CodecFactory.WithoutConversion() everywhere 2019-04-03 13:24:37 -04:00
create.go Pass {Operation}Option to Webhooks 2019-05-07 13:34:18 -07:00
create_test.go Add "fieldManager" to flag to PATCH/CREATE/UPDATE 2019-02-16 20:16:11 -08:00
delete.go Run deleteValidation at the storage layer so that it will be retried on 2019-04-09 13:49:16 -07:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
get.go add timeout suuport for watch 2019-04-03 09:37:48 +08:00
namer.go Avoid allocations when building SelfLinks and fast path escape 2019-03-25 18:06:57 -04:00
namer_test.go Avoid allocations when building SelfLinks and fast path escape 2019-03-25 18:06:57 -04:00
patch.go Pass {Operation}Option to Webhooks 2019-05-07 13:34:18 -07:00
response.go PartialObjectMetadataList should nest values, not pointers for Items 2019-05-13 14:13:00 -04:00
rest.go CRDs should support watch of protobuf PartialObjectMetadata 2019-04-16 23:21:44 -04:00
rest_test.go make ObjectInterfaces impl generic 2019-05-13 11:22:11 -04:00
update.go Pass {Operation}Option to Webhooks 2019-05-07 13:34:18 -07:00
watch.go Refactor loops over SupportedMediaTypes() where mediaType is used to match a single SerializerInfo{} 2019-04-04 19:01:01 -06:00