package
0.0.0-20210710195219-835b7aed7e1d
Repository: https://github.com/buzzsurfr/go.git
Documentation: pkg.go.dev

# Functions

Detect attempts to determine the compute type of the currently running code.
IsDocker returns whether this is running in a docker container (and is not ECS, EKS, or kubernetes).
IsEC2 returns whether this is running in an EC2 instance.
IsECS returns whether this is running in an ECS task.
IsEKS returns whether this is running in an EKS pod.
IsKubernetes returns whether this is running in a kubernetes pod (and is not EKS).
IsLambda returns whether this is running in a Lambda function.

# Constants

ComputeDocker is running in a docker container (and is not ECS, EKS, or kubernetes).
ComputeEC2 is running in an EC2 instance.
ComputeECS is running in an ECS task.
ComputeEKS is running in an EKS pod.
ComputeKubernetes is running in a kubernetes pod (and is not EKS).
ComputeLambda is running in a Lambda function.
ComputeUnknown is when the compute type could not be identified.

# Structs

DetectOutput is the output struct for the Detect() function.

# Type aliases

ComputeType is an enum for different compute types.