(routeGUID, appGUID string)
| 198 | } |
| 199 | |
| 200 | func (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 | |
| 205 | func (repo CloudControllerRouteRepository) Delete(routeGUID string) (apiErr error) { |
| 206 | path := fmt.Sprintf("/v2/routes/%s", routeGUID) |
nothing calls this directly
no test coverage detected