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