cf_helpers

package
v0.34.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CfTimeout     = 2 * time.Minute
	LongCfTimeout = 60 * time.Minute // This is only so long to support a stressed director. It should be combined with smart fail-fast
)
View Source
const COMMAND_TIMEOUT = CfTimeout
View Source
const RETRY_LIMIT = 3

Variables

This section is empty.

Functions

func AppBindingCreds

func AppBindingCreds(appName, serviceName string) (interface{}, error)

func AwaitInProgressOperations

func AwaitInProgressOperations(serviceName string)

func AwaitServiceCreation

func AwaitServiceCreation(serviceName string)

func AwaitServiceCreationFailure

func AwaitServiceCreationFailure(serviceName string)

func AwaitServiceCreationWithTimeout

func AwaitServiceCreationWithTimeout(serviceName string, timeout time.Duration)

func AwaitServiceDeletion

func AwaitServiceDeletion(serviceName string)

func AwaitServiceUpdate

func AwaitServiceUpdate(serviceName string)

func Cf

func Cf(args ...string) *gexec.Session

func CfWithStdin added in v0.32.0

func CfWithStdin(stdin io.Reader, args ...string) *gexec.Session

func CfWithTimeout

func CfWithTimeout(timeout time.Duration, args ...string) *gexec.Session

func CreateOrg added in v0.28.0

func CreateOrg(orgName string)

func CreateService

func CreateService(serviceOffering, servicePlan, serviceName, arbitraryParams string)

func CreateServiceKey

func CreateServiceKey(serviceName, serviceKeyName string)

func CreateServiceWithoutWaiting added in v0.28.0

func CreateServiceWithoutWaiting(serviceOffering, servicePlan, serviceName, arbitraryParams string)

func CreateSpace added in v0.28.0

func CreateSpace(orgName, spaceName string)

func DeleteApp added in v0.28.0

func DeleteApp(appName string)

func DeleteOrg added in v0.28.0

func DeleteOrg(orgName string)

func DeleteService

func DeleteService(serviceName string)

func DeleteServiceKey added in v0.27.0

func DeleteServiceKey(serviceName, serviceKeyName string)

func DeleteServiceKeyWithoutChecking added in v0.28.0

func DeleteServiceKeyWithoutChecking(serviceName, serviceKeyName string)

func DeleteServiceWithoutChecking added in v0.28.0

func DeleteServiceWithoutChecking(serviceName string)

func DeleteSpace added in v0.28.0

func DeleteSpace(orgName, spaceName string)

func ExerciseApp added in v0.27.0

func ExerciseApp(serviceType service_helpers.ServiceType, appURL string)

func GetAppPath added in v0.27.0

func GetAppPath(serviceType service_helpers.ServiceType) string

func GetFromTestApp

func GetFromTestApp(testAppURL, key string) string

func GetOAuthToken added in v0.27.0

func GetOAuthToken() string

func GetServiceInstanceGUID

func GetServiceInstanceGUID(serviceName string) string

func GetServiceKey

func GetServiceKey(serviceName, serviceKeyName string) string

func LooksLikeAServiceKey added in v0.28.0

func LooksLikeAServiceKey(key string)

func PopFromTestAppQueue

func PopFromTestAppQueue(testAppURL, queueName string) string

func PushAndBindApp

func PushAndBindApp(appName, serviceName, testAppPath string) string

func PushToTestAppQueue

func PushToTestAppQueue(testAppURL, queueName, message string)

func PutToTestApp

func PutToTestApp(testAppURL, key, value string)

func ServiceInstanceGUID

func ServiceInstanceGUID(serviceName string) string

func TargetOrgAndSpace added in v0.28.0

func TargetOrgAndSpace(orgName, spaceName string)

func UnbindAndDeleteApp added in v0.27.0

func UnbindAndDeleteApp(appName, serviceName string)

func UpdateServiceToPlan added in v0.27.0

func UpdateServiceToPlan(serviceName, newPlanName string)

func UpdateServiceWithArbitraryParams added in v0.27.0

func UpdateServiceWithArbitraryParams(serviceName, arbitraryParams string)

func UpdateServiceWithUpgrade added in v0.32.0

func UpdateServiceWithUpgrade(serviceName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL