Documentation
¶
Overview ¶
* * All common util functions and golbal constants will go here. *
Index ¶
- Constants
- func FileExists(name string) bool
- func RandString(length int) string
- func ResetOrCreateCluster(namespace string, deleteWegoRuntime bool) (string, string, error)
- func ResetOrCreateClusterWithName(namespace string, deleteWegoRuntime bool, clusterName string, ...) (string, string, error)
- func ShowItems(itemType string) error
- func ShowWegoControllerLogs(ns string)
- func StringWithCharset(length int, charset string) string
- func VerifyControllersInCluster(namespace string)
- type TestInputs
Constants ¶
View Source
const ( THIRTY_SECOND_TIMEOUT time.Duration = 30 * time.Second EVENTUALLY_DEFAULT_TIMEOUT time.Duration = 60 * time.Second TIMEOUT_TWO_MINUTES time.Duration = 120 * time.Second INSTALL_RESET_TIMEOUT time.Duration = 300 * time.Second NAMESPACE_TERMINATE_TIMEOUT time.Duration = 600 * time.Second INSTALL_SUCCESSFUL_TIMEOUT time.Duration = 3 * time.Minute INSTALL_PODS_READY_TIMEOUT time.Duration = 3 * time.Minute WEGO_DEFAULT_NAMESPACE = wego.DefaultNamespace WEGO_UI_URL = "http://localhost:9001" SELENIUM_SERVICE_URL = "http://localhost:4444/wd/hub" SCREENSHOTS_DIR string = "screenshots/" DEFAULT_BRANCH_NAME = "main" WEGO_DASHBOARD_TITLE string = "Weave GitOps" APP_PAGE_HEADER string = "Applications" )
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func RandString ¶ added in v0.0.4
func ResetOrCreateCluster ¶ added in v0.0.4
func ResetOrCreateClusterWithName ¶ added in v0.2.5
func ShowItems ¶ added in v0.0.4
showItems displays the current set of a specified object type in tabular format
func ShowWegoControllerLogs ¶ added in v0.0.4
func ShowWegoControllerLogs(ns string)
func StringWithCharset ¶ added in v0.0.4
func VerifyControllersInCluster ¶ added in v0.0.4
func VerifyControllersInCluster(namespace string)
Types ¶
type TestInputs ¶ added in v0.2.0
type TestInputs struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.