Documentation ¶
Index ¶
- func ConstructTable(numRows int, numCols int, widths []int, rows [][]string, writer io.Writer) error
- func GetColumnWidths(numRows int, numCols int, rows [][]string) []int
- func JsonOutput(obj interface{}, writer io.Writer) error
- func TableOutput(obj interface{}, writer io.Writer) error
- func TableOutputForGetCommands(obj interface{}, writer io.Writer) error
- func YamlOutput(obj interface{}, writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructTable ¶
func JsonOutput ¶
func TableOutput ¶
func TableOutputForGetCommands ¶
tableOutputForGetCommands formats the table output for "get" commands.
func YamlOutput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.