# Functions
DefaultConfig returns the default configuration for Linux.
NewConfig returns a config struct created by merging environment variables, a config file, and EC2 Metadata info.
NewSensitiveRawMessage returns a new encapsulated json.RawMessage or nil if the data is empty.
# Constants
this is left blank right now for net=bridge.
AgentCredentialsPort is used to serve the credentials for tasks.
AgentIntrospectionPort is used to serve the metadata about the agent and to query the tasks being managed by the agent.
AgentPrometheusExpositionPort is used to expose Prometheus metrics that can be scraped by a Prometheus server.
Known cached image names.
When ContainerInstancePropagateTagsFromEC2InstanceType is specified, agent will make DescribeTags API call to get tags remotely.
When ContainerInstancePropagateTagsFromNoneType is specified, no DescribeTags API call will be made.
DefaultClusterName is the name of the default cluster.
DefaultContainerMetricsPublishInterval is the default interval that we publish metrics to the ECS telemetry backend (TACS).
DefaultDockerTag is the default tag used by docker.
DefaultImageCleanupTimeInterval specifies the default value for image cleanup duration.
DefaultImageDeletionAge specifies the default value for minimum amount of elapsed time after an image has been pulled before it can be deleted.
DefaultImagePullTimeout specifies the timeout for PullImage API.
DefaultMinSupportedCNIVersion denotes the minimum version of cni spec required.
DefaultNonECSImageDeletionAge specifies the default value for minimum amount of elapsed time after an image has been created before it can be deleted.
DefaultNumImagesToDeletePerCycle specifies the default number of images to delete when agent performs image cleanup.
DefaultNumNonECSContainersToDeletePerCycle specifies the default number of nonecs containers to delete when agent performs nonecs containers cleanup.
DefaultNvidiaRuntime is the name of the runtime to pass Nvidia GPUs to containers.
DefaultPollingMetricsWaitDuration specifies the default value for polling metrics wait duration This is only used when PollMetrics is set to true.
DefaultTaskCgroupPrefix is default cgroup prefix for ECS tasks.
DefaultTaskCleanupWaitDuration specifies the default value for task cleanup duration.
DefaultTaskMetadataBurstRate is set to handle 60 burst requests at once.
DefaultTaskMetadataSteadyStateRate is set as 40.
http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker.
No description provided by the author
DockerTagSeparator is the charactor used to separate names and tag in docker.
No description provided by the author
No description provided by the author
ImagePullAlwaysBehavior specifies the behavior that if an image pull API call fails, the task fails instead of using cached image.
ImagePullDefaultBehavior specifies the behavior that if an image pull API call fails, agent tries to start from the Docker image cache anyway, assuming that the image has not changed.
ImagePullOnceBehavior specifies the behavior that agent will only attempt to pull the same image once, once an image is pulled, local image cache will be used for all the containers.
ImagePullPreferCachedBehavior specifies the behavior that agent will only attempt to pull the image if there is no cached image.
No description provided by the author
OSType is the type of operating system where agent is running.
No description provided by the author
# Variables
DefaultPauseContainerImageName is the name of the pause container image.
DefaultPauseContainerTag is the tag for the pause container image.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
PlatformVariables consists of configuration variables specific to Linux.
SensitiveRawMessage is a struct to store some data that should not be logged or printed.
# Interfaces
No description provided by the author
# Type aliases
Conditional makes it possible to understand if a variable was set explicitly or relies on a default setting.
ContainerInstancePropagateTagsFromType is an enum variable type corresponding to different ways to propagate tags, it includes none (default) and ec2_instance.
ImagePullBehaviorType is an enum variable type corresponding to different agent pull behaviors including default, always, never and once.