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

# Packages

Copyright Amazon.com Inc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package mock_api is a generated GoMock package.
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

NewAttachmentStateChangeEvent creates a new attachment state change event.
NewContainerStateChangeEvent creates a new container state change event returns error if the state change doesn't need to be sent to the ECS backend.
NewTaskStateChangeEvent creates a new task state change event returns error if the state change doesn't need to be sent to the ECS backend.

# Structs

AttachmentStateChange represents a state change that needs to be sent to the SubmitAttachmentStateChanges API.
ContainerStateChange represents a state change that needs to be sent to the SubmitContainerStateChange API.
TaskStateChange represents a state change that needs to be sent to the SubmitTaskStateChange API.

# 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.
ECSSubmitStateSDK is an interface with customized ecs client that implements the SubmitTaskStateChange and SubmitContainerStateChange.