pcideviceclaim

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNS  = "harvester-system"
	KubevirtCR = "kubevirt"
)

Variables

This section is empty.

Functions

Types

type Controller

type Controller struct {
	PCIDeviceClaims v1beta1gen.PCIDeviceClaimController
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (Handler) OnRemove added in v0.2.1

func (h Handler) OnRemove(name string, pdc *v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error)

When a PCIDeviceClaim is removed, we need to unbind the device from the vfio-pci driver

Jump to

Keyboard shortcuts

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