Documentation ¶
Index ¶
- Constants
- func ExpectAtLeastTwoWorkerNodesWithCPUManager(virtClient kubecli.KubevirtClient)
- func Has2MiHugepages(node *k8sv1.Node) bool
- func HasAtLeastTwoNodes() bool
- func HasFeature(feature string) bool
- func IsARM64(arch string) bool
- func IsCPUManagerPresent(node *k8sv1.Node) bool
- func IsOpenShift() bool
- func IsRealtimeCapable(node *k8sv1.Node) bool
- func IsRunningOnKindInfra() bool
- func IsS390X(arch string) bool
- func IsSEVCapable(node *k8sv1.Node, sevLabel string) bool
- func RecycleImageOrFail(virtClient kubecli.KubevirtClient, imageName string)
- func RequireFeatureGateVirtHandlerRestart(feature string) bool
- func SkipIfARM64(arch string, message string)deprecated
- func SkipIfMigrationIsNotPossible()deprecated
- func SkipIfNoRhelImage(virtClient kubecli.KubevirtClient)deprecated
- func SkipIfOpenShift(message string)deprecated
- func SkipIfOpenShift4(message string)deprecated
- func SkipIfPrometheusRuleIsNotEnabled(virtClient kubecli.KubevirtClient)deprecated
- func SkipIfRunningOnKindInfra(message string)deprecated
- func SkipIfS390X(arch string, message string)deprecated
- func SkipIfUseFlannel(virtClient kubecli.KubevirtClient)deprecated
- func SkipTestIfNoFeatureGate(featureGate string)deprecated
Constants ¶
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 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 RecycleImageOrFail ¶
func RecycleImageOrFail(virtClient kubecli.KubevirtClient, imageName string)
func RequireFeatureGateVirtHandlerRestart ¶ added in v1.0.0
func SkipIfARM64
deprecated
added in
v0.52.0
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 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.