MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithLoadEnvironmentVariables

Function WithLoadEnvironmentVariables

config/storage/env.go:106–141  ·  view source on GitHub ↗

WithLoadEnvironmentVariables reads configuration values from environment variables. A valid env var is always uppercase and [A-Z0-9_]. CONFIG__ETCD__CREDENTIALS__USER_NAME -> etc/credentials/user_name Env vars (environment variables) can be unset after reading and optionally cached. They can be r

(op EnvOp)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

isEnvVarAllowedFunction · 0.85
FromEnvVarFunction · 0.85
WithUseStorageLevelMethod · 0.80
SetMethod · 0.65
StringMethod · 0.65
DebugMethod · 0.45
BoolMethod · 0.45
IntMethod · 0.45

Tested by

no test coverage detected