kubernetes/pkg/kubectl/genericclioptions
juanvallejo 122e748e18
fix go-template defaulting for commands w default output format
Fixes defaulting done for commands that default to a specific output
format (such as yaml, json) when a --template flag is provided and no
explicit --output value is given.

Under the above case, these commands will now properly default to
honoring the --template argument given, and default their --output
format to "go-template".
2018-07-03 17:50:33 -04:00
..
printers make template printers a recommended printer 2018-07-03 07:47:17 -04:00
resource make builder tolerant of restmapper failures when it doesn't need the answer 2018-06-29 11:07:36 -04:00
BUILD make template printers a recommended printer 2018-07-03 07:47:17 -04:00
builder_flags_fake.go add resource builder flags 2018-05-29 10:46:54 -04:00
builder_flags.go update set selector to use resource builder flags 2018-05-29 12:47:19 -04:00
config_flags_fake.go remove unnecessary factory delegation for RESTClientGetter method 2018-05-28 15:12:41 +02:00
config_flags.go start splitting polymorphic functions out of the factory 2018-05-17 08:55:31 -04:00
doc.go fix up record flags 2018-04-18 13:56:59 -04:00
filename_flags.go move filename flags to genericclioptions 2018-05-28 11:09:51 +02:00
io_options.go provide standard iostream struct for commands 2018-04-20 12:54:11 -04:00
json_yaml_flags_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
json_yaml_flags.go fix kubectl -o 2018-06-05 19:49:07 +08:00
jsonpath_flags_test.go move template printers to genericclioptions 2018-07-03 07:46:51 -04:00
jsonpath_flags.go move template printers to genericclioptions 2018-07-03 07:46:51 -04:00
kube_template_flags.go make template printers a recommended printer 2018-07-03 07:47:17 -04:00
name_flags_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
name_flags.go fix kubectl -o 2018-06-05 19:49:07 +08:00
print_flags.go fix go-template defaulting for commands w default output format 2018-07-03 17:50:33 -04:00
record_flags.go move f.Command out of the factory 2018-05-22 13:31:01 -04:00
template_flags_test.go move template printers to genericclioptions 2018-07-03 07:46:51 -04:00
template_flags.go move template printers to genericclioptions 2018-07-03 07:46:51 -04:00