summaryrefslogtreecommitdiff
path: root/cmd/podman/report/format_test.go
Commit message (Collapse)AuthorAge
* Refactor podman to use c/common/pkg/reportJhon Honce2020-10-21
| | | | | | | All formatting for containers stack moved into one package The does not correct issue with headers when using custom tables Signed-off-by: Jhon Honce <jhonce@redhat.com>
* Restore "table" --format from V1Jhon Honce2020-10-02
* --format "table {{.field..." will print fields out in a table with headings. Table keyword is removed, spaces between fields are converted to tabs * Update parse.MatchesJSONFormat()'s regex to be more inclusive * Add report.Headers(), obtain all the field names to be used as column headers, a map of field name to column headers may be provided to override the field names * Update several commands to use new functions Signed-off-by: Jhon Honce <jhonce@redhat.com>