env

package
v0.0.0-...-223f46c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpEnvironment

func DumpEnvironment() bool

DumpEnvironment returns true if the environment variables should be dumped. Disabled by default to prevent sensitive values from being printed/logged.

func GoEAAutoRegisterContents

func GoEAAutoRegisterContents() (string, error)

GoEAAutoRegisterContents returns the string to be written in autoregister.properties file of the elastic agent

func GoEAUUID

func GoEAUUID() string

GoEAUUID reads GO_EA_GUID env value

func GoRootDir

func GoRootDir() string

GoRootDir returns the bootstrapper will run out of. Defaults to `/go`.

func GoServerURL

func GoServerURL() (string, error)

GoServerURL reads the env GO_EA_SERVER_URL

func HasSpecifiedRootCAs

func HasSpecifiedRootCAs() bool

HasSpecifiedRootCAs checks if any Root CA file has been certified

func InsecureSkipVerify

func InsecureSkipVerify() bool

InsecureSkipVerify reads GO_EA_SSL_NO_VERIFY flag

func JvmArguments

func JvmArguments() []string

JvmArguments returns the list of jvm arguments that should be passed to the agent

func RootCertFile

func RootCertFile() string

RootCertFile reads GO_EA_SSL_ROOT_CERT_FILE env value

Types

This section is empty.

Jump to

Keyboard shortcuts

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