Documentation ¶
Overview ¶
Package fargate implements functions to interact with fargate
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEKSFargateNodename ¶
GetEKSFargateNodename returns the node name in EKS Fargate
func GetFargateHost ¶
GetFargateHost returns the Fargate hostname used by the core Agent for Fargate
func IsFargateInstance ¶
func IsFargateInstance() bool
IsFargateInstance returns whether the Agent is running in Fargate.
Types ¶
type OrchestratorName ¶
type OrchestratorName string
OrchestratorName covers the possible platform names where Fargate can run
const ( // ECS represents AWS ECS ECS OrchestratorName = "ECS" // EKS represents AWS EKS EKS OrchestratorName = "EKS" // Unknown is used when we cannot retrieve the orchestrator Unknown OrchestratorName = "Unknown" )
func GetOrchestrator ¶
func GetOrchestrator() OrchestratorName
GetOrchestrator returns whether the Agent is running on ECS or EKS.
Click to show internal directories.
Click to hide internal directories.