containerd

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 8 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