Help us shape the future of Go! Take the 2026 Go Developer Survey

containerd

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_SOCKET_PATH = "/run/containerd/containerd.sock"
	DEFAULT_TIMEOUT     = 2 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerdClient

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

func NewContainerdClient

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

func (*ContainerdClient) Close

func (c *ContainerdClient) Close() error

func (*ContainerdClient) PidFromContainerId

func (c *ContainerdClient) PidFromContainerId(containerID string) (int, error)

Jump to

Keyboard shortcuts

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