utils

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentName             string = "e2e-2048"
	HaDeploymentName           string = "e2e-2048-ha"
	NumberOfDeduplicationTests int    = 5
	NumberOfBulDeleteTests     int    = 30
)

Variables

This section is empty.

Functions

func BoolPter

func BoolPter(i bool) *bool

func CheckHwameiInstall

func CheckHwameiInstall(ctx context.Context) error

func CheckK8sStatus

func CheckK8sStatus(ctx context.Context, client ctrlclient.Client) error

func ConfigureEnvironment

func ConfigureEnvironment(ctx context.Context) error

func ConfigureEnvironmentForPrTest

func ConfigureEnvironmentForPrTest(ctx context.Context) bool

func ConfigureadEnvironment

func ConfigureadEnvironment(ctx context.Context, k8s string) error

func CreateLdc

func CreateLdc(ctx context.Context) error

func DeleteAllPVC

func DeleteAllPVC(ctx context.Context) error

func DeleteAllSC

func DeleteAllSC(ctx context.Context) error

func ExecInPod

func ExecInPod(config *rest.Config, namespace, podName, command, containerName string) (string, string, error)

func InstallHwameistorOperator

func InstallHwameistorOperator(ctx context.Context, client ctrlclient.Client) error

func Int32Ptr

func Int32Ptr(i int32) *int32

func RunInLinux

func RunInLinux(cmd string) string

func StartAdRollback

func StartAdRollback(k8s string) error

func UninstallHelm

func UninstallHelm()

Types

This section is empty.

Jump to

Keyboard shortcuts

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