framework

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: UPL-1.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Before represents constant for before
	Before = "before"
	// After represents constant for after
	After = "after"
)

Variables

This section is empty.

Functions

func Setup

func Setup() error

Setup sets up a test framework and initialises framework.Global.

func Teardown

func Teardown() error

Teardown shuts down the test framework and cleans up.

Types

type BackupStorageType

type BackupStorageType string

BackupStorageType type of storage

type Framework

type Framework struct {
	KubeClient               kubernetes.Interface
	KubeClient2              kubernetes.Clientset
	KubeClientExt            clientset.Clientset
	RestClient               rest.RESTClient
	ExternalIP               string
	CRClient                 client.VMOCR
	Namespace                string
	OperatorNamespace        string
	SkipTeardown             bool
	RunID                    string
	Phase                    string
	IngressControllerSvcName string
	Ingress                  bool
	ElasticsearchVersion     string
}

Framework handles communication with the kube cluster in e2e tests.

var Global *Framework

Global framework.

Jump to

Keyboard shortcuts

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