(short bool, omitApps bool)
| 95 | } |
| 96 | |
| 97 | func NewServicesTable(short bool, omitApps bool) *ServicesTable { |
| 98 | t := &ServicesTable{ |
| 99 | short: short, |
| 100 | showApps: !omitApps, |
| 101 | } |
| 102 | |
| 103 | return t.withHeaders() |
| 104 | } |
| 105 | |
| 106 | func (t *ServicesTable) withHeaders() *ServicesTable { |
| 107 | headers := []string{"name"} |
no test coverage detected