apiserver/pkg/endpoints
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
..
discovery Expose storage version hash 2019-01-14 19:31:25 -08:00
filters Use CodecFactory.WithoutConversion() everywhere 2019-04-03 13:24:37 -04:00
handlers CRDs should support watch of protobuf PartialObjectMetadata 2019-04-16 23:21:44 -04:00
metrics Avoid 3 object creations when no dryRun parameter is provided 2019-03-21 20:57:36 -04:00
openapi apiserver: fix openapi extension types to be JSON 2019-02-07 15:34:42 +01:00
request Updated OWNERS files to include link to docs 2019-01-30 20:05:00 +01:00
testing generated 2019-05-24 17:46:39 -07:00
apiserver_test.go Add GetResourceMapper to admission ObjectInterfaces 2019-05-13 11:24:20 -04:00
audit_test.go updates audit endpoints test 2018-11-01 15:56:50 -06:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
groupversion.go Add GetResourceMapper to admission ObjectInterfaces 2019-05-13 11:24:20 -04:00
installer.go Add GetResourceMapper to admission ObjectInterfaces 2019-05-13 11:24:20 -04:00
installer_test.go apiserver: make endpoint webservice builder helpers public 2019-03-04 08:14:41 -08:00
patchhandler_test.go Minor fixes 2019-02-01 11:55:18 -08:00
watch_test.go Make RequestScope be a pointer consistently for better memory use 2019-03-25 23:33:48 -04:00