virt_controller

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVMIPhaseTransitionHandlers

func AddVMIPhaseTransitionHandlers(informer cache.SharedIndexInformer) error

func CreateVMIMigrationHandler

func CreateVMIMigrationHandler(informer cache.SharedIndexInformer) error

func GetOutdatedVirtualMachineInstanceWorkloads added in v1.3.0

func GetOutdatedVirtualMachineInstanceWorkloads() (int, error)

func GetVirtControllerMetric

func GetVirtControllerMetric() (*ioprometheusclient.Metric, error)

func GetVmiLaucherMemoryOverhead added in v1.3.0

func GetVmiLaucherMemoryOverhead(vmi *v1.VirtualMachineInstance) (float64, error)

func ListMetrics

func ListMetrics() []operatormetrics.Metric

func PhaseTransitionTimeBuckets added in v1.3.0

func PhaseTransitionTimeBuckets() []float64

func SetOutdatedVirtualMachineInstanceWorkloads added in v1.3.0

func SetOutdatedVirtualMachineInstanceWorkloads(value int)

func SetVirtControllerLeading

func SetVirtControllerLeading()

func SetVirtControllerNotReady

func SetVirtControllerNotReady()

func SetVirtControllerReady

func SetVirtControllerReady()

func SetVmiLaucherMemoryOverhead added in v1.3.0

func SetVmiLaucherMemoryOverhead(vmi *v1.VirtualMachineInstance, memoryOverhead resource.Quantity)

func SetupMetrics

func SetupMetrics(
	vm cache.SharedIndexInformer,
	vmi cache.SharedIndexInformer,
	clusterInstanceType cache.SharedIndexInformer,
	instanceType cache.SharedIndexInformer,
	clusterPreference cache.SharedIndexInformer,
	preference cache.SharedIndexInformer,
	vmiMigration cache.SharedIndexInformer,
	virtClusterConfig *virtconfig.ClusterConfig,
) error

func UpdateVMIMigrationInformer

func UpdateVMIMigrationInformer(informer cache.SharedIndexInformer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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