Documentation ¶
Index ¶
- Constants
- func FilterRunningMigrations(migrations []*v1.VirtualMachineInstanceMigration) []*v1.VirtualMachineInstanceMigration
- func IsMigrating(vmi *v1.VirtualMachineInstance) bool
- func ListUnfinishedMigrations(store cache.Store) []*v1.VirtualMachineInstanceMigration
- func ListWorkloadUpdateMigrations(store cache.Store, vmiName, ns string) []v1.VirtualMachineInstanceMigration
- func MigrationFailed(vmi *v1.VirtualMachineInstance) bool
- func VMIEvictionStrategy(clusterConfig *virtconfig.ClusterConfig, vmi *v1.VirtualMachineInstance) *v1.EvictionStrategy
- func VMIMigratableOnEviction(clusterConfig *virtconfig.ClusterConfig, vmi *v1.VirtualMachineInstance) bool
Constants ¶
View Source
const CancelMigrationFailedVmiNotMigratingErr = "failed to cancel migration - vmi is not migrating"
Variables ¶
This section is empty.
Functions ¶
func FilterRunningMigrations ¶
func FilterRunningMigrations(migrations []*v1.VirtualMachineInstanceMigration) []*v1.VirtualMachineInstanceMigration
func IsMigrating ¶ added in v0.34.2
func IsMigrating(vmi *v1.VirtualMachineInstance) bool
IsMigrating returns true if a given VMI is still migrating and false otherwise.
func ListUnfinishedMigrations ¶
func ListUnfinishedMigrations(store cache.Store) []*v1.VirtualMachineInstanceMigration
func ListWorkloadUpdateMigrations ¶ added in v1.3.0
func ListWorkloadUpdateMigrations(store cache.Store, vmiName, ns string) []v1.VirtualMachineInstanceMigration
func MigrationFailed ¶ added in v0.36.3
func MigrationFailed(vmi *v1.VirtualMachineInstance) bool
func VMIEvictionStrategy ¶ added in v0.51.0
func VMIEvictionStrategy(clusterConfig *virtconfig.ClusterConfig, vmi *v1.VirtualMachineInstance) *v1.EvictionStrategy
func VMIMigratableOnEviction ¶ added in v0.51.0
func VMIMigratableOnEviction(clusterConfig *virtconfig.ClusterConfig, vmi *v1.VirtualMachineInstance) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.