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

Function SetupCF

integration/helpers/login.go:157–161  ·  view source on GitHub ↗

SetupCF logs into the CLI with LoginCF, creates the given org and space, and targets that org and space.

(org string, space string)

Source from the content-addressed store, hash-verified

155// SetupCF logs into the CLI with LoginCF, creates the given org and space, and targets that
156// org and space.
157func SetupCF(org string, space string) {
158 LoginCF()
159 CreateOrgAndSpace(org, space)
160 TargetOrgAndSpace(org, space)
161}
162
163// SetupCFWithOrgOnly logs into the CLI with LoginCF, creates the given org, and targets it.
164func SetupCFWithOrgOnly(org string) {

Calls 3

LoginCFFunction · 0.85
CreateOrgAndSpaceFunction · 0.85
TargetOrgAndSpaceFunction · 0.85

Tested by

no test coverage detected