- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getHTTPClient (0.24 sec)
-
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) -
staging/src/k8s.io/apimachinery/pkg/util/net/http.go
func FormatURL(scheme string, host string, port int, path string) *url.URL { return &url.URL{ Scheme: scheme, Host: net.JoinHostPort(host, strconv.Itoa(port)), Path: path, } } func GetHTTPClient(req *http.Request) string { if ua := req.UserAgent(); len(ua) != 0 { return ua } return "unknown" } // SourceIPs splits the comma separated X-Forwarded-For header and joins it with
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 05 00:08:58 UTC 2022 - 20.8K bytes - Viewed (0)