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 *v1.VirtualMachineInstance) (*v1.VirtualMachineInstance, error)
func (*Handler) OnVmimChanged ¶
func (h *Handler) OnVmimChanged(_ string, vmim *v1.VirtualMachineInstanceMigration) (*v1.VirtualMachineInstanceMigration, error)
Click to show internal directories.
Click to hide internal directories.