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 ¶
This section is empty.
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,
recorder record.EventRecorder,
clientset kubecli.KubevirtClient,
clusterConfig *virtconfig.ClusterConfig,
) *EvacuationController
Click to show internal directories.
Click to hide internal directories.