cloud.google.com/go/compute/metadata.cachedValue.trim (field)
5 uses
cloud.google.com/go/compute/metadata (current package)
metadata.go#L53: trim bool
metadata.go#L59: projID = &cachedValue{k: "project/project-id", trim: true}
metadata.go#L60: projNum = &cachedValue{k: "project/numeric-project-id", trim: true}
metadata.go#L61: instID = &cachedValue{k: "instance/id", trim: true}
metadata.go#L91: if c.trim {
![]() |
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. |