Documentation ¶
Overview ¶
The Migration CR represents an execution of the Plan. The migration reconciler watches the associated Plan and replicates the VM `migration` status to the Status on the Migration CR. The actual migration is orchestrated by the Plan controller.
Index ¶
Constants ¶
View Source
const ( PlanNotValid = "PlanNotValid" PlanNotReady = "PlanNotReady" VMNotFound = "VMNotFound" VMNotUnique = "VMNotUnique" Running = "Running" Executing = plancnt.Executing Succeeded = plancnt.Succeeded Failed = plancnt.Failed Canceled = plancnt.Canceled )
Types
View Source
const ( Required = libcnd.Required Advisory = libcnd.Advisory Critical = libcnd.Critical Error = libcnd.Error Warn = libcnd.Warn )
Categories
View Source
const ( NotSet = "NotSet" NotFound = "NotFound" Ambiguous = "Ambiguous" )
Reasons
View Source
const ( True = libcnd.True False = libcnd.False )
Statuses
View Source
const (
// Name.
Name = "migration"
)
Variables ¶
View Source
var Settings = &settings.Settings
Application settings.
Functions ¶
Types ¶
type MigrationPredicate ¶
func (MigrationPredicate) Create ¶
func (r MigrationPredicate) Create(e event.CreateEvent) bool
func (MigrationPredicate) Delete ¶
func (r MigrationPredicate) Delete(e event.DeleteEvent) bool
func (MigrationPredicate) Update ¶
func (r MigrationPredicate) Update(e event.UpdateEvent) bool
type PlanPredicate ¶
func (PlanPredicate) Create ¶
func (r PlanPredicate) Create(e event.CreateEvent) bool
func (PlanPredicate) Delete ¶
func (r PlanPredicate) Delete(e event.DeleteEvent) bool
func (PlanPredicate) Generic ¶
func (r PlanPredicate) Generic(e event.GenericEvent) bool
func (PlanPredicate) Update ¶
func (r PlanPredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.