MCPcopy Create free account
hub / github.com/cloudfoundry/cli / GetOrganizationSpaces

Method GetOrganizationSpaces

actor/v7action/space.go:241–243  ·  view source on GitHub ↗

GetOrganizationSpaces returns a list of spaces in the specified org

(orgGUID string)

Source from the content-addressed store, hash-verified

239
240// GetOrganizationSpaces returns a list of spaces in the specified org
241func (actor Actor) GetOrganizationSpaces(orgGUID string) ([]resources.Space, Warnings, error) {
242 return actor.GetOrganizationSpacesWithLabelSelector(orgGUID, "")
243}
244
245func (actor Actor) DeleteSpaceByNameAndOrganizationName(spaceName string, orgName string) (Warnings, error) {
246 var allWarnings Warnings

Callers 1

Implementers 1

FakeActorcommand/v7/v7fakes/fake_actor.go

Tested by

no test coverage detected