(offering models.ServiceOffering)
| 203 | } |
| 204 | |
| 205 | func (repo CloudControllerServiceRepository) PurgeServiceOffering(offering models.ServiceOffering) error { |
| 206 | url := fmt.Sprintf("/v2/services/%s?purge=true", offering.GUID) |
| 207 | return repo.gateway.DeleteResource(repo.config.APIEndpoint(), url) |
| 208 | } |
| 209 | |
| 210 | func (repo CloudControllerServiceRepository) PurgeServiceInstance(instance models.ServiceInstance) error { |
| 211 | url := fmt.Sprintf("/v2/service_instances/%s?purge=true", instance.GUID) |
nothing calls this directly
no test coverage detected