Documentation ¶
Overview ¶
Package env provides the environment variables for the installer.
Index ¶
Constants ¶
View Source
const ( // APMInstrumentationEnabledAll enables APM instrumentation for all containers. APMInstrumentationEnabledAll = "all" // APMInstrumentationEnabledDocker enables APM instrumentation for Docker containers. APMInstrumentationEnabledDocker = "docker" // APMInstrumentationEnabledHost enables APM instrumentation for the host. APMInstrumentationEnabledHost = "host" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { APIKey string Site string RemoteUpdates bool RegistryOverride string RegistryAuthOverride string RegistryOverrideByImage map[string]string RegistryAuthOverrideByImage map[string]string DefaultPackagesInstallOverride map[string]bool DefaultPackagesVersionOverride map[string]string InstallScript InstallScriptEnv }
Env contains the configuration for the installer.
func FromConfig ¶
FromConfig returns an Env struct with values from the configuration.
type InstallScriptEnv ¶
type InstallScriptEnv struct {
APMInstrumentationEnabled string
}
InstallScriptEnv contains the environment variables for the install script.
Click to show internal directories.
Click to hide internal directories.