Documentation
¶
Index ¶
Constants ¶
View Source
const (
//VolumeReadyReason is the reason set when the volume is ready.
VolumeReadyReason = "VolumeReady"
//VolumeUnMountedFromPodReason is the reason set when the volume is unmounted from the virtlauncher pod
VolumeUnMountedFromPodReason = "VolumeUnMountedFromPod"
//VolumeMountedToPodReason is the reason set when the volume is mounted to the virtlauncher pod
VolumeMountedToPodReason = "VolumeMountedToPod"
//VolumeUnplugged is the reason set when the volume is completely unplugged from the VMI
VolumeUnplugged = "VolumeUnplugged"
//VMIDefined is the reason set when a VMI is defined
VMIDefined = "VirtualMachineInstance defined."
//VMIStarted is the reason set when a VMI is started
VMIStarted = "VirtualMachineInstance started."
//VMIShutdown is the reason set when a VMI is shutdown
VMIShutdown = "The VirtualMachineInstance was shut down."
//VMICrashed is the reason set when a VMI crashed
VMICrashed = "The VirtualMachineInstance crashed."
//VMIAbortingMigration is the reason set when migration is being aborted
VMIAbortingMigration = "VirtualMachineInstance is aborting migration."
//VMIMigrating in the reason set when the VMI is migrating
VMIMigrating = "VirtualMachineInstance is migrating."
//VMIMigrationTargetPrepared is the reason set when the migration target has been prepared
VMIMigrationTargetPrepared = "VirtualMachineInstance Migration Target Prepared."
//VMIStopping is the reason set when the VMI is stopping
VMIStopping = "VirtualMachineInstance stopping"
//VMIGracefulShutdown is the reason set when the VMI is gracefully shut down
VMIGracefulShutdown = "Signaled Graceful Shutdown"
//VMISignalDeletion is the reason set when the VMI has signal deletion
VMISignalDeletion = "Signaled Deletion"
)
Variables ¶
This section is empty.
Functions ¶
func IsoGuestVolumePath ¶ added in v0.36.4
func IsoGuestVolumePath(vmi *v1.VirtualMachineInstance, volume *v1.Volume) (string, bool)
Types ¶
type VirtualMachineController ¶ added in v0.0.4
type VirtualMachineController struct {
Queue workqueue.RateLimitingInterface
// contains filtered or unexported fields
}
func NewController ¶ added in v0.0.4
func NewController(
recorder record.EventRecorder,
clientset kubecli.KubevirtClient,
host string,
ipAddress string,
virtShareDir string,
virtPrivateDir string,
vmiSourceInformer cache.SharedIndexInformer,
vmiTargetInformer cache.SharedIndexInformer,
domainInformer cache.SharedInformer,
gracefulShutdownInformer cache.SharedIndexInformer,
watchdogTimeoutSeconds int,
maxDevices int,
clusterConfig *virtconfig.ClusterConfig,
podIsolationDetector isolation.PodIsolationDetector,
migrationProxy migrationproxy.ProxyManager,
) *VirtualMachineController
Directories
¶
Path | Synopsis |
---|---|
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.