environment

package
v2.26.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConcurrentRequestsEnvKey    = "MONACO_CONCURRENT_REQUESTS"
	ConcurrentDeploymentsEnvKey = "MONACO_CONCURRENT_DEPLOYMENTS"

	KeyUserActionWebWaitSecondsEnvKey = "MONACO_KUA_WEB_WAIT_SECONDS"
	MaxFilenameLenKey                 = "MONACO_MAX_FILENAME_LEN"
	DeploymentReportFilename          = "MONACO_DEPLOYMENT_REPORT_FILENAME"
	AdditionalHTTPHeaders             = "MONACO_ADDITIONAL_HTTP_HEADERS"
)

Variables

This section is empty.

Functions

func GetAdditionalHTTPHeadersFromEnv added in v2.24.0

func GetAdditionalHTTPHeadersFromEnv() map[string]string

GetAdditionalHTTPHeadersFromEnv gets the content of the env var MONACO_ADDITIONAL_HTTP_HEADERS and parses a map of http headers from it, if present. Headers are separated via '\n' Headers consist of a mandatory key part and a value part which can be empty. Key and value part are separated via ':'

func GetEnvValueInt

func GetEnvValueInt(env string) int

func GetEnvValueIntLog

func GetEnvValueIntLog(env string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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