juanvallejo
2a202cf49a
update PrintFlags#Complete to receive string template
2018-04-06 16:44:40 -04:00
juanvallejo
4b4b6c879a
begin wiring printflags through set cmds
2018-04-05 16:34:51 -04:00
juanvallejo
a3a430ce01
wire through humanreadable flags
2018-04-03 13:59:35 -04:00
juanvallejo
ec672ca279
wire through template PrintFlags
2018-03-27 18:11:01 -04:00
Kubernetes Submit Queue
dcdf70a134
Merge pull request #61501 from juanvallejo/jvallejo/add-custom-columns-flags
...
Automatic merge from submit-queue (batch tested with PRs 61434, 61501, 59609, 61467, 61531). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
wire through custom-column print flags
**Release note**:
```release-note
NONE
```
Begin implementing pieces needed to retrieve custom-column printers from a set of flags.
Proposal: https://docs.google.com/document/d/19ZZFVe9oD1KQmk5uExggRWtRl_hKGfYnBXvHZJlgEro/edit#heading=h.pnvbfi14v4zz
cc @soltysh @deads2k @pwittrock
2018-03-26 19:52:07 -07:00
juanvallejo
e4cdb9fc52
wire through custom-column print flags
2018-03-26 10:11:09 -04:00
juanvallejo
aa38cea4d1
wire through name/success print flags
2018-03-26 10:00:45 -04:00
juanvallejo
02be089bb3
wire through json/yaml print flags
2018-03-22 11:32:30 -04:00
juanvallejo
765f9ec68b
update -o name format to kind.group/name
2018-02-15 10:33:06 -05:00
juanvallejo
d3773b4b06
consolidate printer OutputOpts w PrintOpts
...
This patch removes the use of printers.OutputOptions in favor of only
having a single struct for setting / passing printer options set by user
flags.
2017-11-20 14:49:23 -05:00
allencloud
389cd57014
remove duplicated word file in error
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
2017-07-14 18:01:51 +08:00
Sunil Arora
f768a63fb0
Get cmd uses print-column extn from Openapi schema
...
Get command now uses metadata x-kubernetes-print-columns, if present, in Openapi schema
to format output for a resource. This functionality is guarded by a boolean
flag 'use-openapi-print-columns'.
2017-06-06 13:30:24 -07:00
Waseem Ahmad
8442a118ea
Denote if a printer is generic.
...
This fixes #38779 .
This allows us to avoid case in which printers.GetStandardPrinter
returns nil for both printer and err removing any potential panics that
may arise throughout kubectl commands.
Please see #38779 and #38112 for complete context.
Add comment explaining adding handlers to printers.HumanReadablePrinter
also remove an unnecessary conversion of printers.HumanReadablePrinter
to printers.ResourcePrinter.
2017-05-31 13:02:23 +05:30
Clayton Coleman
6d1c7308a5
Move, but do not refactor, printers to their own package
2017-02-23 00:28:30 -05:00