migration

package
v0.3.0-preview1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	StateMigrating         = "Migrating"
	StateAbortingMigration = "Aborting migration"
)

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, management *config.Management, options config.Options) error

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL