events

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder interface {
	// NominatePod is called when we have determined that a pod should schedule against an existing node and don't
	// currently need to provision new capacity for the pod.
	NominatePod(pod *v1.Pod, node *v1.Node)
	// PodFailedToSchedule is called when a pod has failed to schedule entirely.
	PodFailedToSchedule(pod *v1.Pod, err error)
}

Recorder is used to record events that occur about pods so they can be viewed by looking at the pod's events so our actions are more observable without requiring log inspection

func NewDedupeRecorder added in v0.13.0

func NewDedupeRecorder(r Recorder) Recorder

func NewRecorder added in v0.13.0

func NewRecorder(rec record.EventRecorder) Recorder

Jump to

Keyboard shortcuts

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