controllers

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDynamicIfaceRequestOnVMI

func ApplyDynamicIfaceRequestOnVMI(
	vm *v1.VirtualMachine,
	vmi *v1.VirtualMachineInstance,
	hasOrdinalIfaces bool,
) *v1.VirtualMachineInstanceSpec

func ClearDetachedInterfaces

func ClearDetachedInterfaces(
	specIfaces []v1.Interface,
	specNets []v1.Network,
	statusIfaces map[string]v1.VirtualMachineInstanceNetworkInterface,
) ([]v1.Interface, []v1.Network)

func UpdateVMIStatus

func UpdateVMIStatus(vmi *v1.VirtualMachineInstance, pod *k8scorev1.Pod) error

Types

type VMController

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

func NewVMController

func NewVMController(clientset kubevirt.Interface, podGetter podFromVMIGetter) *VMController

func (*VMController) Sync

Jump to

Keyboard shortcuts

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