Alexander Campbell
6fd36c10ad
kubectl/cmd: many small refactors
...
* Rename variables and functions to match Go convention.
For example, UsageError --> UsageErrorf.
* Remove redundant or unreachable code.
* Simplify some utility functions (no functionality changes).
* Fix hanging 'if { return } else { return }' constructs.
* Fix several incorrect printf verbs.
2017-06-27 16:25:20 -07:00
Alexander Campbell
ef9ae61240
kubectl: simplify code with help of linter
2017-06-23 09:49:30 -07:00
Alexander Campbell
f9913c4948
kubectl: rewrite docstrings in several files
...
Fixing inaccuracies and clarifying in the case of ambiguities.
2017-06-23 09:49:30 -07:00
Kubernetes Submit Queue
19d722671b
Merge pull request #43297 from mvdan/kubectl-params
...
Automatic merge from submit-queue
kubectl/cmd: remove a bunch of unused parameters
Found with github.com/mvdan/unparam.
**Release note**: NONE
2017-04-13 04:07:21 -07:00
Brendan Burns
79f51923d3
Extract a bunch more strings from kubectl
2017-04-06 20:12:50 -07:00
Daniel Martí
810dbc5e98
kubectl/cmd: remove a bunch of unused parameters
...
Found with github.com/mvdan/unparam.
2017-04-04 10:36:30 +01:00
Brendan Burns
d9c4a289a6
Extract strings for translation.
2017-02-06 22:32:01 -08:00
Brendan Burns
d65757fb88
add kubectl cp
2016-10-29 20:24:54 -07:00