k3s/pkg/client/restclient
Kubernetes Submit Queue 7c391158e3 Merge pull request #35810 from deads2k/client-18-decode-status
Automatic merge from submit-queue

always allow decoding of status when returned from the API

`unversioned.Status` should be able to come back from any API version and still be properly decoded.  This doesn't happen today by default.

@smarterclayton  Our projectrequest endpoint returns a `Status` object on a 200 return from list to indicate everything went well.  This (or something like it) is needed to make the API accepted by `kubectl`.  Alternatively, we change the API to return a different (still not a `Project`) value from list, which still feels wrong.
2016-11-03 11:18:23 -07:00
..
fake move client/unversioned/fake to client/restclient/fake 2016-10-29 14:22:02 -07:00
BUILD autogenerated 2016-10-21 17:32:32 -07:00
client.go always allow decoding of status when returned from the API 2016-11-01 16:36:45 -04:00
client_test.go Merge pull request #35810 from deads2k/client-18-decode-status 2016-11-03 11:18:23 -07:00
config.go Add global timeout flag 2016-10-14 09:57:40 -04:00
config_test.go Replace negotiation with a new method that can extract info 2016-10-28 11:30:11 -04:00
plugin.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
plugin_test.go Use multiple clients in load test to avoid "no cached connections" errors. 2016-09-29 16:32:57 +02:00
request.go Avoid double decoding all client responses 2016-11-01 22:55:51 -04:00
request_test.go Avoid double decoding all client responses 2016-11-01 22:55:51 -04:00
transport.go Use multiple clients in load test to avoid "no cached connections" errors. 2016-09-29 16:32:57 +02:00
url_utils.go Fix problem specifying fqdn:port in command line 2016-07-05 10:10:12 -04:00
url_utils_test.go remove testapi.Default.GroupVersion 2016-10-07 10:10:54 -04:00
urlbackoff.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
urlbackoff_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
versions.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00