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

# Packages

No description provided by the author
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

No description provided by the author
NewNamedError creates a NamedError.
NewTransportProtocol returns a TransportProtocol from a string in the task.
PortBindingFromDockerPortBinding constructs a PortBinding slice from a docker NetworkSettings.Ports map.
RemoveFromTaskArray removes the element at ndx from an array of task pointers, arr.
TaskFromACS translates ecsacs.Task to api.Task by first marshaling the recieved ecsacs.Task to json and unmrashaling it as api.Task.

# Constants

ContainerCreated represents a container that has been created.
ContainerPulled represents a container which has had the image pulled.
ContainerRunning represents a container that has started.
ContainerStatusNone is the zero state of a container; this container has not completed pull.
ContainerStopped represents a container that has stopped.
ContainerZombie is an "impossible" state that is used as the maximum.
4MB.
No description provided by the author
No description provided by the author
TaskCreated represents a task which has had all its containers created.
TaskPulled represents a task which has had all its container images pulled, but not all have yet progressed passed pull.
TaskRunning represents a task which has had all its containers started.
TaskStatusNone is the zero state of a task; this task has been received but no further progress has completed.
TaskStopped represents a task in which all containers are stopped.
TransportProtocolTCP represents TCP.
TransportProtocolUDP represents UDP.
No description provided by the author
No description provided by the author

# Structs

Container is the internal representation of a container in the ECS agent.
ContainerOverrides are overrides applied to the container.
ContainerStateChange represents a state change that needs to be sent to the SubmitContainerStateChange API.
NamedError is a wrapper type for 'error' which adds an optional name and provides a symetric marshal/unmarshal.
No description provided by the author
DockerConfig represents additional metadata about a container to run.
DockerContainer is a mapping between containers-as-docker-knows-them and containers-as-we-know-them.
ECRAuthData is the authentication details for ECR specifying the region, registryID, and possible endpoint override.
EmptyHostVolume represents a volume without a specified host path.
FSHostVolume is a simple type of HostVolume which references an arbitrary location on the host as the Volume.
No description provided by the author
MountPoint describes the in-container location of a Volume and references that Volume by name.
PortBinding represents a port binding for a container.
RegistryAuthenticationData is the authentication data sent by the ECS backend.
Resource is an on-host resource.
Task is the internal representation of a task in the ECS agent.
TaskOverrides are the overrides applied to a task.
TaskStateChange represents a state change that needs to be sent to the SubmitTaskStateChange API.
TaskVolume is a definition of all the volumes available for containers to reference within a task.
VolumeFrom is a volume which references another container as its source.

# Interfaces

ECSClient is an interface over the ECSSDK interface which abstracts away some details around constructing the request and reading the response down to the parts the agent cares about.
ECSSDK is an interface that specifies the subset of the AWS Go SDK's ECS client that the Agent uses.
No description provided by the author
HostVolume is an interface for something that may be used as the host half of a docker volume mount.
No description provided by the author

# Type aliases

A type alias that doesn't have a custom unmarshaller so we can unmarshal into something without recursing.
ContainerStatus is an enumeration of valid states in the container lifecycle.
TaskStatus is an enumeration of valid states in the task lifecycle.
TransportProtocol is an enumeration of valid transport protocols.