docker

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: GPL-3.0 Imports: 8 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 New

func New(ctx context.Context, logger *logger.Logger) (*Client, error)

New connects to Saltbox's local rootful Docker daemon.

func (*Client) Close

func (c *Client) Close() error

func (*Client) InspectContainer added in v1.0.7

func (c *Client) InspectContainer(ctx context.Context, containerID string) (lifecycle.ContainerState, error)

func (*Client) ListContainers added in v1.0.7

func (c *Client) ListContainers(ctx context.Context) ([]lifecycle.Container, error)

func (*Client) Ping

func (c *Client) Ping(ctx context.Context) error

func (*Client) StartContainer

func (c *Client) StartContainer(ctx context.Context, containerID string) error

func (*Client) StopContainer

func (c *Client) StopContainer(ctx context.Context, containerID string, timeout time.Duration) error

Jump to

Keyboard shortcuts

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