Versions in this module Expand all Collapse all v0 v0.1.0 Jul 13, 2026 Changes in this version + type Client struct + func NewClient(logger *zap.Logger) (*Client, error) + func (c *Client) Close() error + func (c *Client) CopyToContainer(ctx context.Context, containerID, targetPath string, content io.Reader) error + func (c *Client) CreateContainer(ctx context.Context, config *ContainerConfig) (string, error) + func (c *Client) EnsureImage(ctx context.Context, imageName string) error + func (c *Client) ExecInContainer(ctx context.Context, containerID string, config *ExecConfig) (string, error) + func (c *Client) GetContainerLogs(ctx context.Context, containerID string, tail int) (string, error) + func (c *Client) ImageExists(ctx context.Context, imageName string) (bool, error) + func (c *Client) InspectContainer(ctx context.Context, containerID string) (*types.ContainerJSON, error) + func (c *Client) IsContainerRunning(ctx context.Context, containerID string) (bool, error) + func (c *Client) ListContainersByLabels(ctx context.Context, labels map[string]string) ([]types.Container, error) + func (c *Client) Ping(ctx context.Context) error + func (c *Client) PullImage(ctx context.Context, imageName string) error + func (c *Client) RemoveContainer(ctx context.Context, containerID string, force bool) error + func (c *Client) RemoveContainerByName(ctx context.Context, name string) (bool, error) + func (c *Client) StartContainer(ctx context.Context, containerID string) error + func (c *Client) StopContainer(ctx context.Context, containerID string, timeout *int) error + func (c *Client) WaitForContainer(ctx context.Context, containerID string, condition container.WaitCondition) error + func (c *Client) WaitForHealthy(ctx context.Context, containerID string, interval time.Duration, retries int) error + type ContainerConfig struct + AutoRemove bool + Cmd []string + Entrypoint []string + Env []string + Image string + Init bool + Labels map[string]string + Mounts []Mount + Name string + NetworkMode string + PortBindings map[string]string + User string + type ExecConfig struct + AttachStderr bool + AttachStdout bool + Cmd []string + Env []string + WorkingDir string + type Mount struct + ReadOnly bool + Source string + Target string + Type string