virthandler

package
v0.3.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

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{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL