Documentation ¶
Overview ¶
Package ecs provides metadata collection when the Agent runs on the ECS platform
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNTPHosts ¶ added in v0.9.0
GetNTPHosts returns the NTP hosts for ECS/Fargate if it is detected as the cloud provider, otherwise an empty array.
func IsECSInstance ¶
func IsECSInstance() bool
IsECSInstance returns whether the agent is running in ECS.
func IsFargateInstance ¶
IsFargateInstance returns whether the agent is in an ECS fargate task. It detects it by getting and unmarshalling the metadata API response.
func IsRunningOn ¶
IsRunningOn returns true if the agent is running on ECS/Fargate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.