Example #1
0
func unsetAPI() {
	Eventually(helpers.CF("api", "--unset")).Should(Exit(0))
}
Example #2
0
func targetOrgAndSpace(org string, space string) {
	Eventually(helpers.CF("target", "-o", org, "-s", space)).Should(Exit(0))
}
Example #3
0
func setAPI() {
	Eventually(helpers.CF("api", getAPI(), skipSSLValidation)).Should(Exit(0))
}
Example #4
0
func createOrgAndSpace(org string, space string) {
	Eventually(helpers.CF("create-org", org)).Should(Exit(0))
	Eventually(helpers.CF("create-space", space, "-o", org)).Should(Exit(0))
}
Example #5
0
func logoutCF() {
	Eventually(helpers.CF("logout")).Should(Exit(0))
}
Example #6
0
func loginCF() {
	username, password := getCredentials()
	Eventually(helpers.CF("auth", username, password)).Should(Exit(0))
}
Example #7
0
func targetOrg(org string) {
	Eventually(helpers.CF("target", "-o", org)).Should(Exit(0))
}
Example #8
0
func createSpace(space string) {
	Eventually(helpers.CF("create-space", space)).Should(Exit(0))
}