shim

package
v0.0.0-...-989fa2c Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0, MIT Imports: 46 Imported by: 0

Documentation

Overview

Package shim implements Containerd Shim v2 interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, id string, publisher shim.Publisher, cancel func()) (shim.Shim, error)

New returns a new shim service that can be used via GRPC.

Types

type TaskOOM

type TaskOOM = events.TaskOOM

TaskOOM is an alias for events.TaskOOM.

Directories

Path Synopsis
Package proc is responsible to manage the communication between the shim and the sandbox process running the container.
Package proc is responsible to manage the communication between the shim and the sandbox process running the container.
Package runsc provides an API to interact with runsc command line.
Package runsc provides an API to interact with runsc command line.
Package runtimeoptions contains the runtimeoptions proto for containerd 1.5 and above.
Package runtimeoptions contains the runtimeoptions proto for containerd 1.5 and above.
v14
Package v14 contains the runtimeoptions proto for containerd 1.4 and earlier.
Package v14 contains the runtimeoptions proto for containerd 1.4 and earlier.
Package utils container miscellaneous utility function used by the shim.
Package utils container miscellaneous utility function used by the shim.

Jump to

Keyboard shortcuts

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