Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
Recorder is the metrics recorder for cmmc.
func (*Recorder) Collectors ¶
func (r *Recorder) Collectors() []prometheus.Collector
Collectors gets the prometheus collectors from the recorder.
func (*Recorder) RecordCondition ¶
RecordCondition records the metav1.Condition for an object.
func (*Recorder) RecordNumSources ¶
RecordNumSources records how many sources a given object has.
This can be used for both MergeSource and MergeTarget resources.
func (*Recorder) RecordReadyCondition ¶
func (r *Recorder) RecordReadyCondition(o hasStatusCondition)
RecordReadyCondition records the ready condition.
Click to show internal directories.
Click to hide internal directories.