containerd

package
v1.2.44 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAddr = "/run/containerd/containerd.sock"
View Source
const DefaultNS = "LYY"
View Source
const DefaultTOSec = 8

Variables

View Source
var DefaultPlatform = platforms.Only(specs.Platform{
	Architecture: internal_api.Amd64,
	OS:           internal_api.Linux,
	OSVersion:    "",
	OSFeatures:   nil,
	Variant:      "",
})

Functions

This section is empty.

Types

type Client

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

func New

func New() (*Client, error)

func (*Client) ContainerList

func (c *Client) ContainerList(filters ...string) ([]containerdcli.Container, error)

func (*Client) ImageList

func (c *Client) ImageList(filters ...string) ([]containerdcli.Image, error)

func (*Client) ImagePull

func (c *Client) ImagePull(absRef string) (containerdcli.Image, error)

func (*Client) Server

func (c *Client) Server() (ServerUUID string, err error)

Jump to

Keyboard shortcuts

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