(domainGUID string)
| 154 | } |
| 155 | |
| 156 | func (repo CloudControllerDomainRepository) Delete(domainGUID string) error { |
| 157 | path := fmt.Sprintf("/v2/private_domains/%s?recursive=true", domainGUID) |
| 158 | return repo.gateway.DeleteResource( |
| 159 | repo.config.APIEndpoint(), |
| 160 | path) |
| 161 | } |
| 162 | |
| 163 | func (repo CloudControllerDomainRepository) DeleteSharedDomain(domainGUID string) error { |
| 164 | path := fmt.Sprintf("/v2/shared_domains/%s?recursive=true", domainGUID) |
nothing calls this directly
no test coverage detected