package
1.17.0
Repository: https://github.com/ircody/amazon-ecs-agent.git
Documentation: pkg.go.dev

# 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.
NewInfiniteBuffer returns an InfiniteBuffer object.
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.
LoadImageTimeout is the timeout for the LoadImage API.
StatsInactivityTimeout controls the amount of time we hold open a connection to the Docker daemon waiting for stats data.

# 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.
CannotGetDockerClientVersionError indicates error when trying to get docker client api version.
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.
ContainerNetworkingError indicates any error when dealing with the network namespace of container.
ContainerNotFound is a type for a missing container.
ContainerVanishedError is a type for describing a container that does not exist.
No description provided by the author
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 a state machine for managing a task and its containers in ECS.
DockerTimeoutError is an error type for describing timeouts.
InfiniteBuffer defines an unlimited buffer, where it reads from input channel and write to output channel.
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.
TaskDependencyError is the error for task that dependencies can't be resolved.
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.