Documentation ¶
Index ¶
- Constants
- type Recorder
- func (r *Recorder) Collectors() []prometheus.Collector
- func (r *Recorder) RecordCondition(ref corev1.ObjectReference, condition metav1.Condition, deleted bool)
- func (r *Recorder) RecordDuration(ref corev1.ObjectReference, start time.Time)
- func (r *Recorder) RecordSuspend(ref corev1.ObjectReference, suspend bool)
Constants ¶
View Source
const (
ConditionDeleted = "Deleted"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func NewRecorder ¶
func NewRecorder() *Recorder
func (*Recorder) Collectors ¶
func (r *Recorder) Collectors() []prometheus.Collector
func (*Recorder) RecordCondition ¶
func (*Recorder) RecordDuration ¶
func (r *Recorder) RecordDuration(ref corev1.ObjectReference, start time.Time)
func (*Recorder) RecordSuspend ¶ added in v0.5.0
func (r *Recorder) RecordSuspend(ref corev1.ObjectReference, suspend bool)
Click to show internal directories.
Click to hide internal directories.