Documentation ¶
Index ¶
- Constants
- func MustEnvCodeOverrideMap(envVarName string, target, src interface{})
- func MustEnvCodeOverrideStruct(envPrefix string, targetVars interface{}, codeVars interface{})
- func MustEnvOverrideStruct(envPrefix string, s interface{})
- func MustEnvOverrideVersion(target interface{})
- func UnmarshalYAMLBase64(data string, to interface{}) error
- func UnmarshalYAMLFile(path string, to interface{}) error
Constants ¶
View Source
const ( EnvVarCLImage = "CHAINLINK_IMAGE" EnvVarCLImageDescription = "Chainlink image repository" EnvVarCLImageExample = "public.ecr.aws/chainlink/chainlink" EnvVarCLTag = "CHAINLINK_VERSION" EnvVarCLTagDescription = "Chainlink image tag" EnvVarCLTagExample = "1.4.0-root" EnvVarUser = "CHAINLINK_ENV_USER" EnvVarUserDescription = "Owner of an environment" EnvVarUserExample = "Satoshi" EnvVarLogLevel = "LOG_LEVEL" EnvVarLogLevelDescription = "Environment logging level" EnvVarLogLevelExample = "info | debug | trace" EnvVarNetworksConfigFile = "NETWORKS_CONFIG_FILE" EnvVarNetworksConfigFileDescription = "Blockchain networks connection info" EnvVarNetworksConfigFileExample = "networks.yaml" )
Variables ¶
This section is empty.
Functions ¶
func MustEnvCodeOverrideMap ¶ added in v0.2.3
func MustEnvCodeOverrideMap(envVarName string, target, src interface{})
MustEnvCodeOverrideMap used when overriding helm charts both from env and code
func MustEnvCodeOverrideStruct ¶
func MustEnvCodeOverrideStruct(envPrefix string, targetVars interface{}, codeVars interface{})
MustEnvCodeOverrideStruct used when you need to override in order ENV_VARS -> Code defined struct fields -> Sane defaults if struct is nil
func MustEnvOverrideStruct ¶
func MustEnvOverrideStruct(envPrefix string, s interface{})
MustEnvOverrideStruct used when you need to override a struct with `envconfig` fields from environment variables
func MustEnvOverrideVersion ¶ added in v0.2.3
func MustEnvOverrideVersion(target interface{})
func UnmarshalYAMLBase64 ¶ added in v0.2.8
func UnmarshalYAMLFile ¶ added in v0.2.8
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.