(si v7action.ServiceInstance)
| 121 | } |
| 122 | |
| 123 | func (t *ServicesTable) AppendRow(si v7action.ServiceInstance) { |
| 124 | row := []string{si.Name} |
| 125 | if t.short { |
| 126 | if t.showApps { |
| 127 | row = append(row, strings.Join(si.BoundApps, ", ")) |
| 128 | } |
| 129 | } else { |
| 130 | row = append(row, serviceOfferingName(si), si.ServicePlanName) |
| 131 | if t.showApps { |
| 132 | row = append(row, strings.Join(si.BoundApps, ", ")) |
| 133 | } |
| 134 | row = append(row, si.LastOperation, si.ServiceBrokerName, upgradeAvailableString(si.UpgradeAvailable)) |
| 135 | } |
| 136 | t.table = append(t.table, row) |
| 137 | } |
no test coverage detected