(serviceInstanceWithDetails v7action.ServiceInstanceDetails)
| 225 | } |
| 226 | |
| 227 | func (cmd ServiceCommand) displaySharedTo(serviceInstanceWithDetails v7action.ServiceInstanceDetails) { |
| 228 | table := [][]string{{"org", "space", "bindings"}} |
| 229 | for _, usageSummaryLine := range serviceInstanceWithDetails.SharedStatus.UsageSummary { |
| 230 | table = append(table, []string{usageSummaryLine.OrganizationName, usageSummaryLine.SpaceName, strconv.Itoa(usageSummaryLine.BoundAppCount)}) |
| 231 | } |
| 232 | cmd.UI.DisplayTableWithHeader(indent, table, ui.DefaultTableSpacePadding) |
| 233 | } |
| 234 | |
| 235 | func (cmd ServiceCommand) displayBoundApps(serviceInstanceWithDetails v7action.ServiceInstanceDetails) { |
| 236 | cmd.UI.DisplayText("Showing bound apps:") |
no test coverage detected