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

Function CreateAndTargetOrg

integration/helpers/org_and_space.go:29–34  ·  view source on GitHub ↗

CreateAndTargetOrg creates a randomly-named org and targets it.

()

Source from the content-addressed store, hash-verified

27
28// CreateAndTargetOrg creates a randomly-named org and targets it.
29func CreateAndTargetOrg() string {
30 org := NewOrgName()
31 CreateOrg(org)
32 TargetOrg(org)
33 return org
34}
35
36// CreateOrgAndSpace creates an org and a space in that org with specified names.
37func CreateOrgAndSpace(org string, space string) {

Calls 3

NewOrgNameFunction · 0.85
TargetOrgFunction · 0.85
CreateOrgFunction · 0.70

Tested by

no test coverage detected