docker

package
v1.3.3-Beta Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: LGPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	START processType = iota
	STOP
	REMOVE
	CREATE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(cfg *config.Config) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Exec

func (c *Client) Exec(ctx context.Context, containerID string, cmd []string) (string, error)

func (*Client) Purge

func (c *Client) Purge(ctx context.Context, serviceBuilders ...service.Builder) error

func (*Client) Restart

func (c *Client) Restart(ctx context.Context,
	serviceBuilders ...service.Builder) error

func (*Client) Start

func (c *Client) Start(ctx context.Context,
	serviceBuilders ...service.Builder) error

func (*Client) Stop

func (c *Client) Stop(ctx context.Context, serviceBuilders ...service.Builder) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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