k3s/pkg/kubectl
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
..
cmd Merge pull request #25074 from AdoHe/remove_container_args 2016-05-04 14:44:14 -07:00
resource Split the storage and negotiation parts of Codecs 2016-05-05 12:08:23 -04:00
testing regen codecs 2016-02-13 09:15:39 -05:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
apply.go Break kubectl from assuming details of codecs 2016-01-22 13:27:26 -05:00
autoscale.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
bash_comp_utils.go
configmap.go Add kubectl create configmap 2016-02-18 21:24:21 -05:00
configmap_test.go Add kubectl create configmap 2016-02-18 21:24:21 -05:00
custom_column_printer.go Rename RawJSON to Raw in runtime.Unknown and add ContentType & ContentEncoding. 2016-03-16 16:43:58 +01:00
custom_column_printer_test.go ExtractList should handle v1.RawExtension correctly 2016-01-27 15:30:21 -05:00
describe.go PetSet alpha controller 2016-05-04 18:39:17 -07:00
describe_test.go kubectl: enhance podtemplate describer 2016-03-25 19:56:23 +01:00
doc.go
explain.go Tweak explain messages and abstract client 2015-12-18 00:27:22 -05:00
generate.go kubectl: Validate flag usage against generators 2015-12-18 15:09:53 +01:00
generate_test.go
history.go Switch api.ObjetaMetaFor to meta.Accessor 2016-03-31 17:52:31 +02:00
interfaces.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
kubectl.go Make kubectl bash completion namespace aware and add noun aliases 2016-04-03 16:25:56 +02:00
kubectl_test.go Add kubectl create configmap 2016-02-18 21:24:21 -05:00
namespace.go Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
namespace_test.go Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
proxy_server.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
proxy_server_test.go Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
resource_printer.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
resource_printer_test.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
rollback.go Stop the users from rolling back a paused deployment in kubectl rollout undo 2016-03-16 15:46:22 -07:00
rolling_updater.go Merge pull request #24645 from jlowdermilk/rolling-update 2016-05-04 07:24:22 -07:00
rolling_updater_test.go Merge pull request #24645 from jlowdermilk/rolling-update 2016-05-04 07:24:22 -07:00
run.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
run_test.go Move internal types of job from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:54 +02:00
scale.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
scale_test.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
secret.go Add kubectl create configmap 2016-02-18 21:24:21 -05:00
secret_for_docker_registry.go Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
secret_for_docker_registry_test.go Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
secret_test.go Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
service.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
service_test.go Refactor IntOrString into a new pkg 2015-11-16 10:57:52 -08:00
serviceaccount.go added 'kubectl create sa' to create serviceaccounts 2016-02-26 10:27:37 -05:00
serviceaccount_test.go added 'kubectl create sa' to create serviceaccounts 2016-02-26 10:27:37 -05:00
sorted_event_list.go
sorted_event_list_test.go This commit fixes tests. 2015-11-24 09:16:12 -05:00
sorted_resource_name_list.go Improve rendering of multiple quotas in namespace; show scopes 2016-02-26 20:34:15 -05:00
sorting_printer.go Rename RawJSON to Raw in runtime.Unknown and add ContentType & ContentEncoding. 2016-03-16 16:43:58 +01:00
sorting_printer_test.go Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding. 2016-03-18 12:35:27 +01:00
stop.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
stop_test.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
version.go move ServerVersion to DiscoveryClient 2016-01-13 10:11:52 -08:00
watchloop.go