Back to / pkg / kubelet / oom

package oom

Latest Go to latest
Published: Jun 26, 2020 | License: Apache-2.0 | Module:


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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier