Documentation ¶
Index ¶
- Constants
- func AppBindingCreds(appName, serviceName string) (interface{}, error)
- func AwaitInProgressOperations(serviceName string)
- func AwaitServiceCreation(serviceName string)
- func AwaitServiceCreationFailure(serviceName string)
- func AwaitServiceCreationWithTimeout(serviceName string, timeout time.Duration)
- func AwaitServiceDeletion(serviceName string)
- func AwaitServiceUpdate(serviceName string)
- func Cf(args ...string) *gexec.Session
- func CfWithStdin(stdin io.Reader, args ...string) *gexec.Session
- func CfWithTimeout(timeout time.Duration, args ...string) *gexec.Session
- func CreateOrg(orgName string)
- func CreateService(serviceOffering, servicePlan, serviceName, arbitraryParams string)
- func CreateServiceKey(serviceName, serviceKeyName string)
- func CreateServiceWithoutWaiting(serviceOffering, servicePlan, serviceName, arbitraryParams string)
- func CreateSpace(orgName, spaceName string)
- func DeleteApp(appName string)
- func DeleteOrg(orgName string)
- func DeleteService(serviceName string)
- func DeleteServiceKey(serviceName, serviceKeyName string)
- func DeleteServiceKeyWithoutChecking(serviceName, serviceKeyName string)
- func DeleteServiceWithoutChecking(serviceName string)
- func DeleteSpace(orgName, spaceName string)
- func ExerciseApp(serviceType service_helpers.ServiceType, appURL string)
- func GetAppPath(serviceType service_helpers.ServiceType) string
- func GetDashboardURL(instanceGUID string) string
- func GetFromTestApp(testAppURL, key string) string
- func GetOAuthToken() string
- func GetServiceInstanceGUID(serviceName string) string
- func GetServiceKey(serviceName, serviceKeyName string) string
- func LooksLikeAServiceKey(key string)
- func PopFromTestAppQueue(testAppURL, queueName string) string
- func PushAndBindApp(appName, serviceName, testAppPath string) string
- func PushToTestAppQueue(testAppURL, queueName, message string)
- func PutToTestApp(testAppURL, key, value string)
- func ServiceInstanceGUID(serviceName string) string
- func TargetOrgAndSpace(orgName, spaceName string)
- func UnbindAndDeleteApp(appName, serviceName string)
- func UpdateServiceToPlan(serviceName, newPlanName string)
- func UpdateServiceWithArbitraryParams(serviceName, arbitraryParams string)
- func UpdateServiceWithUpgrade(serviceName string)
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 AwaitInProgressOperations ¶
func AwaitInProgressOperations(serviceName string)
func AwaitServiceCreation ¶
func AwaitServiceCreation(serviceName string)
func AwaitServiceCreationFailure ¶
func AwaitServiceCreationFailure(serviceName string)
func AwaitServiceDeletion ¶
func AwaitServiceDeletion(serviceName string)
func AwaitServiceUpdate ¶
func AwaitServiceUpdate(serviceName string)
func CfWithStdin ¶ added in v0.32.0
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 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 GetDashboardURL ¶ added in v0.40.0
func GetFromTestApp ¶
func GetOAuthToken ¶ added in v0.27.0
func GetOAuthToken() string
func GetServiceInstanceGUID ¶
func GetServiceKey ¶
func LooksLikeAServiceKey ¶ added in v0.28.0
func LooksLikeAServiceKey(key string)
func PopFromTestAppQueue ¶
func PushAndBindApp ¶
func PushToTestAppQueue ¶
func PushToTestAppQueue(testAppURL, queueName, message string)
func PutToTestApp ¶
func PutToTestApp(testAppURL, key, value string)
func ServiceInstanceGUID ¶
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.
Click to show internal directories.
Click to hide internal directories.