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

Function SetupCFWithOrgOnly

integration/helpers/login.go:164–168  ·  view source on GitHub ↗

SetupCFWithOrgOnly logs into the CLI with LoginCF, creates the given org, and targets it.

(org string)

Source from the content-addressed store, hash-verified

162
163// SetupCFWithOrgOnly logs into the CLI with LoginCF, creates the given org, and targets it.
164func SetupCFWithOrgOnly(org string) {
165 LoginCF()
166 CreateOrg(org)
167 TargetOrg(org)
168}
169
170// SetupCFWithGeneratedOrgAndSpaceNames logs into the CLI with LoginCF, creates the org and
171// space with generated names, and targets that org and space. Returns the generated org so

Calls 3

LoginCFFunction · 0.85
TargetOrgFunction · 0.85
CreateOrgFunction · 0.70

Tested by

no test coverage detected