containerd

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*containerd.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts Options) (*Client, error)

func (*Client) ContainerRemoveEx

func (c *Client) ContainerRemoveEx(
	ctx context.Context,
	cont containerd.Container,
	force bool,
) error

func (*Client) ImagePullEx

func (c *Client) ImagePullEx(
	ctx context.Context,
	ref string,
	platform string,
) (containerd.Image, error)

func (*Client) Namespace

func (c *Client) Namespace() string

type Options

type Options struct {
	Out       *streams.Out
	Address   string
	Namespace string
}

Jump to

Keyboard shortcuts

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