- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for proxyURL (0.2 sec)
-
internal/config/subnet/config.go
// inputs not performing any network calls. return cfg, nil } // Make sure to clone the transport before editing the ProxyURL if proxyURL != nil { ctransport := transport.(*http.Transport).Clone() ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL)) cfg.transport = ctransport } else { cfg.transport = transport } return cfg, nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/test/framework/components/cluster/kube/factory.go
} func buildClientWithProxy(kubeconfig string, proxyURL *url.URL) (istioKube.CLIClient, error) { rc, err := istioKube.DefaultRestConfig(kubeconfig, "", func(config *rest.Config) { config.QPS = 200 config.Burst = 400 }) if err != nil { return nil, err } rc.Proxy = http.ProxyURL(proxyURL) return istioKube.NewCLIClient(istioKube.NewClientConfigForRestConfig(rc))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/http.go
} // Set the proxy in the transport, if specified. // for socks5 proxy is setup is done in the newDialer function. if !strings.HasPrefix(cfg.Proxy, "socks5://") { out.Proxy = cfg.proxyURL } return out } noCloseFn := func() {} // Always create a new HTTP transport for each request, since HTTP can't multiplex over // a single connection.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 7.9K bytes - Viewed (0)