Documentation ¶
Index ¶
Constants ¶
View Source
const ( StateMigrating = "Migrating" StateAbortingMigration = "Aborting migration" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler resets vmi annotations and nodeSelector when a migration completes
func (*Handler) OnVmiChanged ¶
func (h *Handler) OnVmiChanged(_ string, vmi *kubevirtv1.VirtualMachineInstance) (*kubevirtv1.VirtualMachineInstance, error)
func (*Handler) OnVmimChanged ¶
func (h *Handler) OnVmimChanged(_ string, vmim *kubevirtv1.VirtualMachineInstanceMigration) (*kubevirtv1.VirtualMachineInstanceMigration, error)
Click to show internal directories.
Click to hide internal directories.