cf_helpers

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CfTimeout     = 2 * time.Minute
	LongCfTimeout = 30 * 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 added in v0.20.0

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 AwaitServiceDeletionFailure

func AwaitServiceDeletionFailure(serviceName string)

func AwaitServiceUpdate

func AwaitServiceUpdate(serviceName string)

func Cf added in v0.20.0

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

func CfWithTimeout added in v0.21.2

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

func CreateService

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

func CreateServiceKey added in v0.18.0

func CreateServiceKey(serviceName, serviceKeyName string)

func DeleteService

func DeleteService(serviceName string)

func GetFromTestApp

func GetFromTestApp(testAppURL, key string) string

func GetServiceInstanceGUID added in v0.21.0

func GetServiceInstanceGUID(serviceName string) string

func GetServiceKey added in v0.18.0

func GetServiceKey(serviceName, serviceKeyName string) 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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