k3s/pkg/kubectl/cmd/util
Kubernetes Submit Queue 6236cddab7
Merge pull request #54881 from juanvallejo/jvallejo/use-printer-for-cmd-through-factory
Automatic merge from submit-queue (batch tested with PRs 56676, 57050, 54881, 56822, 57113). 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>.

ensure PrinterForCommand is consumed through cmdutil.Factory

**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 the set of changes
introduced in this commit in order to make them easier to review.

@fabianofranz @mengqiy @shiywang
2017-12-16 19:19:44 -08:00
..
editor All commands must declare Unstructured or Internal 2017-11-19 20:41:02 -05:00
env use core client with explicit version 2017-11-25 08:14:10 +08:00
jsonmerge update BUILD files 2017-10-15 18:18:13 -07:00
openapi Merge pull request #53765 from tanshanshan/fix-bug1 2017-11-21 21:38:59 -08:00
sanity update BUILD files 2017-10-15 18:18:13 -07:00
BUILD All commands must declare Unstructured or Internal 2017-11-19 20:41:02 -05:00
cached_discovery.go discovery client not depend on pkg/api/legacyscheme 2017-11-02 14:59:21 -07:00
cached_discovery_test.go kubectl: Remove swagger 1.2 entirely. 2017-10-10 14:50:56 -07:00
clientcache.go Remove all traces of federation 2017-10-26 13:37:37 -07:00
factory.go pass printOpts by pointer 2017-11-20 14:49:23 -05:00
factory_builder.go ensure PrinterForCommand is consumed through cmdutil.Factory 2017-12-05 13:39:29 -05:00
factory_client_access.go Merge pull request #55913 from wackxu/refauto 2017-12-14 00:45:18 -08:00
factory_object_mapping.go All commands must declare Unstructured or Internal 2017-11-19 20:41:02 -05:00
factory_object_mapping_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
factory_test.go Add a lazy discovery interface for Unstructured 2017-11-19 19:16:50 -05:00
helpers.go add create subcommand for priorityclass 2017-11-07 15:03:01 +08:00
helpers_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
printing.go update type-check to use printers.PritnHandler 2017-12-05 13:39:55 -05:00
shortcut_restmapper.go Add a lazy discovery interface for Unstructured 2017-11-19 19:16:50 -05:00
shortcut_restmapper_test.go Add a lazy discovery interface for Unstructured 2017-11-19 19:16:50 -05:00