Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
GetConfig reads environment-based configurations, using fallback. First envKey is looked up as an nvironment variable. If that's not found, gcloud is queried using `gcloud config get-value $gcloudConfig`.
Examples:
GetConfig("GOOGLE_CLOUD_PROJECT", "project") GetConfig("GOOGLE_CLOUD_ZONE", "compute/zone")
For more info on using configurations with gcloud, see:
https://cloud.google.com/sdk/docs/configurations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.