Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapPersistentVolumes ¶
func MapPersistentVolumes(vm *v1.VirtualMachine, clientset kubecli.KubevirtClient, namespace string) (*v1.VirtualMachine, error)
Almost everything in the VM object maps exactly to its domain counterpart One exception is persistent volume claims. This function looks up each PV and inserts a corrected disk entry into the VM's device map.
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( domainManager virtwrap.DomainManager, recorder record.EventRecorder, clientset kubecli.KubevirtClient, host string, configDiskClient configdisk.ConfigDiskClient, virtShareDir string, watchdogTimeoutSeconds int, vmInformer cache.SharedIndexInformer, domainInformer cache.SharedInformer, watchdogInformer cache.SharedIndexInformer, ) *VirtualMachineController
func (*VirtualMachineController) Execute ¶ added in v0.0.4
func (c *VirtualMachineController) Execute() bool
func (*VirtualMachineController) Run ¶ added in v0.0.4
func (c *VirtualMachineController) Run(threadiness int, stopCh chan struct{})
Click to show internal directories.
Click to hide internal directories.