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.
Click to show internal directories.
Click to hide internal directories.