k3s/pkg/kubectl/cmd
Kubernetes Submit Queue 7a7ab200ee
Merge pull request #64242 from WanLinghao/ctl_print_fix
Automatic merge from submit-queue (batch tested with PRs 63417, 64249, 64242, 64128, 64275). 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>.

fix bugs that break processing when printing errors occur in kubectl

**What this PR does / why we need it**:
The process should continue when error happens, this patch fix the problem
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-05-24 20:49:15 -07:00
..
auth Merge pull request #63967 from deads2k/rbac-06-external 2018-05-22 08:40:26 -07:00
config move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
create Merge pull request #64114 from juanvallejo/jvallejo/remove-command-method-from-factory 2018-05-23 09:06:11 -07:00
get Merge pull request #64072 from CaoShuFeng/show_kind 2018-05-22 19:20:15 -07:00
rollout Merge pull request #64242 from WanLinghao/ctl_print_fix 2018-05-24 20:49:15 -07:00
scalejob Tolarate negative values when calculating job scale progress 2018-05-18 15:35:37 +02:00
set Merge pull request #64242 from WanLinghao/ctl_print_fix 2018-05-24 20:49:15 -07: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 fix describer tests 2018-05-24 10:50:49 -04:00
util Merge pull request #64233 from juanvallejo/jvallejo/move-describer-out-of-factory 2018-05-24 19:46:21 -07:00
wait add a discarding printer for testing and delegation 2018-05-22 08:47:42 -04:00
BUILD add wait 2018-05-22 08:47:42 -04:00
alpha.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
annotate.go move f.Command out of the factory 2018-05-22 13:31:01 -04:00
annotate_test.go simplify api registration 2018-05-08 18:33:50 -04:00
apiresources.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
apiversions.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
apply.go Merge pull request #64114 from juanvallejo/jvallejo/remove-command-method-from-factory 2018-05-23 09:06:11 -07:00
apply_edit_last_applied.go Switch kubectl resource completion to discovery 2018-05-04 09:57:36 -04:00
apply_set_last_applied.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
apply_test.go add wait 2018-05-22 08:47:42 -04:00
apply_view_last_applied.go move resource builder to generic options 2018-05-10 14:15:12 -04:00
attach.go move additional methods from factory 2018-05-18 11:49:02 -04:00
attach_test.go simplify api registration 2018-05-08 18:33:50 -04:00
autoscale.go Merge pull request #64114 from juanvallejo/jvallejo/remove-command-method-from-factory 2018-05-23 09:06:11 -07:00
certificates.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
clusterinfo.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
clusterinfo_dump.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
clusterinfo_dump_test.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
cmd.go Merge pull request #64034 from deads2k/cli-62-wait 2018-05-22 19:20:12 -07:00
cmd_printing_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
cmd_test.go fix describer tests 2018-05-24 10:50:49 -04:00
completion.go
convert.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
convert_test.go wire printflags through additional cmds 2018-04-25 16:07:32 -04:00
cp.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
cp_test.go Additional test coverage for kubectl/cmd/cp 2018-05-16 11:32:14 -04:00
delete.go Use DeleteOptions.PropagationPolicy instead of OrphanDependents (deprecated) in kubectl 2018-05-23 16:59:53 +10:00
delete_flags.go add wait 2018-05-22 08:47:42 -04:00
delete_test.go Use DeleteOptions.PropagationPolicy instead of OrphanDependents (deprecated) in kubectl 2018-05-23 16:59:53 +10:00
describe.go move Describer from factory 2018-05-24 09:43:28 -04:00
describe_test.go fix describer tests 2018-05-24 10:50:49 -04:00
diff.go start splitting polymorphic functions out of the factory 2018-05-17 08:55:31 -04:00
diff_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
drain.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
drain_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
edit.go Switch kubectl resource completion to discovery 2018-05-04 09:57:36 -04:00
edit_test.go move resource builder to generic options 2018-05-10 14:15:12 -04:00
exec.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
exec_test.go simplify api registration 2018-05-08 18:33:50 -04:00
explain.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
expose.go Move unrelated methods from the factory to helper 2018-05-24 11:42:26 +08:00
expose_test.go simplify api registration 2018-05-08 18:33:50 -04:00
help.go
label.go move f.Command out of the factory 2018-05-22 13:31:01 -04:00
label_test.go simplify api registration 2018-05-08 18:33:50 -04:00
logs.go convert Duration into seconds by go library function 2018-05-22 10:50:47 +08:00
logs_test.go start splitting polymorphic functions out of the factory 2018-05-17 08:55:31 -04:00
options.go
patch.go move f.Command out of the factory 2018-05-22 13:31:01 -04:00
patch_test.go simplify api registration 2018-05-08 18:33:50 -04:00
plugin.go remove single use, non-polymorphic helpers from factory 2018-05-15 15:05:49 -04:00
plugin_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
portforward.go move additional methods from factory 2018-05-18 11:49:02 -04:00
portforward_test.go simplify api registration 2018-05-08 18:33:50 -04:00
proxy.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
replace.go Merge pull request #64114 from juanvallejo/jvallejo/remove-command-method-from-factory 2018-05-23 09:06:11 -07:00
replace_test.go simplify api registration 2018-05-08 18:33:50 -04:00
rollingupdate.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
rollingupdate_test.go finish wiring PrintFlags 2018-04-27 21:41:03 +02:00
run.go Merge pull request #64114 from juanvallejo/jvallejo/remove-command-method-from-factory 2018-05-23 09:06:11 -07:00
run_test.go add wait 2018-05-22 08:47:42 -04:00
scale.go move f.Command out of the factory 2018-05-22 13:31:01 -04:00
taint.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
taint_test.go simplify api registration 2018-05-08 18:33:50 -04:00
top.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
top_node.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
top_node_test.go simplify api registration 2018-05-08 18:33:50 -04:00
top_pod.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
top_pod_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
top_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
version.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00