File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
content/en/docs/reference/kubectl Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -431,6 +431,8 @@ Output format | Description
431
431
--------------| -----------
432
432
` -o=custom-columns=<spec> ` | Print a table using a comma separated list of custom columns
433
433
` -o=custom-columns-file=<filename> ` | Print a table using the custom columns template in the ` <filename> ` file
434
+ ` -o=go-template=<template> ` | Print the fields defined in a [ golang template] ( https://pkg.go.dev/text/template )
435
+ ` -o=go-template-file=<filename> ` | Print the fields defined by the [ golang template] ( https://pkg.go.dev/text/template ) in the ` <filename> ` file
434
436
` -o=json ` | Output a JSON formatted API object
435
437
` -o=jsonpath=<template> ` | Print the fields defined in a [ jsonpath] ( /docs/reference/kubectl/jsonpath ) expression
436
438
` -o=jsonpath-file=<filename> ` | Print the fields defined by the [ jsonpath] ( /docs/reference/kubectl/jsonpath ) expression in the ` <filename> ` file
You can’t perform that action at this time.
0 commit comments