containerd/runtime
Akihiro Suda 2f601013e6 cgroup2: implement containerd.events.TaskOOM event
How to test (from https://github.com/opencontainers/runc/pull/2352#issuecomment-620834524):
  (host)$ sudo swapoff -a
  (host)$ sudo ctr run -t --rm --memory-limit $((1024*1024*32)) docker.io/library/alpine:latest foo
  (container)$ sh -c 'VAR=$(seq 1 100000000)'

An event `/tasks/oom {"container_id":"foo"}` will be displayed in `ctr events`.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-06-01 14:00:13 +09:00
..
linux/runctypes vendor protobuf & grpc 2020-02-26 10:57:05 +09:00
opts support cgroup2 2019-12-12 02:56:51 +09:00
restart Cleanup workdirs on manager load 2018-07-30 10:21:04 -04:00
v1 Replace errors.Cause() with errors.Is() 2020-05-08 14:36:45 +02:00
v2 cgroup2: implement containerd.events.TaskOOM event 2020-06-01 14:00:13 +09:00
events.go Licence header added 2018-02-19 10:32:26 +09:00
monitor.go Licence header added 2018-02-19 10:32:26 +09:00
runtime.go runtime: add Add/Delete method in PlatformRuntime interface 2018-12-29 13:56:38 +08:00
task_list.go Runtime v2 2018-07-17 10:21:29 -04:00
task.go Fast path getting pid from task 2019-07-26 17:48:00 +00:00
typeurl.go Licence header added 2018-02-19 10:32:26 +09:00