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" // FailedEvictVirtualMachineReason is added in an event if a deletion of a VMI fails FailedEvictVirtualMachineInstanceReason = "FailedEvict" // SuccessfulEvictVirtualMachineReason is added in an event if a deletion of a VMI Succeeds SuccessfulEvictVirtualMachineInstanceReason = "SuccessfulEvict" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkloadUpdateController ¶
type WorkloadUpdateController struct {
// contains filtered or unexported fields
}
func NewWorkloadUpdateController ¶
func NewWorkloadUpdateController( launcherImage string, vmiInformer cache.SharedIndexInformer, podInformer cache.SharedIndexInformer, migrationInformer cache.SharedIndexInformer, kubeVirtInformer cache.SharedIndexInformer, recorder record.EventRecorder, clientset kubecli.KubevirtClient, clusterConfig *virtconfig.ClusterConfig, ) *WorkloadUpdateController
func (*WorkloadUpdateController) Execute ¶
func (c *WorkloadUpdateController) Execute() bool
func (*WorkloadUpdateController) Run ¶
func (c *WorkloadUpdateController) Run(stopCh <-chan struct{})
Run runs the passed in NodeController.
Click to show internal directories.
Click to hide internal directories.