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

Function NewCloudControllerSpaceRepository

cf/api/spaces/spaces.go:34–38  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

32}
33
34func NewCloudControllerSpaceRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerSpaceRepository) {
35 repo.config = config
36 repo.gateway = gateway
37 return
38}
39
40func (repo CloudControllerSpaceRepository) ListSpaces(callback func(models.Space) bool) error {
41 return repo.gateway.ListPaginatedResources(

Callers 3

NewRepositoryLocatorFunction · 0.92
spaces_test.goFile · 0.85
createSpacesRepoFunction · 0.85

Calls

no outgoing calls

Tested by 1

createSpacesRepoFunction · 0.68