k3s/pkg
Kubernetes Submit Queue 18e8bedb2b Merge pull request #48079 from alexandercampbell/kubectl-many-small-refactors
Automatic merge from submit-queue (batch tested with PRs 48123, 48079)

kubectl/cmd: many small refactors

#### Improve Code Quality in `pkg/kubectl/cmd`

___

 * [x] Rename variables and functions to match Go convention. For example, UsageError --> UsageErrorf.
 * [x] Remove redundant or unreachable code.
 * [x] Simplify some utility functions (no functionality changes).
 * [x] Fix hanging 'if { return } else { return }' constructs.
 * [x] Fix several incorrect printf verbs.

These changes were extracted from the refactoring and flag parity work I'm doing in kubectl.

**Release note**:

```release-note
NONE
```
2017-06-28 02:00:10 -07:00
..
api Autogenerated files 2017-06-26 15:02:49 -07:00
apimachinery/tests run hack/update-all 2017-06-22 11:31:03 -07:00
apis run hack/update-all 2017-06-22 11:31:03 -07:00
auth Only do string trim when it's necessary 2017-06-15 17:32:31 +08:00
bootstrap/api run hack/update-all 2017-06-22 11:31:03 -07:00
capabilities
client run hack/update-all 2017-06-22 11:31:03 -07:00
cloudprovider Merge pull request #48003 from MrHohn/gce-xlb-cleanup 2017-06-27 14:08:21 -07:00
controller Merge pull request #46761 from yastij/syncService-remove-copy 2017-06-27 15:02:00 -07:00
conversion
credentialprovider run hack/update-all 2017-06-22 11:31:03 -07:00
features Add priority to Kubernetes API 2017-06-26 13:43:19 -07:00
fieldpath run hack/update-all 2017-06-22 11:31:03 -07:00
fields
generated run hack/update-all 2017-06-22 11:31:03 -07:00
hyperkube
kubeapiserver Merge pull request #47038 from yastij/DefaultExternalHost-for-registredCP 2017-06-27 08:29:25 -07:00
kubectl kubectl/cmd: many small refactors 2017-06-27 16:25:20 -07:00
kubelet Merge pull request #48123 from msau42/fix-allocatable-race 2017-06-28 02:00:07 -07:00
kubemark Merge pull request #47783 from NickrenREN/containerruntime 2017-06-23 08:29:28 -07:00
labels
master run hack/update-all 2017-06-22 11:31:03 -07:00
metrics
printers Move DaemonSet to table printer 2017-06-26 20:58:02 -04:00
probe Extend Iptables interface with SaveInto 2017-05-19 20:44:25 +02:00
proxy Move iptables logging in kubeproxy from Errorf to V(2).Infof 2017-06-26 19:59:23 +02:00
quota run hack/update-all 2017-06-22 11:31:03 -07:00
registry run hack/update-all 2017-06-22 11:31:03 -07:00
routes Merge pull request #45490 from deads2k/owners-01-extensions 2017-05-10 12:51:51 -07:00
runtime
security run hack/update-all 2017-06-22 11:31:03 -07:00
securitycontext run hack/update-all 2017-06-22 11:31:03 -07:00
serviceaccount run hack/update-all 2017-06-22 11:31:03 -07:00
ssh
types
util Merge pull request #47242 from k82cn/make_golint_happy 2017-06-26 20:02:40 -07:00
version Convert go_binary linkstamp to x_defs 2017-06-08 14:59:55 -07:00
volume Merge pull request #47647 from humblec/glusterfs-unused-var 2017-06-26 11:41:01 -07:00
watch
BUILD run hack/update-all 2017-06-22 11:31:03 -07:00
OWNERS