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

Method FindByName

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

Source from the content-addressed store, hash-verified

18 ListOrgs(limit int) ([]models.Organization, error)
19 GetManyOrgsByGUID(orgGUIDs []string) (orgs []models.Organization, apiErr error)
20 FindByName(name string) (org models.Organization, apiErr error)
21 Create(org models.Organization) (apiErr error)
22 Rename(orgGUID string, name string) (apiErr error)
23 Delete(orgGUID string) (apiErr error)

Callers 1

Implementers 2

CloudControllerOrganizationRepositorycf/api/organizations/organizations.go
FakeOrganizationRepositorycf/api/organizations/organizationsfake

Calls

no outgoing calls

Tested by

no test coverage detected