virt_controller

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 14 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 GetVirtControllerMetric

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

func ListMetrics

func ListMetrics() []operatormetrics.Metric

func SetVirtControllerLeading

func SetVirtControllerLeading()

func SetVirtControllerNotReady

func SetVirtControllerNotReady()

func SetVirtControllerReady

func SetVirtControllerReady()

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