k3s/pkg/registry/thirdpartyresourcedata
Clayton Coleman 2fd38a7dc0 Break kubectl from assuming details of codecs
Most of the logic related to type and kind retrieval belongs in the
codec, not in the various classes. Make it explicit that the codec
should handle these details.

Factory now returns a universal Decoder and a JSONEncoder to assist code
in kubectl that needs to specifically deal with JSON serialization
(apply, merge, patch, edit, jsonpath). Add comments to indicate the
serialization is explicit in those places. These methods decode to
internal and encode to the preferred API version as previous, although
in the future they may be changed.

React to removing Codec from version interfaces and RESTMapping by
passing it in to all the places that it is needed.
2016-01-22 13:27:26 -05:00
..
etcd update StatusDetails to handle Groups 2015-12-17 09:14:12 -05:00
codec.go Break kubectl from assuming details of codecs 2016-01-22 13:27:26 -05:00
codec_test.go Update thirdpartyresourcecodec with new Decoder 2016-01-22 13:27:25 -05:00
doc.go Add dynamic APIs 2015-08-31 21:13:07 -07:00
registry.go Switch to versioned ListOptions in server. 2015-12-21 14:23:37 +01:00
strategy.go Move FieldPath and errors to a sub-package 2015-12-10 11:48:16 -08:00
strategy_test.go Add missing field label conversions 2016-01-14 10:00:45 +01:00
util.go experimental. -> extensions. 2015-10-09 15:49:10 -07:00
util_test.go experimental. -> extensions. 2015-10-09 15:49:10 -07:00