helpers

package
v0.0.0-...-ce30ff0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppReport

func AppReport(appName string, timeout time.Duration)

func CreateRoute

func CreateRoute(hostname, contextPath, space, domain string, timeout time.Duration)

func CreateRouteMapping

func CreateRouteMapping(appName string, hostname string, externalPort uint16, appPort uint16, timeout time.Duration)

func CreateSharedDomain

func CreateSharedDomain(domainName, routerGroupName string, timeout time.Duration)

func CreateTcpRouteWithRandomPort

func CreateTcpRouteWithRandomPort(space, domain string, timeout time.Duration) uint16

func DeleteApp

func DeleteApp(appName string, timeout time.Duration)

func DeleteRoute

func DeleteRoute(hostname, contextPath, domain string, timeout time.Duration)

func DeleteSharedDomain

func DeleteSharedDomain(domainName string, timeout time.Duration)

func DeleteTcpRoute

func DeleteTcpRoute(domain, port string, timeout time.Duration)

func DisableDiego

func DisableDiego(appName string, timeout time.Duration)

func DisableDiegoAndCheckResponse

func DisableDiegoAndCheckResponse(appName, expectedSubstring string, timeout time.Duration)

func EnableDiego

func EnableDiego(appName string, timeout time.Duration)

func GenerateAppName

func GenerateAppName() string

func GetAppGuid

func GetAppGuid(appName string, timeout time.Duration) string

func GetAppInfo

func GetAppInfo(appName string, timeout time.Duration) (host, port string)

func GetOrgQuotaDefinitionUrl

func GetOrgQuotaDefinitionUrl(orgGuid string, timeout time.Duration) (string, error)

func GetPortFromAppsInfo

func GetPortFromAppsInfo(appName, domainName string, timeout time.Duration) string

func GetRouteGuid

func GetRouteGuid(hostname, path string, timeout time.Duration) string

func GetRouteGuidWithPort

func GetRouteGuidWithPort(hostname, path string, port uint16, timeout time.Duration) string

func InstancesRunning

func InstancesRunning(appName string, instances int, timeout time.Duration)

func MapRandomTcpRouteToApp

func MapRandomTcpRouteToApp(app, domain string, timeout time.Duration)

func MapRouteToApp

func MapRouteToApp(app, domain, host, path string, timeout time.Duration)

func PushApp

func PushApp(appName, asset, buildpackName, domain string, timeout time.Duration, memoryLimit string)

func PushAppNoStart

func PushAppNoStart(appName, asset, buildpackName, domain string, timeout time.Duration, memoryLimit string, args ...string)

func RestartApp

func RestartApp(app string, timeout time.Duration)

func ScaleAppInstances

func ScaleAppInstances(appName string, instances int, timeout time.Duration)

func SetBackend

func SetBackend(appName string, timeout time.Duration)

func StartApp

func StartApp(app string, timeout time.Duration)

func UpdatePorts

func UpdatePorts(appName string, ports []uint16, timeout time.Duration)

func VerifySharedDomain

func VerifySharedDomain(domainName string, timeout time.Duration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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