Documentation ¶
Index ¶
- func AddVMIPhaseTransitionHandlers(informer cache.SharedIndexInformer) error
- func CreateVMIMigrationHandler(informer cache.SharedIndexInformer) error
- func GetOutdatedVirtualMachineInstanceWorkloads() (int, error)
- func GetVirtControllerMetric() (*ioprometheusclient.Metric, error)
- func GetVmiLaucherMemoryOverhead(vmi *v1.VirtualMachineInstance) (float64, error)
- func ListMetrics() []operatormetrics.Metric
- func PhaseTransitionTimeBuckets() []float64
- func SetOutdatedVirtualMachineInstanceWorkloads(value int)
- func SetVirtControllerLeading()
- func SetVirtControllerNotReady()
- func SetVirtControllerReady()
- func SetVmiLaucherMemoryOverhead(vmi *v1.VirtualMachineInstance, memoryOverhead resource.Quantity)
- func SetupMetrics(vm cache.SharedIndexInformer, vmi cache.SharedIndexInformer, ...) error
- func UpdateVMIMigrationInformer(informer cache.SharedIndexInformer)
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 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.
Click to show internal directories.
Click to hide internal directories.