kubernetes/pkg/kubectl
Kubernetes Submit Queue f331434774
Merge pull request #60154 from deads2k/cli-11-decoder
Automatic merge from submit-queue (batch tested with PRs 60148, 60022, 59125, 60068, 60154). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

 remove unneeded factory codec methods

Builds on https://github.com/kubernetes/kubernetes/pull/60117, so only the last commit is unique.

After we collapsed onto our own internal scheme for managing conversion and typing, the flexibility in codecs is the next area to collapse.  This pull eliminates those methods from the factory and then removes lots of dead code in the fake factories that supported this un-used flexibility

@kubernetes/sig-cli-maintainers 
@pwittrock @adohe @soltysh looking cleaner all the time.

```release-note
NONE
```
2018-02-21 18:09:51 -08:00
..
apply Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
apps Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
categories Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cmd remove unneeded factory codec methods 2018-02-21 15:20:20 -05:00
explain Merge pull request #60154 from deads2k/cli-11-decoder 2018-02-21 18:09:51 -08:00
metricsutil kubectl: Use metrics-server for kubectl top commands 2018-01-22 21:45:06 +01:00
plugins Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
proxy Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
resource Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
scheme remove unneeded factory codec methods 2018-02-21 15:20:20 -05:00
util Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
validation Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
.import-restrictions Move scheduler code out of plugin directory. 2018-01-05 15:05:01 -08:00
apply.go remove internal version api from apply 2017-12-11 13:49:39 +05:30
autoscale.go refactor kubectl autoscale to use the new generator 2017-11-20 14:12:20 +08:00
autoscale_test.go refactor kubectl autoscale to use the new generator 2017-11-20 14:12:20 +08:00
bash_comp_utils.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
clusterrolebinding.go add UT for pkg/kubecl clusterrolebinding 2017-08-28 15:13:15 +08:00
clusterrolebinding_test.go add UT for pkg/kubecl clusterrolebinding 2017-08-28 15:13:15 +08:00
configmap.go Add support for binary file in configmap 2018-01-23 07:28:34 -05:00
configmap_test.go Add support for binary file in configmap 2018-01-23 07:28:34 -05:00
delete.go removes the remainder from ScalerFor method 2018-01-29 20:02:27 +01:00
delete_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
deployment.go kubectl: deploy generators don't need to impl Generator iface 2017-07-31 12:26:17 -07:00
deployment_test.go add ut for pkg/kubectl/deployment.go 2017-08-22 11:10:21 +08:00
doc.go kubectl: rewrite docstrings in several files 2017-06-23 09:49:30 -07:00
env_file.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
env_file_test.go kubectl: refactor addFromEnvFile, write tests 2017-06-23 09:49:30 -07:00
generate.go UTs for pkg/kubectl generate_test.go 2017-08-03 21:34:03 +08:00
generate_test.go UTs for pkg/kubectl generate_test.go 2017-08-03 21:34:03 +08:00
history.go Promote SS to apps/v1 2018-01-18 13:48:52 +05:30
history_test.go Refactor HistoryViewerFor to use Visitor design pattern 2017-11-09 08:11:19 +00:00
interfaces.go find and replace 2017-01-20 08:04:53 -05:00
kubectl.go kubectl: Move utility functions to util package 2017-09-04 20:14:16 +10:00
namespace.go Remove kubectl create namespace dependencies on kubernetes/pkg/api 2017-10-25 20:26:11 +08:00
namespace_test.go Remove unused code in UT files in pkg/ 2018-01-15 16:02:35 +08:00
OWNERS Revert "update kubectl approvers" 2017-01-25 17:32:22 -08:00
pdb.go Print type representation on errors when checking parameter types 2017-11-01 10:36:17 +01:00
pdb_test.go Print type representation on errors when checking parameter types 2017-11-01 10:36:17 +01:00
priorityclass.go add create subcommand for priorityclass 2017-11-07 15:03:01 +08:00
priorityclass_test.go add create subcommand for priorityclass 2017-11-07 15:03:01 +08:00
quota.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
quota_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
resource_filter.go fix resource filter for generic printers on get 2018-02-20 22:10:44 -05:00
resource_filter_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
rolebinding.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
rolebinding_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
rollback.go Promote SS to apps/v1 2018-01-18 13:48:52 +05:30
rollback_test.go Replace type switches in Rollback with Visitor pattern 2017-11-19 17:46:57 +00:00
rolling_updater.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
rolling_updater_test.go Remove unused code in UT files in pkg/ 2018-01-15 16:02:35 +08:00
rollout_status.go use extensions client with explicit version 2017-11-22 21:18:14 +08:00
rollout_status_test.go Replace some occurances of kubernetes internal api types in kubectl 2017-11-08 18:27:45 +01:00
run.go Merge pull request #54554 from zjj2wry/set-dep 2017-11-11 12:44:30 -08:00
run_test.go Enable batch/v1beta1.CronJobs by default 2017-09-03 11:17:33 +02:00
scale.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
scale_test.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
secret.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
secret_for_docker_registry.go Fix problem accessing private docker registries 2017-12-20 12:37:40 -05:00
secret_for_docker_registry_test.go Fix problem accessing private docker registries 2017-12-20 12:37:40 -05:00
secret_for_tls.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
secret_for_tls_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
secret_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
service.go remove dependency from service generator 2017-10-31 15:35:36 +08:00
service_basic.go Make sure the ports is valid when parsing portString 2017-11-13 20:46:05 +08:00
service_basic_test.go Make sure the ports is valid when parsing portString 2017-11-13 20:46:05 +08:00
service_test.go remove dependency from service generator 2017-10-31 15:35:36 +08:00
serviceaccount.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
serviceaccount_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
sorting_printer.go Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
sorting_printer_test.go pkg/api/legacyscheme: fixup imports 2017-10-18 17:23:55 +02:00