Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEnv ¶
LoadEnv reads yaml data and sets environment variable named by the key. It returns an error, if any.
func LoadEnvFromFiles ¶ added in v1.15.0
LoadEnvFromFiles read yaml data from list of filepaths and sets environment variable named by the key. It will try to decrypt with `sops` if the file is encrypted and skips if file doesn't exist. It returns an error, if any.
func SubstituteEnvFromByte ¶ added in v1.5.1
SubstituteEnvFromByte reads yaml bytes and do `envsubst` on them. The substituted bytes will be returned. It returns an error, if any.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.