acceptance

package
v0.6.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MPL-2.0 Imports: 33 Imported by: 0

Documentation

Overview

* * All common util functions and golbal constants will go here. *

Index

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 FileExists(name string) bool

func RandString added in v0.0.4

func RandString(length int) string

func ResetOrCreateCluster added in v0.0.4

func ResetOrCreateCluster(namespace string, deleteWegoRuntime bool) (string, string, error)

func ResetOrCreateClusterWithName added in v0.2.5

func ResetOrCreateClusterWithName(namespace string, deleteWegoRuntime bool, clusterName string, keepExistingClusters bool) (string, string, error)

func ShowItems added in v0.0.4

func ShowItems(itemType string) error

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 StringWithCharset(length int, charset string) string

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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