virthandler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 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(
	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,
	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
api
cli

Jump to

Keyboard shortcuts

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