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

# Functions

No description provided by the author
IsInstanceTypeChangedError returns true if the error when registering the container instance is because of instance type being changed.
NewAttributeError creates a new AttributeError object.
NewMultiError creates a new MultErr object.
NewNamedError creates a NamedError.
NewResourceInitError creates an error for resource initialize failure.
NewRetriable creates a new DefaultRetriable object.
NewRetriableError creates a new DefaultRetriableError object.

# Constants

No description provided by the author
InstanceTypeChangedErrorMessage is the error message to print for the instance type changed error when registering a container instance.

# Structs

AttributeError defines an error type to indicate an error with an ECS attribute.
BadVolumeError represents an error caused by bad volume.
DefaultNamedError is a wrapper type for 'error' which adds an optional name and provides a symmetric marshal/unmarshal.
DefaultRetriable implements the Retriable interface with a boolean to indicate if retry should occur.
DefaultRetriableError is used to wrap a retriable error.
DockerClientConfigError represents the error caused by docker client.
HostConfigError represents an error caused by host configuration.
MultiErr wraps multiple errors.
ResourceInitError is a task error for which a required resource cannot be initialized.

# Interfaces

NamedError defines an interface that wraps error and add additional 'ErrorName' method.
Retriable defines an interface for retriable methods.
RetriableError defines an interface for a retriable error.