Documentation ¶
Index ¶
- Constants
- func ExpectAtLeastTwoWorkerNodesWithCPUManager(virtClient kubecli.KubevirtClient)
- func Has2MiHugepages(node *v1.Node) bool
- func HasAtLeastTwoNodes() bool
- func HasFeature(feature string) bool
- func HasLiveMigration() bool
- func IsARM64(arch string) bool
- func IsCPUManagerPresent(node *v1.Node) bool
- func IsOpenShift() bool
- func IsRealtimeCapable(node *v1.Node) bool
- func IsRunningOnKindInfra() bool
- func IsSEVCapable(node *v1.Node, sevLabel string) bool
- func RequireFeatureGateVirtHandlerRestart(feature string) bool
- func SkipIfARM64(arch string, message string)
- func SkipIfMigrationIsNotPossible()
- func SkipIfMissingRequiredImage(virtClient kubecli.KubevirtClient, imageName string)
- func SkipIfMultiReplica(virtClient kubecli.KubevirtClient)
- func SkipIfNoRhelImage(virtClient kubecli.KubevirtClient)
- func SkipIfOpenShift(message string)
- func SkipIfOpenShift4(message string)
- func SkipIfPrometheusRuleIsNotEnabled(virtClient kubecli.KubevirtClient)
- func SkipIfRunningOnKindInfra(message string)
- func SkipIfSingleReplica(virtClient kubecli.KubevirtClient)
- func SkipIfUseFlannel(virtClient kubecli.KubevirtClient)
- func SkipTestIfNoCPUManager()
- func SkipTestIfNoFeatureGate(featureGate string)
- func SkipTestIfNotEnoughNodesWith2MiHugepages(nodeCount int)
- func SkipTestIfNotEnoughNodesWithCPUManager(nodeCount int)
- func SkipTestIfNotEnoughNodesWithCPUManagerWith2MiHugepages(nodeCount int)
- func SkipTestIfNotRealtimeCapable()
- func SkipTestIfNotSEVCapable()
- func SkipTestIfNotSEVESCapable()
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 HasAtLeastTwoNodes ¶ added in v0.53.2
func HasAtLeastTwoNodes() bool
func HasFeature ¶
func HasLiveMigration ¶ added in v0.52.0
func HasLiveMigration() bool
func IsCPUManagerPresent ¶
func IsOpenShift ¶ added in v0.52.0
func IsOpenShift() bool
func IsRealtimeCapable ¶ added in v0.47.0
func IsRunningOnKindInfra ¶ added in v1.2.0
func IsRunningOnKindInfra() bool
func RequireFeatureGateVirtHandlerRestart ¶ added in v1.0.0
func SkipIfARM64 ¶ added in v0.52.0
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 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 SkipIfRunningOnKindInfra ¶ added in v1.2.0
func SkipIfRunningOnKindInfra(message string)
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 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.
Click to show internal directories.
Click to hide internal directories.