MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / formatAppNames

Function formatAppNames

commands/mta_command.go:174–180  ·  view source on GitHub ↗
(bindings []models.ServiceBinding)

Source from the content-addressed store, hash-verified

172}
173
174func formatAppNames(bindings []models.ServiceBinding) string {
175 var appNames []string
176 for _, binding := range bindings {
177 appNames = append(appNames, binding.AppName)
178 }
179 return strings.Join(appNames, ", ")
180}
181
182func getLastOperation(service models.CloudFoundryServiceInstance) string {
183 return service.LastOperation.Type + " " + service.LastOperation.State

Callers 1

executeInternalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected