# Functions
ConstantMetadataEndpointHandler creates an http.Handler that can be used as a mock of the ECS task metadata service.
NewMetadataEndpointSource constructs a Source from the base URI to use as if it is the ECS task metadata URI.
# Variables
SampleTaskMetadata is an example of the response from ECS_TASK_METADATA_URI/task This was taken from https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v3.html.
SampleTaskStats is an example of the response from ECS_TASK_METADATA_URI/task/stats This was modified from https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html.
# Structs
ContainerMetadata describes the response of `GET MetadataURI` which also appears as part of `GET MetadataURI/task` See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v3.html#task-metadata-endpoint-v3-response and v4 is the same: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html#task-metadata-endpoint-v4-response.
Limits is the limits of a container or the whole task Only the limits that have been set are non-nil.
TaskMetadata describes the response of `GET MetadataURI/task` See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v3.html#task-metadata-endpoint-v3-response and v4 is the same: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html#task-metadata-endpoint-v4-response.
# Interfaces
Source is an abstraction for a provider of task metadata + stats.