Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMetadata ¶
AddMetadata gathers a subset of GCE instance metadata, and adds it to the result map. This is safe to call even if the instance isn't running on GCE. The added keys are the metadata path in the metadata service, prefixed with 'gce:'. Synthetic metadata is also added, prefixed with 'instance:'. Failures (missing keys, etc) are logged and ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.