| 24 | ) |
| 25 | |
| 26 | type Renderer struct { |
| 27 | Tenant string |
| 28 | |
| 29 | // MessageWriter receives the renderer messages (typically os.Stderr). |
| 30 | MessageWriter io.Writer |
| 31 | |
| 32 | // ResultWriter writes the final result of the commands (typically os.Stdout which can be piped to other commands). |
| 33 | ResultWriter io.Writer |
| 34 | |
| 35 | // Format indicates how the results are rendered. Default (empty) will write as table. |
| 36 | Format OutputFormat |
| 37 | } |
| 38 | |
| 39 | type View interface { |
| 40 | AsTableHeader() []string |
nothing calls this directly
no outgoing calls
no test coverage detected