k3s/pkg/client
k8s-merge-robot d897db4ac5 Merge pull request #28933 from smarterclayton/accept_content_types
Automatic merge from submit-queue

Use response content-type on restclient errors

Also allow a new AcceptContentTypes field to allow the client to ask for
a fallback serialization when getting responses from the server. This
allows a new client to ask for protobuf and JSON, falling back to JSON
when necessary.

The changes to request.go allow error responses from non-JSON servers to
be properly decoded.

@wojtek-t - also alters #28910 slightly (this is better output)
2016-07-26 22:56:53 -07:00
..
cache Factory for SharedIndexInformers 2016-07-21 14:04:48 +02:00
chaosclient Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
clientset_generated Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
leaderelection Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
record Merge pull request #28319 from grodrigues3/revert-comments-tLogf 2016-07-26 19:56:47 -07:00
restclient Use response content-type on restclient errors 2016-07-24 12:08:40 -04:00
testdata Added test cases for NewKubeletClient with TLS enabled 2014-12-18 00:57:33 -08:00
testing/core manual changes to patch subresource 2016-07-12 11:09:27 -07:00
transport Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
typed Use response content-type on restclient errors 2016-07-24 12:08:40 -04:00
unversioned Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00