Documentation ¶
Index ¶
- 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 IsSEVCapable(node *v1.Node) 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 SkipIfNonRoot(feature string)
- func SkipIfOpenShift(message string)
- func SkipIfOpenShift4(message string)
- func SkipIfPrometheusRuleIsNotEnabled(virtClient kubecli.KubevirtClient)
- func SkipIfSingleReplica(virtClient kubecli.KubevirtClient)
- func SkipIfUseFlannel(virtClient kubecli.KubevirtClient)
- func SkipIfVersionBelow(message string, expectedVersion string)
- func SkipTestIfNoCPUManager()
- func SkipTestIfNoFeatureGate(featureGate string)
- func SkipTestIfNotEnoughNodesWith2MiHugepages(nodeCount int)
- func SkipTestIfNotEnoughNodesWithCPUManager(nodeCount int)
- func SkipTestIfNotEnoughNodesWithCPUManagerWith2MiHugepages(nodeCount int)
- func SkipTestIfNotRealtimeCapable()
- func SkipTestIfNotSEVCapable()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 IsSEVCapable ¶ added in v0.49.0
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 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
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()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.