import "go.sbk.wtf/runj/containerd"
NewManager returns a shim.Manager for the runj shim. The manager forks the shim process and handles fallback cleanup; the task API is served by the plugin-registered service (see NewTaskService).
func NewTaskService(ctx context.Context, publisher shim.Publisher, sd shutdown.Service) (taskAPI.TTRPCTaskService, error)
NewTaskService creates a new runj task service implementing the v3 TTRPC task API. The publisher and shutdown service are supplied by the shim plugin init context.
SetReaper sets this process as the reaper for its orphaned descendant processes
SetupReaperSignals configures the current process as a reaper, sets up a signal handler to receive SIGCHLD,and processes SIGCHLD events with containerd's reaper package.
WaitNoFlush waits for a process to exit but does not flush IO with cmd.Wait
bundle.go exec.go managed_process.go manager.go pio.go plugin.go reaper.go shim.go