package oom
import "github.com/containerd/containerd/pkg/oom"
Index ¶
Types ¶
type Epoller ¶
type Epoller struct {
// contains filtered or unexported fields
}
Epoller implementation for handling OOM events from a container's cgroup
func New ¶
New returns an epoll implementation that listens to OOM events from a container's cgroups.
func (*Epoller) Add ¶
Add the cgroup to the epoll monitor
func (*Epoller) Close ¶
Close the epoll fd
func (*Epoller) Run ¶
Run the epoll loop
Source Files ¶
- Version
- v1.3.7
- Published
- Aug 4, 2020
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 2 minutes ago –
Tools for package owners.