func cloud.google.com/go/compute/metadata.InstanceID
3 uses
cloud.google.com/go/compute/metadata (current package)
metadata.go#L230: func InstanceID() (string, error) { return defaultClient.InstanceID() }
cloud.google.com/go/logging
logging.go#L271: id, err := metadata.InstanceID()
contrib.go.opencensus.io/exporter/stackdriver/monitoredresource/gcp
gcp_metadata_config.go#L63: gcpMetadata.instanceID, err = metadata.InstanceID()
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |