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

Function formatRoutes

commands/mta_command.go:166–172  ·  view source on GitHub ↗
(routes []models.ApplicationRoute)

Source from the content-addressed store, hash-verified

164}
165
166func formatRoutes(routes []models.ApplicationRoute) string {
167 var urls []string
168 for _, route := range routes {
169 urls = append(urls, route.Url)
170 }
171 return strings.Join(urls, ", ")
172}
173
174func formatAppNames(bindings []models.ServiceBinding) string {
175 var appNames []string

Callers 1

executeInternalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected