MCPcopy
hub / github.com/containerd/containerd / watcher

Struct watcher

pkg/oom/v2/v2.go:43–46  ·  view source on GitHub ↗

watcher implementation for handling OOM events from a container's cgroup

Source from the content-addressed store, hash-verified

41
42// watcher implementation for handling OOM events from a container's cgroup
43type watcher struct {
44 itemCh chan item
45 publisher events.Publisher
46}
47
48type item struct {
49 id string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected