Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event string
const ( SnapshotCreated Event = "SnapshotCreated" SnapshotReady Event = "SnapshotReady" RestoreCreated Event = "RestoreCreated" RestoreCreationFailed Event = "RestoreCreationFailed" RestoreReady Event = "RestoreReady" TargetVMCreated Event = "TargetVMCreated" PVCBound Event = "PVCBound" SnapshotDeleted Event = "SnapshotDeleted" SourceDoesNotExist Event = "SourceDoesNotExist" )
type VMCloneController ¶
type VMCloneController struct {
// contains filtered or unexported fields
}
func NewVmCloneController ¶
func NewVmCloneController(client kubecli.KubevirtClient, vmCloneInformer, snapshotInformer, restoreInformer, vmInformer, snapshotContentInformer, pvcInformer cache.SharedIndexInformer, recorder record.EventRecorder) (*VMCloneController, error)
func (*VMCloneController) Execute ¶
func (ctrl *VMCloneController) Execute() bool
func (*VMCloneController) Run ¶
func (ctrl *VMCloneController) Run(threadiness int, stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.