- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetHTTPClient (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go
// return user-agent which may be truncated. type lazyTruncatedUserAgent struct { req *http.Request } func (lazy *lazyTruncatedUserAgent) String() string { ua := "unknown" if lazy.req != nil { ua = utilnet.GetHTTPClient(lazy.req) if len(ua) > maxUserAgentLength { ua = ua[:maxUserAgentLength] + userAgentTruncateSuffix } } return ua } // LazyClientIP implements String() string and it will
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 03 15:25:35 UTC 2023 - 4.9K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks.go
return nil, errorList } if config, err = evc.configCertAndKey(config); err != nil { errorList = append(errorList, err) return nil, errorList } client := evc.getHTTPClient(config) for _, endpoint := range evc.Etcd.External.Endpoints { if _, err := url.Parse(endpoint); err != nil { errorList = append(errorList, errors.Wrapf(err, "failed to parse external etcd endpoint %s", endpoint))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:20:55 UTC 2024 - 39.5K bytes - Viewed (0)