Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error) ServerVersion(context.Context) (types.Version, error) }
Client interface for testing purposes. Includes only the methods used by the underlying docker package.
type Docker ¶
type Docker struct {
Client Client
}
Docker for handling communication with the docker processes. Can be created with default settings by calling New or with a custom Client by manually instantiating this type.
Click to show internal directories.
Click to hide internal directories.