k3s/pkg/registry
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
..
cachesize PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
componentstatus Refactor diff into sub pkg 2016-03-21 20:21:39 +08:00
configmap In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
controller Fix the rest of the code 2016-04-29 17:12:10 -04:00
daemonset In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
deployment Fix the rest of the code 2016-04-29 17:12:10 -04:00
endpoint In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
event In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
experimental/controller/etcd Fix the rest of the code 2016-04-29 17:12:10 -04:00
generic Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
horizontalpodautoscaler fix PrepareForUpdate bug for HPA 2016-05-05 09:39:03 +08:00
ingress In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
job Fix the rest of the code 2016-04-29 17:12:10 -04:00
limitrange In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
namespace Validate deletion timestamp doesn't change on update 2016-04-28 11:50:48 -04:00
node Fix the rest of the code 2016-04-29 17:12:10 -04:00
persistentvolume fix PrepareForUpdate bug for PV and PVC 2016-04-28 19:13:02 +08:00
persistentvolumeclaim fix PrepareForUpdate bug for PV and PVC 2016-04-28 19:13:02 +08:00
petset PetSet alpha controller 2016-05-04 18:39:17 -07:00
pod Merge pull request #24532 from rsc/master 2016-04-27 08:32:18 -07:00
podsecuritypolicy In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
podtemplate In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
registrytest Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
replicaset Fix the rest of the code 2016-04-29 17:12:10 -04:00
resourcequota In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
secret In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
service Fix the rest of the code 2016-04-29 17:12:10 -04:00
serviceaccount In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
thirdpartyresource In preparation for new storage backends renaming generic registry store 2016-04-26 08:32:13 -05:00
thirdpartyresourcedata Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
doc.go