docker

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSocketPath = "/var/run/docker.sock"
	DefaultTimeout    = 2 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.6.0

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

func NewDockerClient

func NewDockerClient(path string) (*Client, error)

func (*Client) Close added in v0.6.0

func (c *Client) Close() error

func (*Client) PIDFromContainerID added in v0.6.0

func (c *Client) PIDFromContainerID(containerID string) (int, error)

Jump to

Keyboard shortcuts

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