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

containerd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 14 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 {
	// contains filtered or unexported fields
}

func NewClientWithSSH

func NewClientWithSSH(sshInfo *sshutil.HostInfo) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) ListContainer added in v0.0.8

func (c *Client) ListContainer(ctx context.Context, all bool) ([]*container.Container, error)

func (*Client) ListImage added in v0.0.8

func (c *Client) ListImage(ctx context.Context, all bool) ([]*container.Image, error)

func (*Client) ListNetwork added in v0.0.8

func (c *Client) ListNetwork(ctx context.Context) ([]*container.Network, error)

func (*Client) Logs added in v0.0.8

func (c *Client) Logs(ctx context.Context, containerId string) (io.ReadCloser, error)

func (*Client) Terminal added in v0.0.8

func (c *Client) Terminal(ctx *gin.Context, containerId string, user, cmd string) error

Jump to

Keyboard shortcuts

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