kubernetes/pkg/client/restclient
Clayton Coleman e0ebcf4216
Split the storage and negotiation parts of Codecs
The codec factory should support two distinct interfaces - negotiating
for a serializer with a client, vs reading or writing data to a storage
form (etcd, disk, etc). Make the EncodeForVersion and DecodeToVersion
methods only take Encoder and Decoder, and slight refactoring elsewhere.

In the storage factory, use a content type to control what serializer to
pick, and use the universal deserializer. This ensures that storage can
read JSON (which might be from older objects) while only writing
protobuf. Add exceptions for those resources that may not be able to
write to protobuf (specifically third party resources, but potentially
others in the future).
2016-05-05 12:08:23 -04:00
..
client_test.go Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
client.go Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
config_test.go Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
config.go Use NegotiatedSerializer in client 2016-05-04 10:57:36 +02:00
plugin.go Add client auth plugin framework for kubectl with GCP auth plugin. 2016-04-14 17:49:16 -07:00
request_test.go Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
request.go Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
transport_test.go Add client auth plugin framework for kubectl with GCP auth plugin. 2016-04-14 17:49:16 -07:00
transport.go Add client auth plugin framework for kubectl with GCP auth plugin. 2016-04-14 17:49:16 -07:00
url_utils_test.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
url_utils.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
urlbackoff_test.go Add flow control pkg 2016-04-03 11:28:03 +08:00
urlbackoff.go Add flow control pkg 2016-04-03 11:28:03 +08:00
versions.go Move restclient to its own package 2016-02-29 12:05:13 -08:00