# Functions
ConstructMuxVar constructs the mux var that is used in the gorilla/mux styled path, example: {id}, {id:[0-9]+}.
GetMuxValueFromRequest extracts the mux value from the request using a gorilla mux name.
LimitReachedHandler logs the throttled request in the credentials audit log.
ValueFromRequest returns the value of a field in the http request.
WriteJSONToResponse writes the header, JSON response to a ResponseWriter, and log the error if necessary.
WriteResponseIfMarshalError checks the 'err' response of the json.Marshal function.
# Constants
AnythingButEmptyRegEx is a regex pattern that matches anything but an empty string.
AnythingButSlashRegEx is a regex pattern that matches any string without slash.
AnythingRegEx is a regex pattern that matches anything.
NetworkModeAWSVPC specifies the AWS VPC network mode.
RequestTypeAgentMetadata specifies the Agent metadata request type of AgentMetadataHandler.
RequestTypeContainerAssociation specifies the container association request type of ContainerAssociationHandler.
RequestTypeContainerAssociations specifies the container associations request type of ContainerAssociationsHandler.
RequestTypeContainerMetadata specifies the container metadata request type of TaskContainerMetadataHandler.
RequestTypeContainerStats specifies the container stats request type of StatsHandler.
RequestTypeCreds specifies the request type of CredentialsHandler.
RequestTypeTaskMetadata specifies the task metadata request type of TaskContainerMetadataHandler.
RequestTypeTaskStats specifies the task stats request type of StatsHandler.
# Structs
ErrorMessage is used to store the human-readable error Code and a descriptive Message that describes the error.
# Interfaces
DockerStateResolver is a sub-interface for the engine.TaskEngine interface to make it easy to test code in this package.