Documentation ¶
Index ¶
- func NewTableSection(out io.Writer) *tablewriter.Table
- func PrintJson(out io.Writer, v interface{}) error
- func PrintTable(out io.Writer, v interface{}, getRow func(row interface{}) []string, ...) error
- func PrintTableParameterSet(out io.Writer, params [][]string, headers ...string) error
- func PrintYaml(out io.Writer, v interface{}) error
- type Format
- type Formats
- type PrintOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTableSection ¶ added in v0.28.0
func NewTableSection(out io.Writer) *tablewriter.Table
func PrintTable ¶
func PrintTable(out io.Writer, v interface{}, getRow func(row interface{}) []string, headers ...string) error
PrintTable outputs a dataset in tabular format
func PrintTableParameterSet ¶ added in v1.0.16
Types ¶
type PrintOptions ¶
func (*PrintOptions) ParseFormat ¶
func (p *PrintOptions) ParseFormat() error
Click to show internal directories.
Click to hide internal directories.