checks

package
v1.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Has2MiHugepages

func Has2MiHugepages(node *v1.Node) bool

func HasAtLeastTwoNodes added in v0.53.2

func HasAtLeastTwoNodes() bool

func HasFeature

func HasFeature(feature string) bool

func HasLiveMigration added in v0.52.0

func HasLiveMigration() bool

func IsARM64 added in v0.52.0

func IsARM64(arch string) bool

func IsCPUManagerPresent

func IsCPUManagerPresent(node *v1.Node) bool

func IsOpenShift added in v0.52.0

func IsOpenShift() bool

func IsRealtimeCapable added in v0.47.0

func IsRealtimeCapable(node *v1.Node) bool

func IsSEVCapable added in v0.49.0

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

func RequireFeatureGateVirtHandlerRestart added in v1.0.0

func RequireFeatureGateVirtHandlerRestart(feature string) bool

func SkipIfARM64 added in v0.52.0

func SkipIfARM64(arch string, message string)

func SkipIfMigrationIsNotPossible added in v0.52.0

func SkipIfMigrationIsNotPossible()

func SkipIfMissingRequiredImage added in v0.52.0

func SkipIfMissingRequiredImage(virtClient kubecli.KubevirtClient, imageName string)

func SkipIfMultiReplica added in v0.52.0

func SkipIfMultiReplica(virtClient kubecli.KubevirtClient)

func SkipIfNoRhelImage added in v0.52.0

func SkipIfNoRhelImage(virtClient kubecli.KubevirtClient)

func SkipIfNonRoot added in v0.52.0

func SkipIfNonRoot(feature string)

func SkipIfOpenShift added in v0.52.0

func SkipIfOpenShift(message string)

func SkipIfOpenShift4 added in v0.52.0

func SkipIfOpenShift4(message string)

func SkipIfPrometheusRuleIsNotEnabled added in v0.52.0

func SkipIfPrometheusRuleIsNotEnabled(virtClient kubecli.KubevirtClient)

func SkipIfSingleReplica added in v0.52.0

func SkipIfSingleReplica(virtClient kubecli.KubevirtClient)

func SkipIfUseFlannel added in v0.52.0

func SkipIfUseFlannel(virtClient kubecli.KubevirtClient)

func SkipIfVersionBelow added in v0.52.0

func SkipIfVersionBelow(message string, expectedVersion string)

SkipIfVersionBelow will skip tests if it runs on an environment with k8s version below specified

func SkipTestIfNoCPUManager

func SkipTestIfNoCPUManager()

func SkipTestIfNoFeatureGate

func SkipTestIfNoFeatureGate(featureGate string)

func SkipTestIfNotEnoughNodesWith2MiHugepages added in v0.49.1

func SkipTestIfNotEnoughNodesWith2MiHugepages(nodeCount int)

func SkipTestIfNotEnoughNodesWithCPUManager added in v0.49.1

func SkipTestIfNotEnoughNodesWithCPUManager(nodeCount int)

func SkipTestIfNotEnoughNodesWithCPUManagerWith2MiHugepages added in v0.47.0

func SkipTestIfNotEnoughNodesWithCPUManagerWith2MiHugepages(nodeCount int)

func SkipTestIfNotRealtimeCapable added in v0.47.0

func SkipTestIfNotRealtimeCapable()

func SkipTestIfNotSEVCapable added in v0.49.0

func SkipTestIfNotSEVCapable()

func SkipTestIfNotSEVESCapable added in v1.0.0

func SkipTestIfNotSEVESCapable()

Types

This section is empty.

Jump to

Keyboard shortcuts

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