Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AnnCurrentProgress is annotations storing current progress of the vm import AnnCurrentProgress = "vmimport.v2v.kubevirt.io/progress" // AnnPropagate is annotation defining which values to propagate AnnPropagate = "vmimport.v2v.kubevirt.io/propagate-annotations" // TrackingLabel is a label used to track related entities. TrackingLabel = "vmimport.v2v.kubevirt.io/tracker" // EventImportScheduled is emitted when import scheduled EventImportScheduled = "ImportScheduled" // EventImportInProgress is emitted when import is in progress EventImportInProgress = "ImportInProgress" // EventImportSucceeded is emitted when import succeed EventImportSucceeded = "ImportSucceeded" // EventImportBlocked is emitted when import is blocked EventImportBlocked = "ImportBlocked" // EventVMStartFailed is emitted when vm failed to start EventVMStartFailed = "VMStartFailed" // EventVMCreationFailed is emitted when creation of vm fails EventVMCreationFailed = "VMCreationFailed" // EventDVCreationFailed is emitted when creation of datavolume fails EventDVCreationFailed = "DVCreationFailed" // EventPVCImportFailed is emitted when import of pvc fails EventPVCImportFailed = "EventPVCImportFailed" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, kvConfigProvider kvConfig.KubeVirtConfigProvider, ctrlConfigProvider ctrlConfig.ControllerConfigProvider) error
Add creates a new VirtualMachineImport Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
Types ¶
type ReconcileVirtualMachineImport ¶
type ReconcileVirtualMachineImport struct {
// contains filtered or unexported fields
}
ReconcileVirtualMachineImport reconciles a VirtualMachineImport object
func (*ReconcileVirtualMachineImport) Reconcile ¶
func (r *ReconcileVirtualMachineImport) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a VirtualMachineImport object and makes changes based on the state read and what is in the VirtualMachineImport.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Click to show internal directories.
Click to hide internal directories.