containerd

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSocketPath    = "/run/containerd/containerd.sock"
	DefaultK3SSocketPath = "/run/k3s/containerd/containerd.sock"
	DefaultTimeout       = 2 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewContainerdClient

func NewContainerdClient(path string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) PIDFromContainerID

func (c *Client) PIDFromContainerID(containerID string) (int, error)

Jump to

Keyboard shortcuts

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