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
juanvallejo
d036686185
fix --local flag for `kubectl set` commands
2017-06-13 12:57:05 -04:00
Shiyang Wang
4597658cb9
add `kubectl apply edit-last-applied` subcommand
2017-05-26 00:20:48 +08:00
Zihong Zheng
c0920f75cf
Move API annotations into annotation_key_constants and remove api/annotations package
2017-05-16 21:55:23 -07:00
AdoHe
5ed1ab66a2
refactor edit to remove cobra dependency and also make it reusable
2017-04-18 20:44:25 +08:00
Brendan Burns
79f51923d3
Extract a bunch more strings from kubectl
2017-04-06 20:12:50 -07:00
deads2k
8895f314b4
move category expansion out of restmapper
2017-03-27 13:54:05 -04:00
Shiyang Wang
9bace3e379
add apply-set-last-applied subcommand
...
update
update code
update unit tests
hack/update
remove spew
update bazel
updated
add comments
remove unused parameter
remove hardcode
bump unit tests
add new flags
add unit tests
add bazel
genreate doc
2017-02-24 11:11:39 +08:00