Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapVolumes ¶ added in v0.2.0
func MapVolumes(vm *v1.VirtualMachine, clientset kubecli.KubevirtClient, namespace string) (*v1.VirtualMachine, error)
Look up Volumes and PVs and translate them into their primitives (only supports ISCSI and PVs right now)
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, virtShareDir string, vmInformer cache.SharedIndexInformer, domainInformer cache.SharedInformer, gracefulShutdownInformer 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.