Documentation ¶
Index ¶
- func AfterVMExist(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func AfterVMIExist(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func AfterVMIRestarted(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func AfterVMIRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func AfterVMNotReady(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func AfterVMReady(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func AfterVMRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func CheckRespCodeIs(expectedRespCode int, action string, err error, respCode int, respBody []byte) bool
- func Cleanup(body interface{}) bool
- func HasNoneRunningVMI(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func HasNoneVMI(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func MustChanged(currentValue, newValue, oldValue interface{})
- func MustEqual(actual, expected interface{})
- func MustFinallyBeTrue(actual func() bool, intervals ...interface{}) bool
- func MustNotEqual(actual, unExpected interface{})
- func MustNotError(err error) bool
- func MustPVCDeleted(controller v1.PersistentVolumeClaimController, namespace, name string)
- func MustRespCodeIn(action string, err error, respCode int, respBody []byte, ...)
- func MustRespCodeIs(expectedRespCode int, action string, err error, respCode int, respBody []byte)
- func MustVMDeleted(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
- func MustVMExist(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
- func MustVMIRestarted(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...)
- func MustVMIRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, ...) string
- func MustVMPaused(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
- func MustVMReady(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
- func MustVMRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterVMExist ¶
func AfterVMExist(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, callback func(vm *kubevirtv1.VirtualMachine) bool)
func AfterVMIExist ¶
func AfterVMIExist(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, vmiController ctlkubevirtv1.VirtualMachineInstanceController, callback func(vmi *kubevirtv1.VirtualMachineInstance) bool)
func AfterVMIRestarted ¶
func AfterVMIRestarted(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, vmiController ctlkubevirtv1.VirtualMachineInstanceController, vmiUID string, callback func(vmi *kubevirtv1.VirtualMachineInstance) bool)
func AfterVMIRunning ¶
func AfterVMIRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, vmiController ctlkubevirtv1.VirtualMachineInstanceController, callback func(vmi *kubevirtv1.VirtualMachineInstance) bool)
func AfterVMNotReady ¶
func AfterVMNotReady(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, callback func(vm *kubevirtv1.VirtualMachine) bool)
func AfterVMReady ¶
func AfterVMReady(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, callback func(vm *kubevirtv1.VirtualMachine) bool)
func AfterVMRunning ¶
func AfterVMRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, callback func(vm *kubevirtv1.VirtualMachine) bool)
func CheckRespCodeIs ¶
func Cleanup ¶
func Cleanup(body interface{}) bool
Cleanup executes the target cleanup execution if "KEEP_TESTING_RESOURCE" isn't "true".
func HasNoneRunningVMI ¶
func HasNoneRunningVMI(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, vmiController ctlkubevirtv1.VirtualMachineInstanceController)
func HasNoneVMI ¶
func HasNoneVMI(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, vmiController ctlkubevirtv1.VirtualMachineInstanceController)
func MustChanged ¶
func MustChanged(currentValue, newValue, oldValue interface{})
func MustFinallyBeTrue ¶
func MustNotEqual ¶
func MustNotEqual(actual, unExpected interface{})
func MustNotError ¶
func MustPVCDeleted ¶ added in v0.3.0
func MustPVCDeleted(controller v1.PersistentVolumeClaimController, namespace, name string)
func MustRespCodeIn ¶
func MustRespCodeIs ¶
func MustVMDeleted ¶
func MustVMDeleted(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
func MustVMExist ¶
func MustVMExist(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
func MustVMIRestarted ¶
func MustVMIRestarted(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, vmiController ctlkubevirtv1.VirtualMachineInstanceController, vmiUID string)
func MustVMIRunning ¶
func MustVMIRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string, vmiController ctlkubevirtv1.VirtualMachineInstanceController) string
func MustVMPaused ¶
func MustVMPaused(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
func MustVMReady ¶
func MustVMReady(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
func MustVMRunning ¶
func MustVMRunning(controller ctlkubevirtv1.VirtualMachineController, namespace, name string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.