Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupVMICollector ¶
func SetupVMICollector( vmiInformer cache.SharedIndexInformer, clusterInstanceTypeInformer cache.SharedIndexInformer, instanceTypeInformer cache.SharedIndexInformer, clusterPreferenceInformer cache.SharedIndexInformer, preferenceInformer cache.SharedIndexInformer, clusterConfig *virtconfig.ClusterConfig, )
does VMI informer stuff
Types ¶
type VMICollector ¶
type VMICollector struct {
// contains filtered or unexported fields
}
func (*VMICollector) Collect ¶
func (co *VMICollector) Collect(ch chan<- prometheus.Metric)
Note that Collect could be called concurrently
func (*VMICollector) Describe ¶
func (co *VMICollector) Describe(_ chan<- *prometheus.Desc)
func (*VMICollector) UpdateFromAnnotations ¶ added in v1.0.0
func (co *VMICollector) UpdateFromAnnotations(vmc *vmiCountMetric, annotations map[string]string)
Click to show internal directories.
Click to hide internal directories.