MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewCloudControllerDomainRepository

Function NewCloudControllerDomainRepository

cf/api/domains.go:37–42  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

35}
36
37func NewCloudControllerDomainRepository(config coreconfig.Reader, gateway net.Gateway) CloudControllerDomainRepository {
38 return CloudControllerDomainRepository{
39 config: config,
40 gateway: gateway,
41 }
42}
43
44func (repo CloudControllerDomainRepository) ListDomainsForOrg(orgGUID string, cb func(models.DomainFields) bool) error {
45 path := fmt.Sprintf("/v2/organizations/%s/private_domains", orgGUID)

Callers 2

domains_test.goFile · 0.85
NewRepositoryLocatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected