Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateTags ¶
Import information about production or staging environment if it is available in environment variables.
Types ¶
type Deployment ¶
type Deployment string
Internal type of the deployment, automatically discovered. The most-specific one is returned. (Or do we need to support categorizing the deployment in more than one way?) This does not correspond to a tag.
const ( None Deployment = "" Any Deployment = "any" Unknown Deployment = "unknown" AWS Deployment = "aws" AWS_ECS Deployment = "aws-ecs" Kubernetes Deployment = "kubernetes" )
func GetDeploymentInfo ¶
func GetDeploymentInfo() (Deployment, map[tags.Key]string)
func (Deployment) String ¶
func (d Deployment) String() string
Click to show internal directories.
Click to hide internal directories.