containerd

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 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