MCPcopy Index your code
hub / github.com/cloudfoundry/cli / AppendRow

Method AppendRow

command/v7/services_command.go:123–137  ·  view source on GitHub ↗
(si v7action.ServiceInstance)

Source from the content-addressed store, hash-verified

121}
122
123func (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}

Callers 1

displayTableMethod · 0.95

Calls 2

serviceOfferingNameFunction · 0.85
upgradeAvailableStringFunction · 0.85

Tested by

no test coverage detected