k3s/pkg/kubectl/cmd
Kubernetes Submit Queue fa3047880d
Merge pull request #54867 from juanvallejo/jvallejo/move-print-success-cmdutil-factory
Automatic merge from submit-queue (batch tested with PRs 55233, 55927, 55903, 54867, 55940). 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>.

move cmd/util/printing.go#PrintSuccess to factory_builder.go

**Release note**:
```release-note
NONE
```

This patch is one in a series of patches that aims to move all
printing functions to the `cmdutil.Factory` in order to make
the factory the one-stop shop for accessing printers in the client.

This PR is related to https://github.com/kubernetes/kubernetes/pull/50113 and aims to break that set of changes
by introducing a portion of them in this commit in order to make 
them easier to review.

@fabianofranz @mengqiy @shiywang @seans3
2017-11-18 12:26:15 -08:00
..
auth move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
config Merge pull request #46946 from kellycampbell/sort-contexts 2017-11-09 11:27:37 -08:00
resource Merge pull request #53483 from apelisse/openapi-columns 2017-11-18 11:36:19 -08:00
rollout move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
set Merge pull request #54867 from juanvallejo/jvallejo/move-print-success-cmdutil-factory 2017-11-18 12:26:15 -08:00
templates update BUILD files 2017-10-15 18:18:13 -07:00
testdata/edit kubectl apply edit-last-applied should fail when version is missing 2017-11-16 18:02:41 -05:00
testing Merge pull request #54867 from juanvallejo/jvallejo/move-print-success-cmdutil-factory 2017-11-18 12:26:15 -08:00
util Merge pull request #54867 from juanvallejo/jvallejo/move-print-success-cmdutil-factory 2017-11-18 12:26:15 -08:00
BUILD Show openapi custom columns in `kubectl get` 2017-11-15 14:02:27 -08:00
alpha.go Implement `kubectl alpha diff` to diff resources 2017-10-23 10:49:02 -07:00
annotate.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
annotate_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
apiversions.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
apply.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
apply_edit_last_applied.go enforce include-uninitialized in several kubectl commands 2017-08-31 16:30:56 +08:00
apply_set_last_applied.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
apply_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
apply_view_last_applied.go refactor builder in kubectl factory 2017-11-07 20:16:27 -08:00
attach.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
attach_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
autoscale.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
certificates.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
clusterinfo.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
clusterinfo_dump.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
clusterinfo_dump_test.go
cmd.go Merge pull request #48340 from superbrothers/completions-config-rename-context 2017-11-09 21:39:28 -08:00
cmd_test.go Merge pull request #54053 from WanLinghao/cmd_test_unused_function 2017-11-17 08:28:26 -08:00
completion.go Update help/example for kubectl completion 2017-08-18 14:29:42 -07:00
convert.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
convert_test.go add test for convert 2017-11-01 01:14:24 -07:00
cp.go The cp command must call Close() on files, and does not pass on Mac 2017-11-03 22:21:29 -04:00
cp_test.go The cp command must call Close() on files, and does not pass on Mac 2017-11-03 22:21:29 -04:00
create.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
create_clusterrole.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
create_clusterrole_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_clusterrolebinding.go Merge pull request #48267 from superbrothers/clusterrole-flag-completion 2017-10-03 22:04:00 -07:00
create_clusterrolebinding_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_configmap.go Add --append-hash flag to kubectl create configmap/secret 2017-08-28 14:17:47 -07:00
create_configmap_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_deployment.go Avoid fetching entire discovery tree when possible 2017-10-12 00:27:42 -04:00
create_deployment_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_namespace.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
create_namespace_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_pdb.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
create_pdb_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_priorityclass.go add create subcommand for priorityclass 2017-11-07 15:03:01 +08:00
create_priorityclass_test.go add create subcommand for priorityclass 2017-11-07 15:03:01 +08:00
create_quota.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
create_quota_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_role.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
create_role_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_rolebinding.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
create_rolebinding_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_secret.go update .dockercfg content to config.json 2017-10-18 14:33:14 -04:00
create_secret_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_service.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_service_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_serviceaccount.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
create_serviceaccount_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
create_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
delete.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
delete_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
describe.go refactor builder in kubectl factory 2017-11-07 20:16:27 -08:00
describe_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
diff.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
diff_test.go Implement `kubectl alpha diff` to diff resources 2017-10-23 10:49:02 -07:00
drain.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
drain_test.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
edit.go enforce include-uninitialized in several kubectl commands 2017-08-31 16:30:56 +08:00
edit_test.go Make edit test use subtests to identify flake 2017-11-16 15:45:59 -05:00
exec.go Merge pull request #55131 from stewart-yu/addnamespaces 2017-11-15 23:06:22 -08:00
exec_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
explain.go Move printing the valid resource types to a function 2017-10-30 23:45:45 -04:00
expose.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
expose_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
help.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
label.go Merge pull request #54867 from juanvallejo/jvallejo/move-print-success-cmdutil-factory 2017-11-18 12:26:15 -08:00
label_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
logs.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
logs_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
options.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
patch.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
patch_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
plugin.go exit with correct exit code on plugin failure 2017-10-18 19:01:29 -04:00
plugin_test.go kubectl plugins have access config, global flags and environment 2017-05-19 19:17:43 -03:00
portforward.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
portforward_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
proxy.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
replace.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
replace_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
rollingupdate.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
rollingupdate_test.go small change to clear 2017-05-11 20:09:31 +08:00
run.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
run_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
scale.go move cmd/util/printing.go#PrintSuccess to factory_builder.go 2017-11-15 10:46:39 -05:00
taint.go Merge pull request #54867 from juanvallejo/jvallejo/move-print-success-cmdutil-factory 2017-11-18 12:26:15 -08:00
taint_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
top.go Merge pull request #50620 from juanvallejo/jvallejo/update-kubectl-top-validation 2017-08-21 08:26:23 -07:00
top_node.go remove dependency from top command 2017-10-31 16:15:32 +08:00
top_node_test.go remove dependency from top command 2017-10-31 16:15:32 +08:00
top_pod.go remove dependency from top command 2017-10-31 16:15:32 +08:00
top_pod_test.go switch some commands to use its own scheme 2017-10-27 18:31:42 -07:00
top_test.go remove dependency from top command 2017-10-31 16:15:32 +08:00
version.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00