containerd/runtime
Marat Radchenko 0607e73263 Move GetTopic function out of runc shim
Every shim implementation needs to select a correct publisher topic when posting events, so move it out of Linux-only runc code to the place where other shims can also use it

Otherwise, shims have to copy-paste this code. For example, see runj: 8158e558a3/containerd/shim.go (L144-L172)

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
2023-06-30 10:29:21 +03:00
..
opts Use github.com/containerd/cgroups/v3 to remove gogo 2022-11-14 21:07:48 +00:00
restart Merge pull request #7951 from Iceber/fix_restart_monitor 2023-03-16 08:58:20 +08:00
v2 Move GetTopic function out of runc shim 2023-06-30 10:29:21 +03:00
events.go Move GetTopic function out of runc shim 2023-06-30 10:29:21 +03:00
monitor.go Add runtime label to metrics 2021-07-23 10:04:46 -07:00
nsmap.go Use RWMutex in NSMap and reduce lock area 2023-06-14 17:50:54 +00:00
runtime.go go.mod: github.com/containerd/typeurl/v2 v2.1.0 2023-02-11 23:39:52 +09:00
task.go Consolidate gogo/protobuf dependencies under our own protobuf package 2022-04-19 15:53:36 +00:00
typeurl.go go.mod: github.com/containerd/typeurl/v2 v2.1.0 2023-02-11 23:39:52 +09:00