containerd

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: BSD-2-Clause Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(ctx context.Context, id string, publisher shim.Publisher, shutdown func()) (shim.Shim, error)

NewService creates a new runj service and returns it as a shim.Shim

func SetReaper

func SetReaper() error

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

func SetupReaperSignals

func SetupReaperSignals(ctx context.Context, logger *logrus.Entry) error

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

func WaitNoFlush(c *exec.Cmd, ec chan runc.Exit) (int, error)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL