MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Table

Struct Table

cf/terminal/table.go:13–22  ·  view source on GitHub ↗

PrintableTable is an implementation of the Table interface. It remembers the headers, the added rows, the column widths, and a number of other things.

Source from the content-addressed store, hash-verified

11// remembers the headers, the added rows, the column widths, and a
12// number of other things.
13type Table struct {
14 ui UI
15 headers []string
16 headerPrinted bool
17 columnWidth []int
18 rowHeight []int
19 rows [][]string
20 colSpacing string
21 transformer []Transformer
22}
23
24// Transformer is the type of functions used to modify the content of
25// a table cell for actual display. For multi-line content of a cell

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected