- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GCE_METADATA_HOST (0.09 sec)
-
pkg/bootstrap/platform/gcp.go
return metadataSupplier{ Property: property, Fn: fn, } } func isMetadataEndpointAccessible() bool { // From the Go package, but private so copied here const metadataHostEnv = "GCE_METADATA_HOST" const metadataIP = "169.254.169.254" host := os.Getenv(metadataHostEnv) if host == "" { host = metadataIP } _, err := net.DialTimeout("tcp", defaultPort(host, "80"), 5*time.Second) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 00:37:33 UTC 2023 - 11.1K bytes - Viewed (0)