envconfig

package
v1.300032.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//the following are the names of environment variables
	HTTP_PROXY         = "HTTP_PROXY"
	HTTPS_PROXY        = "HTTPS_PROXY"
	NO_PROXY           = "NO_PROXY"
	AWS_CA_BUNDLE      = "AWS_CA_BUNDLE"
	AWS_SDK_LOG_LEVEL  = "AWS_SDK_LOG_LEVEL"
	CWAGENT_USER_AGENT = "CWAGENT_USER_AGENT"
	CWAGENT_LOG_LEVEL  = "CWAGENT_LOG_LEVEL"
	CWAGENT_USAGE_DATA = "CWAGENT_USAGE_DATA"
	IMDS_NUMBER_RETRY  = "IMDS_NUMBER_RETRY"
	RunInContainer     = "RUN_IN_CONTAINER"
	RunInAWS           = "RUN_IN_AWS"
	RunWithIRSA        = "RUN_WITH_IRSA"
	UseDefaultConfig   = "USE_DEFAULT_CONFIG"
	HostName           = "HOST_NAME"
	PodName            = "POD_NAME"
	HostIP             = "HOST_IP"
	CWConfigContent    = "CW_CONFIG_CONTENT"
)
View Source
const (
	// TrueValue is the expected string set on an environment variable to indicate true.
	TrueValue = "True"
)

Variables

This section is empty.

Functions

func IsRunningInContainer added in v1.300030.1

func IsRunningInContainer() bool

func IsUsageDataEnabled added in v1.300030.1

func IsUsageDataEnabled() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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