deployment

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateTags

func UpdateTags(argsTags map[tags.Key]string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL