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 CreateService ¶
func CreateService(serviceOffering, servicePlan, serviceName, arbitraryParams string)
func CreateServiceKey ¶
func CreateServiceKey(serviceName, serviceKeyName string)
func CreateServiceWithoutWaiting ¶
func CreateServiceWithoutWaiting(serviceOffering, servicePlan, serviceName, arbitraryParams string)
func CreateSpace ¶
func CreateSpace(orgName, spaceName string)
func DeleteService ¶
func DeleteService(serviceName string)
func DeleteServiceKey ¶
func DeleteServiceKey(serviceName, serviceKeyName string)
func DeleteServiceKeyWithoutChecking ¶
func DeleteServiceKeyWithoutChecking(serviceName, serviceKeyName string)
func DeleteServiceWithoutChecking ¶
func DeleteServiceWithoutChecking(serviceName string)
func DeleteSpace ¶
func DeleteSpace(orgName, spaceName string)
func ExerciseApp ¶
func ExerciseApp(serviceType service_helpers.ServiceType, appURL string)
func GetAppPath ¶
func GetAppPath(serviceType service_helpers.ServiceType) string
func GetDashboardURL ¶
func GetFromTestApp ¶
func GetOAuthToken ¶
func GetOAuthToken() string
func GetServiceInstanceGUID ¶
func GetServiceKey ¶
func LooksLikeAServiceKey ¶
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 ¶
func TargetOrgAndSpace(orgName, spaceName string)
func UnbindAndDeleteApp ¶
func UnbindAndDeleteApp(appName, serviceName string)
func UpdateServiceToPlan ¶
func UpdateServiceToPlan(serviceName, newPlanName string)
func UpdateServiceWithArbitraryParams ¶
func UpdateServiceWithArbitraryParams(serviceName, arbitraryParams string)
func UpdateServiceWithUpgrade ¶
func UpdateServiceWithUpgrade(serviceName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.