checks

package
v1.5.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DescriptionTwoWorkerNodesWCPUManagerRequired = "at least two worker nodes with cpumanager are required for migration"
)

Variables

This section is empty.

Functions

func ExpectAtLeastTwoWorkerNodesWithCPUManager added in v1.2.0

func ExpectAtLeastTwoWorkerNodesWithCPUManager(virtClient kubecli.KubevirtClient)

ExpectAtLeastTwoWorkerNodesWithCPUManager uses gomega.Expect to verify that the node list returned by libnode.GetWorkerNodesWithCPUManagerEnabled contains at least two elements. DescriptionTwoWorkerNodesWCPUManagerRequired is added to the default description via ginkgo.By

func Has2MiHugepages

func Has2MiHugepages(node *k8sv1.Node) bool

func HasAtLeastTwoNodes added in v0.53.2

func HasAtLeastTwoNodes() bool

func HasFeature

func HasFeature(feature string) bool

func IsARM64 added in v0.52.0

func IsARM64(arch string) bool

func IsCPUManagerPresent

func IsCPUManagerPresent(node *k8sv1.Node) bool

func IsOpenShift added in v0.52.0

func IsOpenShift() bool

func IsRealtimeCapable added in v0.47.0

func IsRealtimeCapable(node *k8sv1.Node) bool

func IsRunningOnKindInfra added in v1.2.0

func IsRunningOnKindInfra() bool

func IsS390X added in v1.4.0

func IsS390X(arch string) bool

func IsSEVCapable added in v0.49.0

func IsSEVCapable(node *k8sv1.Node, sevLabel string) bool

func RecycleImageOrFail

func RecycleImageOrFail(virtClient kubecli.KubevirtClient, imageName string)

func RequireFeatureGateVirtHandlerRestart added in v1.0.0

func RequireFeatureGateVirtHandlerRestart(feature string) bool

func SkipIfARM64 deprecated added in v0.52.0

func SkipIfARM64(arch string, message string)

Deprecated: SkipIfARM64 should be converted to check & fail

func SkipIfMigrationIsNotPossible deprecated added in v0.52.0

func SkipIfMigrationIsNotPossible()

Deprecated: SkipIfMigrationIsNotPossible should be converted to check & fail

func SkipIfNoRhelImage deprecated added in v0.52.0

func SkipIfNoRhelImage(virtClient kubecli.KubevirtClient)

Deprecated: SkipIfNoRhelImage should be converted to check & fail

func SkipIfOpenShift deprecated added in v0.52.0

func SkipIfOpenShift(message string)

Deprecated: SkipIfOpenShift should be converted to check & fail

func SkipIfOpenShift4 deprecated added in v0.52.0

func SkipIfOpenShift4(message string)

Deprecated: SkipIfOpenShift4 should be converted to check & fail

func SkipIfPrometheusRuleIsNotEnabled deprecated added in v0.52.0

func SkipIfPrometheusRuleIsNotEnabled(virtClient kubecli.KubevirtClient)

Deprecated: SkipIfPrometheusRuleIsNotEnabled should be converted to check & fail

func SkipIfRunningOnKindInfra deprecated added in v1.2.0

func SkipIfRunningOnKindInfra(message string)

Deprecated: SkipIfRunningOnKindInfra should be converted to check & fail

func SkipIfS390X deprecated added in v1.4.0

func SkipIfS390X(arch string, message string)

Deprecated: SkipIfS390X should be converted to check & fail

func SkipIfUseFlannel deprecated added in v0.52.0

func SkipIfUseFlannel(virtClient kubecli.KubevirtClient)

Deprecated: SkipIfUseFlannel should be converted to check & fail

func SkipTestIfNoFeatureGate deprecated

func SkipTestIfNoFeatureGate(featureGate string)

Deprecated: SkipTestIfNoFeatureGate should be converted to check & fail

Types

This section is empty.

Jump to

Keyboard shortcuts

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