containerd package

import "go.sbk.wtf/runj/containerd"

Index

func NewManager

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

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.

func SetReaper

SetReaper sets this process as the reaper for its orphaned descendant processes

func SetupReaperSignals

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.

func WaitNoFlush

WaitNoFlush waits for a process to exit but does not flush IO with cmd.Wait

Source Files

bundle.go exec.go managed_process.go manager.go pio.go plugin.go reaper.go shim.go