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

Function TargetOrgAndSpace

integration/helpers/login.go:140–142  ·  view source on GitHub ↗

TargetOrgAndSpace targets the given org and space with 'cf target'.

(org string, space string)

Source from the content-addressed store, hash-verified

138
139// TargetOrgAndSpace targets the given org and space with 'cf target'.
140func TargetOrgAndSpace(org string, space string) {
141 Eventually(CF("target", "-o", org, "-s", space)).Should(Exit(0))
142}
143
144// TargetOrg targets the given org with 'cf target'.
145func TargetOrg(org string) {

Calls 1

CFFunction · 0.85

Tested by 1