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

Method ListSpacesFromOrg

cf/api/spaces/spaces.go:20–20  ·  view source on GitHub ↗
(orgGUID string, spaceFunc func(models.Space) bool)

Source from the content-addressed store, hash-verified

18type SpaceRepository interface {
19 ListSpaces(func(models.Space) bool) error
20 ListSpacesFromOrg(orgGUID string, spaceFunc func(models.Space) bool) error
21 FindByName(name string) (space models.Space, apiErr error)
22 FindByNameInOrg(name, orgGUID string) (space models.Space, apiErr error)
23 Create(name string, orgGUID string, spaceQuotaGUID string) (space models.Space, apiErr error)

Callers 2

ExecuteMethod · 0.65
spaces_test.goFile · 0.65

Implementers 2

CloudControllerSpaceRepositorycf/api/spaces/spaces.go
FakeSpaceRepositorycf/api/spaces/spacesfakes/fake_space_r

Calls

no outgoing calls

Tested by

no test coverage detected