Back to godoc.org
k8s.io/kubernetes / pkg / kubelet / oom

package oom

v1.18.5
Latest Go to latest
Published: Jun 26, 2020 | License: Apache-2.0 | Module: k8s.io/kubernetes

Index

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