Documentation ¶
Index ¶
- Variables
- func DecManagedVirtualMachineCount()
- func DecVirtualMachineCount()
- func IncManagedVirtualMachineCount()
- func IncVirtualMachineCount()
- func SetManagedVirtualMachineCPUCores(name, namespace string, cores float64)
- func SetManagedVirtualMachineMemory(name, namespace string, memory float64)
- func SetVirtualMachineCPUCores(name, namespace string, cores float64)
- func SetVirtualMachineMemory(name, namespace string, memory float64)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ManagedVirtualMachineCount = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_count", Help: "Number of managedVirtualMachines exists in Proxmox", }) ManagedVirtualMachineCPUCores = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_cpu_cores", Help: "Number of CPU cores of managedVirtualMachine", }, []string{"name", "namespace"}) ManagedVirtualMachineMemory = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "kubemox_managed_virtual_machine_memory", Help: "Memory of managedVirtualMachine as MB", }, []string{"name", "namespace"}) )
Functions ¶
func DecManagedVirtualMachineCount ¶
func DecManagedVirtualMachineCount()
func DecVirtualMachineCount ¶
func DecVirtualMachineCount()
func IncManagedVirtualMachineCount ¶
func IncManagedVirtualMachineCount()
func IncVirtualMachineCount ¶
func IncVirtualMachineCount()
func SetVirtualMachineMemory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.