Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
Filter returns a subset of environment variables configured to be exposed by the expose patterns. It supports glob patterns (e.g., "LC_*") and exact matches. Returns only the environment variables that match the patterns.
func Lookup ¶ added in v0.1.3
Lookup returns value of an environment variable with a given key. If such variable is not present, it returns false.
func SetVars ¶
SetVars sets and expands envrionment variables configured by the user in TOML config. If any of these variables is empty, SetVars removes it. The function also sets DROP_ENV variable to contain envId - id of the current Drop environment. This can be changed by setting DROP_ENV in TOML to some other value or to an empty string.
Types ¶
This section is empty.