package oom
import "k8s.io/kubernetes/pkg/kubelet/oom"
Index ¶
Types ¶
type Watcher ¶
type Watcher interface { Start(ctx context.Context, ref *v1.ObjectReference) error }
Watcher defines the interface of OOM watchers.
func NewWatcher ¶
func NewWatcher(_ record.EventRecorder) (Watcher, error)
NewWatcher creates a fake one here
Source Files ¶
oom_watcher_unsupported.go types.go
- Version
- v1.33.2 (latest)
- Published
- Jun 17, 2025
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 27 minutes ago –
Tools for package owners.