- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setTransportDefaults (0.24 sec)
-
pkg/probe/http/http.go
func NewWithTLSConfig(config *tls.Config, followNonLocalRedirects bool) Prober { // We do not want the probe use node's local proxy set. transport := utilnet.SetTransportDefaults( &http.Transport{ TLSClientConfig: config, DisableKeepAlives: true, Proxy: http.ProxyURL(nil), DisableCompression: true, // removes Accept-Encoding header
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 10 00:37:32 UTC 2023 - 5K bytes - Viewed (0) -
pkg/kubelet/certificate/transport.go
go wait.PollUntil(time.Second, func() (bool, error) { checkNewCertificateAndRotate() return hasCert.Load(), nil }, stopCh) } clientConfig.Transport = utilnet.SetTransportDefaults(&http.Transport{ Proxy: http.ProxyFromEnvironment, TLSHandshakeTimeout: 10 * time.Second, TLSClientConfig: tlsConfig, MaxIdleConnsPerHost: 25, DialContext: d.DialContext,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 08 13:57:45 UTC 2022 - 6.5K bytes - Viewed (0)