metrics

package
v0.3.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionDeleted = "Deleted"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics interface {
	Init()
	RecordCondition(obj runtime.Object, condition metav1.Condition, deleted bool)
	RecordDuration(obj runtime.Object, start time.Time)
}

func NewMetrics

func NewMetrics() Metrics

NewMetrics returns a metrics interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL