Documentation ¶
Overview ¶
Package dockerapi provides a way to interact with the Docker API using an adapter pattern.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around the Docker client.
func (*Client) ContainerList ¶
ContainerList returns the list of containers from the Docker client.
type IPAddress ¶
type IPAddress string
IPAddress represents a Docker container's IP in a particular network.
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock is a mock implementation of the Docker interface. It should be used by tests so the actual Docker API is not actually called.
func (*Mock) ContainerList ¶
ContainerList returns the next container output in the list of outputs.
Click to show internal directories.
Click to hide internal directories.