Documentation
¶
Index ¶
- func New(address string) (types.Client, error)
- type Client
- func (c *Client) Close() error
- func (c *Client) GetPid(ctx context.Context, containerId string) (int, error)
- func (c *Client) List(ctx context.Context) ([]types.Container, error)
- func (c *Client) Pause(ctx context.Context, id string) error
- func (c *Client) Runtime() types.Runtime
- func (c *Client) Socket() string
- func (c *Client) Stop(ctx context.Context, id string, graceful bool) error
- func (c *Client) Unpause(ctx context.Context, id string) error
- func (c *Client) Version(ctx context.Context) (string, error)
- type Container
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements the types.Client interface for Docker
Click to show internal directories.
Click to hide internal directories.