MCPcopy
hub / github.com/cloudfoundry/cli / Unbind

Method Unbind

cf/api/routes.go:200–203  ·  view source on GitHub ↗
(routeGUID, appGUID string)

Source from the content-addressed store, hash-verified

198}
199
200func (repo CloudControllerRouteRepository) Unbind(routeGUID, appGUID string) (apiErr error) {
201 path := fmt.Sprintf("/v2/apps/%s/routes/%s", appGUID, routeGUID)
202 return repo.gateway.DeleteResource(repo.config.APIEndpoint(), path)
203}
204
205func (repo CloudControllerRouteRepository) Delete(routeGUID string) (apiErr error) {
206 path := fmt.Sprintf("/v2/routes/%s", routeGUID)

Callers

nothing calls this directly

Calls 2

DeleteResourceMethod · 0.80
APIEndpointMethod · 0.65

Tested by

no test coverage detected