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

Method Delete

cf/api/domains.go:156–161  ·  view source on GitHub ↗
(domainGUID string)

Source from the content-addressed store, hash-verified

154}
155
156func (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
163func (repo CloudControllerDomainRepository) DeleteSharedDomain(domainGUID string) error {
164 path := fmt.Sprintf("/v2/shared_domains/%s?recursive=true", domainGUID)

Callers

nothing calls this directly

Calls 2

DeleteResourceMethod · 0.80
APIEndpointMethod · 0.65

Tested by

no test coverage detected