- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for gethostname (0.16 sec)
-
cmd/handler-utils.go
r.Method, r.URL.Path), HTTPStatusCode: http.StatusBadRequest, }, r.URL) } } // gets host name for current node func getHostName(r *http.Request) (hostName string) { if globalIsDistErasure { hostName = globalLocalNodeName } else { hostName = r.Host } return } // Proxy any request to an endpoint.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.5K bytes - Viewed (0) -
pkg/workloadapi/workload.pb.go
if x != nil { return x.Name } return "" } func (x *Service) GetNamespace() string { if x != nil { return x.Namespace } return "" } func (x *Service) GetHostname() string { if x != nil { return x.Hostname } return "" } func (x *Service) GetAddresses() []*NetworkAddress { if x != nil { return x.Addresses } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:35 UTC 2024 - 65.9K bytes - Viewed (0) -
cluster/gce/gci/configure-helper.sh
local resolve_host_script_py=' import socket import time import sys timeout_sec=300 def resolve(host): for attempt in range(timeout_sec): try: print(socket.gethostbyname(host)) break except Exception as e: sys.stderr.write("error: resolving host %s to IP failed: %s\n" % (host, e)) time.sleep(1) continue '
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 22:07:47 UTC 2024 - 141.1K bytes - Viewed (0)