# Packages
No description provided by the author
Package dockerauth handles storing auth configuration information for Docker registries.
No description provided by the author
Package dockeriface contains an interface for go-dockerclient matching the subset used by the agent.
No description provided by the author
Package emptyvolume contains some information related to the 'emptyvolumes'.
No description provided by the author
Package testutils contains files that are used in tests but not elsewhere and thus can be excluded from the final executable.
# Functions
NewDockerGoClient creates a new DockerGoClient.
NewDockerStateError creates a DockerStateError.
NewDockerTaskEngine returns a created, but uninitialized, DockerTaskEngine.
NewImageManager returns a new ImageManager.
No description provided by the author
No description provided by the author
No description provided by the author
NewTaskEngine returns a default TaskEngine.
# Constants
DockerDefaultEndpoint is the default value for the Docker endpoint.
DockerEndpointEnvVariable is the environment variable that can override the Docker endpoint.
ListContainersTimeout is the timeout for the ListContainers API.
# Variables
ImagePullDeleteLock ensures that pulls and deletes do not run at the same time and pulls can be run at the same time for docker >= 1.11.1 Pulls are serialized as a temporary workaround for a devicemapper issue.
# Structs
CannotCreateContainerError indicates any error when trying to create a container.
CannotDescribeContainerError indicates any error when trying to describe a container.
CannotGetDockerClientError is a type for failing to get a specific Docker client.
CannotInspectContainerError indicates any error when trying to inspect a container.
CannotListContainersError indicates any error when trying to list containers.
CannotPullContainerError indicates any error when trying to pull a container image.
CannotPullECRContainerError indicates any error when trying to pull a container image from ECR.
CannotRemoveContainerError indicates any error when trying to remove a container.
CannotStartContainerError indicates any error when trying to start a container.
CannotStopContainerError indicates any error when trying to stop a container.
ContainerNotFound is a type for a missing container.
ContainerVanishedError is a type for describing a container that does not exist.
DockerContainerChangeEvent is a type for container change events.
DockerContainerMetadata is a type for metadata about Docker containers.
DockerStateError is a wrapper around the error docker puts in the '.State.Error' field of its inspect output.
DockerTaskEngine is an abstraction over the DockerGoClient so that it does not have to know about tasks, only containers The DockerTaskEngine interacts with docker to implement a task engine.
DockerTimeoutError is an error type for describing timeouts.
ListContainersResponse encapsulates the response from the docker client for the ListContainers call.
Mock of DockerClient interface.
Mock of ImageManager interface.
Mock of TaskEngine interface.
OutOfMemoryError is a type for errors caused by running out of memory.
TaskStoppedBeforePullBeginError is a type for task errors involving pull.
# Interfaces
DockerClient interface to make testing it easier.
ImageManager is responsible for saving the Image states, adding and removing container references to ImageStates.
TaskEngine is an interface for the DockerTaskEngine.
# Type aliases
ImageStatesForDeletion is used for implementing the sort interface.