Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FailedCreateVirtualMachineInstanceMigrationReason is added in an event if creating a VirtualMachineInstanceMigration failed. FailedCreateVirtualMachineInstanceMigrationReason = "FailedCreate" // SuccessfulCreateVirtualMachineInstanceMigrationReason is added in an event if creating a VirtualMachineInstanceMigration succeeded. SuccessfulCreateVirtualMachineInstanceMigrationReason = "SuccessfulCreate" )
Variables ¶
This section is empty.
Functions ¶
func GenerateNewMigration ¶ added in v0.37.0
func GenerateNewMigration(vmiName string, key string) *virtv1.VirtualMachineInstanceMigration
Types ¶
type EvacuationController ¶
type EvacuationController struct { Queue workqueue.RateLimitingInterface // contains filtered or unexported fields }
func NewEvacuationController ¶
func NewEvacuationController( vmiInformer cache.SharedIndexInformer, migrationInformer cache.SharedIndexInformer, nodeInformer cache.SharedIndexInformer, vmiPodInformer cache.SharedIndexInformer, recorder record.EventRecorder, clientset kubecli.KubevirtClient, clusterConfig *virtconfig.ClusterConfig, ) *EvacuationController
func (*EvacuationController) Execute ¶
func (c *EvacuationController) Execute() bool
func (*EvacuationController) Run ¶
func (c *EvacuationController) Run(threadiness int, stopCh <-chan struct{})
Run runs the passed in NodeController.
Click to show internal directories.
Click to hide internal directories.