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

Function TargetOrg

integration/helpers/login.go:145–147  ·  view source on GitHub ↗

TargetOrg targets the given org with 'cf target'.

(org string)

Source from the content-addressed store, hash-verified

143
144// TargetOrg targets the given org with 'cf target'.
145func TargetOrg(org string) {
146 Eventually(CF("target", "-o", org)).Should(Exit(0))
147}
148
149// ClearTarget logs out and logs back into the CLI using LogoutCF and LoginCF.
150func ClearTarget() {

Calls 1

CFFunction · 0.85

Tested by

no test coverage detected