tests

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPVCBoundEventually

func IsPVCBoundEventually(pvcName string) bool

This checks if the pvc is bound eventually within the poll period.

func IsPVCDeletedEventually

func IsPVCDeletedEventually(pvcName string) bool

IsPVCDeletedEventually checks if the PVC is deleted or not eventually

func IsPVCPendingConsistently added in v1.6.0

func IsPVCPendingConsistently(pvcName string) bool

This checks if the pvc is Not bound consistently over polling period.

func IsPVCResizedEventually

func IsPVCResizedEventually(pvcName string, newCapacity string, shouldPass bool) bool

IsPVCResizedEventually checks if the pvc is bound or not eventually

func IsPVDeletedEventually added in v0.5.0

func IsPVDeletedEventually(shouldExist bool, pvName string) bool

IsPVDeletedEventually checks if the PV is deleted or not eventually

func IsPodRunningEventually

func IsPodRunningEventually(namespace, podName string) bool

IsPodRunningEventually return true if the pod comes to running state

func VerifyBlockPVC added in v1.6.0

func VerifyBlockPVC()

func VerifyLVMVolume

func VerifyLVMVolume(expect_ready bool, expected_vg string)

VerifyLVMVolume verify the properties of a lvm-volume expected_vg is supposed to be passed only when vgpatten was used for scheduling. If its volgroup in sc then we can just match volgroup with lvmvolume's vg field.

func VerifyThinpoolExtend added in v1.6.0

func VerifyThinpoolExtend()

verify that the thinpool has extended in capacity to an expected size.

func WaitForLVMVolumeReady added in v0.8.0

func WaitForLVMVolumeReady()

WaitForLVMVolumeReady verify the if lvm-volume is ready

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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