matchers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeProcessing

func BeProcessing(testFramework *framework.Framework) types.GomegaMatcher

BeProcessing creates the matcher checking whether Virtual Machine Import is currently processing

func BeProcessingWithReason added in v0.3.0

func BeProcessingWithReason(testFramework *framework.Framework, reason string) types.GomegaMatcher

BeProcessing creates the matcher checking whether Virtual Machine Import is currently processing

func BeRunning

func BeRunning(testFramework *framework.Framework) *beRunningMatcher

BeRunning creates the matcher

func BeSuccessful

func BeSuccessful(testFramework *framework.Framework) types.GomegaMatcher

BeSuccessful creates the matcher checking whether Virtual Machine Import is successful

func BeUnsuccessful added in v0.0.4

func BeUnsuccessful(testFramework *framework.Framework, reason string) types.GomegaMatcher

BeUnsuccessful creates the matcher checking whether Virtual Machine Import is unsuccessful

func HaveDataVolumeCreationFailure added in v0.0.3

func HaveDataVolumeCreationFailure(testFramework *framework.Framework) types.GomegaMatcher

HaveDataVolumeCreationFailure creates the matcher checking whether Virtual Machine Import failed to create datavolume

func HaveDefaultStorageClass

func HaveDefaultStorageClass(f *framework.Framework) types.GomegaMatcher

HaveDefaultStorageClass whether data volume of a given name has default storage class (nil)

func HaveMappingRulesVerificationFailure added in v0.0.3

func HaveMappingRulesVerificationFailure(testFramework *framework.Framework) types.GomegaMatcher

HaveMappingRulesVerificationFailure creates the matcher checking whether Virtual Machine Import has failed mapping rules verification

func HaveMappingRulesVerified added in v0.2.0

func HaveMappingRulesVerified(testFramework *framework.Framework) types.GomegaMatcher

HaveMappingRulesVerified creates the matcher checking whether Virtual Machine Import has succeeded mapping rules verification

func HaveRunningVM added in v0.3.0

func HaveRunningVM(testFramework *framework.Framework) types.GomegaMatcher

HaveRunningVM creates the matcher checking whether Virtual Machine Instance is running

func HaveStorageClass

func HaveStorageClass(sc string, f *framework.Framework) types.GomegaMatcher

HaveStorageClass creates matcher checking whether data volume of a given name has expected storage class

func HaveStorageClassReference added in v0.0.3

func HaveStorageClassReference(sc *string, f *framework.Framework) types.GomegaMatcher

HaveStorageClassReference creates matcher checking whether data volume of a given name has expected storage class

func HaveTemplateMatchingFailure added in v0.0.4

func HaveTemplateMatchingFailure(testFramework *framework.Framework) types.GomegaMatcher

HaveTemplateMatchingFailure creates the matcher checking whether Virtual Machine Import is unsuccessful because of template matching failyre

func HaveValidationFailure added in v0.0.4

func HaveValidationFailure(testFramework *framework.Framework, reason string) types.GomegaMatcher

HaveValidationFailure creates the matcher checking whether Virtual Machine Import has failed validation

Types

This section is empty.

Jump to

Keyboard shortcuts

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