chenyaqi01
3175c9e226
simplify regexp with raw string
2019-09-20 16:53:56 +08:00
Jordan Liggitt
13273468b4
Add ability to output watch events from kubectl get
2019-06-28 16:24:54 -07:00
Mike Dame
5f3818230d
Move pkg/util/printers to staging and update refs
2019-06-20 20:35:38 -04:00
Ilya Dmitrichenko
6d7a9048b6
Move printers & resources packages
...
These packages deserve to live at the top level of `k8s.io/cli-runtime`,
as they are potentially of wider use than genericclioptions.
2019-03-07 23:00:24 +00:00
WanLinghao
97ec74df03
The client-go library supports user get Object info in the form of .spec.containers[0:3].name.
...
But kubectl get command doesn't support this.
This patch fix this, now users could get object info like:
a. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0:3].name
b. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[-2:].name
2019-01-31 09:38:04 +08:00
Jordan Liggitt
2b1a2d361f
Use tabwriter with remembered column widths
2019-01-01 22:27:36 -05:00
Sean Sullivan
e0b712d428
kubectl: move custom columns printers and flags
2018-11-12 14:31:59 -08:00