MCPcopy
hub / github.com/cloudfoundry/cli / CreateOrgAndSpace

Function CreateOrgAndSpace

integration/helpers/org_and_space.go:37–41  ·  view source on GitHub ↗

CreateOrgAndSpace creates an org and a space in that org with specified names.

(org string, space string)

Source from the content-addressed store, hash-verified

35
36// CreateOrgAndSpace creates an org and a space in that org with specified names.
37func CreateOrgAndSpace(org string, space string) {
38 CreateOrg(org)
39 TargetOrg(org)
40 CreateSpace(space)
41}
42
43// CreateOrgAndSpaceUnlessExists creates an org and a space in that org with
44// specified names only if these don't exist yet.

Calls 3

TargetOrgFunction · 0.85
CreateOrgFunction · 0.70
CreateSpaceFunction · 0.70

Tested by 1