(routeGUID, appGUID string)
| 193 | } |
| 194 | |
| 195 | func (repo CloudControllerRouteRepository) Bind(routeGUID, appGUID string) (apiErr error) { |
| 196 | path := fmt.Sprintf("/v2/apps/%s/routes/%s", appGUID, routeGUID) |
| 197 | return repo.gateway.UpdateResource(repo.config.APIEndpoint(), path, nil) |
| 198 | } |
| 199 | |
| 200 | func (repo CloudControllerRouteRepository) Unbind(routeGUID, appGUID string) (apiErr error) { |
| 201 | path := fmt.Sprintf("/v2/apps/%s/routes/%s", appGUID, routeGUID) |
nothing calls this directly
no test coverage detected