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

Method FindByName

cf/api/spaces/spaces.go:21–21  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

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)
24 Rename(spaceGUID, newName string) (apiErr error)

Callers 1

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