Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for proxyURL (0.41 sec)

  1. 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)
  2. 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)
  3. pkg/test/echo/server/forwarder/util.go

    			ProxyAddress: cfg.Request.Hbone.GetAddress(),
    			Headers:      cfg.hboneHeaders,
    			TLS:          cfg.hboneTLSConfig,
    		})
    		return out
    	}
    	proxyURL, _ := url.Parse(cfg.Proxy)
    	if len(cfg.Proxy) > 0 && proxyURL.Scheme == "socks5" {
    		dialer, _ := proxy.SOCKS5("tcp", proxyURL.Host, nil, proxy.Direct)
    		return dialer.(hbone.Dialer)
    	}
    	out := &net.Dialer{
    		Timeout: common.ConnectionTimeout,
    	}
    	if cfg.forceDNSLookup {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. 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)
Back to top