Commit Graph

61 Commits

Author SHA1 Message Date
Clayton Coleman
68c46e7f52 kubectl label should support resource builder
Allow applying labels to all resources, by existing selector, and
soon allow multiple selection.
2015-03-26 14:01:05 -04:00
Tamer Tas
b39e31d8a3 Remove cmd from kubectl/cmd/factory 2015-03-18 14:23:14 +02:00
Jeff Lowdermilk
a5746c9a0e Fix md generation for kubectl docs
Display usage string, not long help, as code, remove angle brackets from
output (.md interprets as tags and hides).
2015-03-11 16:42:40 -07:00
Jeff Lowdermilk
cd7d78b696 Make kubectl commands return errors and centralize exit handling 2015-03-10 10:19:43 -07:00
Brendan Burns
f505a33998 Differentiate between server error messages and client error messages in kubectl 2015-03-07 11:39:23 +01:00
Clayton Coleman
35cc1b0c15 Mark old kubectl/resource.go methods as deprecated
Every command should use resource.Builder instead to have consistent
behavior.
2015-02-21 18:22:07 -05:00
Brendan Burns
86a0193f51 Merge pull request #4311 from kazegusuri/update_nil_label
kubectl label command crashes when a resource has no labels
2015-02-20 15:52:05 -08:00
Eric Paris
d508395828 Change all cobra commands to use the example section
This will output the examples in their own section, rather than as part
of the 'long' synposis.
2015-02-20 16:41:31 -05:00
MikeJeffrey
ca1e9f8061 Comments go above the sample line in kubectl docs. 2015-02-12 15:49:25 -08:00
Masahiro Sano
a841b91aed allocate map if Labels is not initialized 2015-02-11 20:05:41 +09:00
Brendan Burns
ac35aa5e32 Add a label command. 2015-02-09 20:09:02 -08:00