Documentation ¶
Index ¶
- Constants
- Variables
- func ProvideLogging() component.Declared[Observer]
- func ProvideMetrics() component.Declared[Observer]
- type Aggregated
- type EndEnqueue
- type EndReconcile
- type EnqueueError
- type NextEventPoolSingleDrain
- type Observer
- type ReconcileAction
- type StartEnqueue
- type StartReconcile
- type TriggerPodCreate
- type TriggerPodUpdate
Constants ¶
View Source
const ( ReconcileActionNoPpr = ReconcileAction("NoPpr") ReconcileActionSelectorMismatch = ReconcileAction("SelectorMismatch") ReconcileActionUpdated = ReconcileAction("Updated") )
Variables ¶
View Source
var Provide = component.RequireDeps( component.RequireDep(ProvideLogging()), component.RequireDep(ProvideMetrics()), )
Functions ¶
func ProvideLogging ¶
func ProvideMetrics ¶
Types ¶
type Aggregated ¶
type EndEnqueue ¶
type EndEnqueue struct{}
type EndReconcile ¶
type EndReconcile struct { Err error HasChange haschange.Changed Action ReconcileAction }
type EnqueueError ¶
type Observer ¶
type Observer struct { StartReconcile o11y.ObserveScopeFunc[StartReconcile] EndReconcile o11y.ObserveFunc[EndReconcile] StartEnqueue o11y.ObserveScopeFunc[StartEnqueue] EndEnqueue o11y.ObserveFunc[EndEnqueue] EnqueueError o11y.ObserveFunc[EnqueueError] Aggregated o11y.ObserveFunc[Aggregated] NextEventPoolCurrentSize o11y.MonitorFunc[util.Empty, int] NextEventPoolCurrentLatency o11y.MonitorFunc[util.Empty, time.Duration] NextEventPoolSingleDrain o11y.ObserveFunc[NextEventPoolSingleDrain] TriggerPodCreate o11y.ObserveFunc[TriggerPodCreate] TriggerPodUpdate o11y.ObserveFunc[TriggerPodUpdate] }
func NewLoggingObserver ¶
func NewLoggingObserver() Observer
func (Observer) ComponentName ¶
type ReconcileAction ¶
type ReconcileAction string
type StartEnqueue ¶
type StartReconcile ¶
type TriggerPodCreate ¶
type TriggerPodCreate struct {
Err error
}
type TriggerPodUpdate ¶
type TriggerPodUpdate struct {
Err error
}
Click to show internal directories.
Click to hide internal directories.