acceptance

package
v0.3.3-rc0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const DEFAULT_BRANCH_NAME = "main"
View Source
const EVENTUALLY_DEFAULT_TIMEOUT time.Duration = 60 * time.Second
View Source
const INSTALL_PODS_READY_TIMEOUT time.Duration = 3 * time.Minute
View Source
const INSTALL_RESET_TIMEOUT time.Duration = 300 * time.Second
View Source
const NAMESPACE_TERMINATE_TIMEOUT time.Duration = 600 * time.Second
View Source
const SCREENSHOTS_DIR string = "screenshots/"
View Source
const SELENIUM_SERVICE_URL = "http://localhost:4444/wd/hub"
View Source
const THIRTY_SECOND_TIMEOUT time.Duration = 30 * time.Second
View Source
const TIMEOUT_TWO_MINUTES time.Duration = 120 * time.Second
View Source
const WEGO_DEFAULT_NAMESPACE = wego.DefaultNamespace
View Source
const WEGO_UI_URL = "http://localhost:9001"

Variables

View Source
var DEFAULT_SSH_KEY_PATH string
View Source
var GITHUB_ORG string
View Source
var GITLAB_ORG string
View Source
var GITLAB_SUBGROUP string

Make sure the subgroup belongs to the GITLAB_ORG

View Source
var WEGO_BIN_PATH string

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, error)

func ResetOrCreateClusterWithName added in v0.2.5

func ResetOrCreateClusterWithName(namespace string, deleteWegoRuntime bool, clusterName 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