oom

package
v1.30.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher interface {
	Start(ref *v1.ObjectReference) error
}

Watcher defines the interface of OOM watchers.

func NewWatcher

func NewWatcher(recorder record.EventRecorder) (Watcher, error)

NewWatcher creates and initializes a OOMWatcher backed by Cadvisor as the oom streamer.

Jump to

Keyboard shortcuts

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