package
1.64.0-1
Repository: https://github.com/aws/amazon-ecs-init.git
Documentation: pkg.go.dev

# Functions

AgentConfigDirectory returns the location on disk for configuration.
AgentConfigFile returns the location of a file of environment variables passed to the Agent.
AgentDataDirectory returns the location on disk where state should be saved.
AgentDockerLogDriverConfiguration returns a LogConfig object suitable for used with the managed container.
AgentJSONConfigFile returns the location of a file containing configuration expressed in JSON.
AgentRemoteTarballKey is the remote filename of the Agent image, used for populating the cache.
AgentRemoteTarballMD5Key is the remote file of a md5sum used to verify the integrity of the AgentRemoteTarball.
AgentTarball returns the location on disk of the cached Agent image.
CacheDirectory returns the location on disk where Agent images should be cached.
CacheState returns the location on disk where cache state is stored.
CgroupMountpoint returns the cgroup mountpoint for the system.
DesiredImageLocatorFile returns the location on disk of a well-known file describing an Agent image to load.
DockerUnixSocket returns the docker socket endpoint and whether it's read from DockerHostEnvVar.
GetAgentPartitionBucketRegion returns the s3 bucket region where ECS Agent artifact is located.
HostCertsDirPath() returns the CA store path on the host.
HostPKIDirPath() returns the CA store path on the host.
InstanceConfigDirectory returns the location on disk for custom instance configuration.
InstanceConfigFile returns the location of a file of custom environment variables.
LogDirectory returns the location on disk where logs should be placed.
Logger holds the bundled log configuration for seelog.
RunningInExternal returns whether we are running in external (non-EC2) environment.
RunPrivileged returns if agent should be invoked with '--privileged'.

# Constants

AgentContainerName is the name of the Agent container started by this program.
AgentImageName is the name of the Docker image containing the Agent.
AgentLogFile is the name of the log file used by the Agent.
AgentPartitionBucketName is the name of the paritional s3 bucket that stores the agent.
DefaultAgentVersion is the version of the agent that will be fetched if required.
DefaultRegionEnvVar is the environment variable for specifying the default AWS region to use.
DefaultRegionName is the default region to fall back if the user's region is not a region containing the agent bucket.
DockerHostEnvVar is the environment variable that specifies the location of the Docker daemon socket.
ExternalEnvVar is the environment variable for specifying whether we are running in external (non-EC2) environment.
GPUSupportEnvVar indicates that the AMI has support for GPU.
Used to mount /proc for agent container.
No description provided by the author