Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CSVPrinter ¶
type CSVPrinter struct {
Filter
NoHeaders bool
Path []string
Columns []string
SortBy []string
Formatters Formatters
}
func (*CSVPrinter) PrintResult ¶
func (p *CSVPrinter) PrintResult(w io.Writer, result *jnode.Node)
type Formatters ¶
type JSONPrinter ¶
type JSONPrinter struct{}
func (*JSONPrinter) PrintResult ¶
func (p *JSONPrinter) PrintResult(w io.Writer, n *jnode.Node)
type TablePrinter ¶
type TablePrinter struct {
Filter
NoHeaders bool
Path []string
Columns []string
SortBy []string
Formatters Formatters
}
func (*TablePrinter) PrintHeader ¶
func (p *TablePrinter) PrintHeader(w io.Writer)
func (*TablePrinter) PrintResult ¶
func (p *TablePrinter) PrintResult(w io.Writer, result *jnode.Node)
type YAMLPrinter ¶
type YAMLPrinter struct{}
func (*YAMLPrinter) PrintResult ¶
func (p *YAMLPrinter) PrintResult(w io.Writer, n *jnode.Node)
Click to show internal directories.
Click to hide internal directories.