k3s/pkg/kubectl/cmd
Kubernetes Submit Queue eaa3aa382a
Merge pull request #63398 from deads2k/cli-45-conversion
Automatic merge from submit-queue (batch tested with PRs 63258, 63398, 63403). 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 unnessary kubectl conversions

Working with unstructured types means that conversion can be eliminated.  This pulls  it from places I noticed.

/assign @juanvallejo 

@kubernetes/sig-cli-misc 

```release-note
NONE
```
2018-05-03 12:48:13 -07:00
..
auth acknowledge that creation of a restmapper can fail and that we cannot have a default 2018-05-01 07:52:51 -04:00
config Update gofmt for go1.10 2018-04-02 17:44:04 -07:00
create get the resource.Info out of the conversion business 2018-05-01 07:58:42 -04:00
get 1.fix kubectl get * --all-namespaces 2018-05-02 11:27:22 +08:00
rollout update restmapping to indicate fully qualified resource 2018-05-01 16:34:49 -04:00
scalejob segregate job scaling from everything else 2018-04-05 10:24:34 -04:00
set get the resource.Info out of the conversion business 2018-05-01 07:58:42 -04:00
templates Filter unavailable commands in help 2018-04-20 16:52:26 +02:00
testdata/edit Merge pull request #62657 from matthyx/master 2018-05-02 19:44:32 -07:00
testing acknowledge that creation of a restmapper can fail and that we cannot have a default 2018-05-01 07:52:51 -04:00
util Merge pull request #63398 from deads2k/cli-45-conversion 2018-05-03 12:48:13 -07:00
BUILD stop using Info.Mappings when they may not be present 2018-05-03 08:12:05 -04:00
alpha.go Implement `kubectl alpha diff` to diff resources 2017-10-23 10:49:02 -07:00
annotate.go Merge pull request #60717 from liggitt/field-selector 2018-05-01 11:20:24 -07:00
annotate_test.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
apiresources.go Add name output and verb filtering to api-resources 2018-04-27 12:36:28 -04:00
apiversions.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
apply.go tighten .Info for kubectl to avoid unpredictable conversion 2018-04-26 12:47:25 -04:00
apply_edit_last_applied.go provide standard iostream struct for commands 2018-04-20 12:54:11 -04:00
apply_set_last_applied.go remove unnessary kubectl conversions 2018-05-03 08:06:53 -04:00
apply_test.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
apply_view_last_applied.go remove confusing flexibility for metadata interpretation 2018-04-23 13:31:55 -04:00
attach.go remove unnecessarily flexibiliy to simplify the resource builder 2018-04-27 09:27:51 -04:00
attach_test.go stop duplicating preferred version order 2018-04-26 10:03:36 -04:00
autoscale.go get the resource.Info out of the conversion business 2018-05-01 07:58:42 -04:00
certificates.go get the resource.Info out of the conversion business 2018-05-01 07:58:42 -04:00
clusterinfo.go remove unnecessarily flexibiliy to simplify the resource builder 2018-04-27 09:27:51 -04:00
clusterinfo_dump.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
clusterinfo_dump_test.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
cmd.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
cmd_test.go wire PrintFlags through get cmd 2018-04-25 15:02:48 -04:00
completion.go fix kubectl_filedir completion 2018-03-13 16:21:30 -04:00
convert.go remove unnecessarily flexibiliy to simplify the resource builder 2018-04-27 09:27:51 -04:00
convert_test.go wire printflags through additional cmds 2018-04-25 16:07:32 -04:00
cp.go wire printflags through additional cmds 2018-04-25 16:07:32 -04:00
cp_test.go report outputFormat in PrintFlags err 2018-04-25 16:35:56 -04:00
delete.go Add field selector support to delete, label, annotate 2018-04-24 16:18:04 -04:00
delete_flags.go Add field selector support to delete, label, annotate 2018-04-24 16:18:04 -04:00
delete_test.go Merge pull request #60717 from liggitt/field-selector 2018-05-01 11:20:24 -07:00
describe.go don't reuse resource builder in describe 2018-05-02 16:53:26 -04:00
describe_test.go remove hardcoded list of resources 2018-04-26 09:31:58 -04:00
diff.go fix kubectl apply error message 2018-03-17 15:08:26 +08:00
diff_test.go Implement `kubectl alpha diff` to diff resources 2017-10-23 10:49:02 -07:00
drain.go update restmapping to indicate fully qualified resource 2018-05-01 16:34:49 -04:00
drain_test.go acknowledge that creation of a restmapper can fail and that we cannot have a default 2018-05-01 07:52:51 -04:00
edit.go wire printflags through additional cmds 2018-04-25 16:07:32 -04:00
edit_test.go provide standard iostream struct for commands 2018-04-20 12:54:11 -04:00
exec.go flag value bindings for kubectl attach/convert/delete/drain/edit/exec commands 2018-02-28 15:21:39 +08:00
exec_test.go Remove invalid comments in unit tests 2018-03-10 15:08:12 +08:00
explain.go acknowledge that creation of a restmapper can fail and that we cannot have a default 2018-05-01 07:52:51 -04:00
expose.go get the resource.Info out of the conversion business 2018-05-01 07:58:42 -04:00
expose_test.go wire printflags through additional cmds 2018-04-25 16:07:32 -04:00
help.go some code change 2017-12-25 16:23:38 +08:00
label.go Merge pull request #63258 from deads2k/cli-42-simplify-buidler 2018-05-03 12:48:10 -07:00
label_test.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
logs.go remove unnecessarily flexibiliy to simplify the resource builder 2018-04-27 09:27:51 -04:00
logs_test.go Support multi-container pod for "kubectl logs" 2018-03-27 11:44:31 +08:00
options.go
patch.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
patch_test.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
plugin.go some code change 2017-12-25 16:23:38 +08:00
plugin_test.go use temp kubeconfig for fake factory 2018-03-09 15:53:19 -05:00
portforward.go remove unnecessarily flexibiliy to simplify the resource builder 2018-04-27 09:27:51 -04:00
portforward_test.go Remove invalid comments in unit tests 2018-03-10 15:08:12 +08:00
proxy.go some code change 2017-12-25 16:23:38 +08:00
replace.go tighten .Info for kubectl to avoid unpredictable conversion 2018-04-26 12:47:25 -04:00
replace_test.go Remove examples directory 2018-04-24 19:45:43 +01:00
rollingupdate.go finish wiring PrintFlags 2018-04-27 21:41:03 +02:00
rollingupdate_test.go finish wiring PrintFlags 2018-04-27 21:41:03 +02:00
run.go update restmapping to indicate fully qualified resource 2018-05-01 16:34:49 -04:00
run_test.go update more commands for iostreams 2018-04-25 08:45:15 -04:00
scale.go update restmapping to indicate fully qualified resource 2018-05-01 16:34:49 -04:00
taint.go Merge pull request #63258 from deads2k/cli-42-simplify-buidler 2018-05-03 12:48:10 -07:00
taint_test.go finish wiring PrintFlags 2018-04-27 21:41:03 +02:00
top.go flag value bindings for kubectl label/patch/taint/top commands 2018-02-24 16:37:19 +08:00
top_node.go flag value bindings for kubectl label/patch/taint/top commands 2018-02-24 16:37:19 +08:00
top_node_test.go use temp kubeconfig for fake factory 2018-03-09 15:53:19 -05:00
top_pod.go flag value bindings for kubectl label/patch/taint/top commands 2018-02-24 16:37:19 +08:00
top_pod_test.go use temp kubeconfig for fake factory 2018-03-09 15:53:19 -05:00
top_test.go use temp kubeconfig for fake factory 2018-03-09 15:53:19 -05:00
version.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00