Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Dialer (0.13 sec)

  1. src/crypto/tls/tls.go

    	return DialWithDialer(new(net.Dialer), network, addr, config)
    }
    
    // Dialer dials TLS connections given a configuration and a Dialer for the
    // underlying connection.
    type Dialer struct {
    	// NetDialer is the optional dialer to use for the TLS connections'
    	// underlying TCP connections.
    	// A nil NetDialer is equivalent to the net.Dialer zero value.
    	NetDialer *net.Dialer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    	if err != nil {
    		return nil, err
    	}
    	dialer := &net.Dialer{
    		Timeout: 5 * time.Second,
    	}
    	var res TestGrid
    	res.Hosts = hosts
    	ready := make(chan struct{})
    	ctx, cancel := context.WithCancel(context.Background())
    	res.cancel = cancel
    	for i, host := range hosts {
    		manager, err := NewManager(ctx, ManagerOptions{
    			Dialer: dialer.DialContext,
    			Local:  host,
    			Hosts:  hosts,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    		toDial = strings.Replace(toDial, "https://", "wss://", 1)
    		toDial += RoutePath
    
    		dialer := ws.DefaultDialer
    		dialer.ReadBufferSize = readBufferSize
    		dialer.WriteBufferSize = writeBufferSize
    		dialer.Timeout = defaultDialTimeout
    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/config.go

    	ServerList []string
    	// TLS credentials
    	KeyFile       string
    	CertFile      string
    	TrustedCAFile string
    	// function to determine the egress dialer. (i.e. konnectivity server dialer)
    	EgressLookup egressselector.Lookup
    	// The TracerProvider can add tracing the connection
    	TracerProvider oteltrace.TracerProvider
    }
    
    // Config is configuration for creating a storage backend.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. internal/grid/manager.go

    	local string
    
    	// Validate incoming requests.
    	authRequest func(r *http.Request) error
    }
    
    // ManagerOptions are options for creating a new grid manager.
    type ManagerOptions struct {
    	Dialer       ContextDialer               // Outgoing dialer.
    	Local        string                      // Local host name.
    	Hosts        []string                    // All hosts, including local in the grid.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. api/go1.23.txt

    pkg net, method (*DNSError) Unwrap() error #63116
    pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254
    pkg net, type DNSError struct, UnwrapErr error #63116
    pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
    pkg net, type KeepAliveConfig struct #62254
    pkg net, type KeepAliveConfig struct, Count int #62254
    pkg net, type KeepAliveConfig struct, Enable bool #62254
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/config.go

    	config.ServiceAccountJWKSURI = opts.Authentication.ServiceAccounts.JWKSURI
    	config.ServiceAccountPublicKeys = pubKeys
    
    	return config, genericInitializers, nil
    }
    
    // CreateProxyTransport creates the dialer infrastructure to connect to the nodes.
    func CreateProxyTransport() *http.Transport {
    	var proxyDialerFn utilnet.DialFunc
    	// Proxying to pods and services is IP-based... don't expect to be able to verify the hostname
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. cmd/kubelet/app/server.go

    func updateDialer(clientConfig *restclient.Config) (func(), error) {
    	if clientConfig.Transport != nil || clientConfig.Dial != nil {
    		return nil, fmt.Errorf("there is already a transport or dialer configured")
    	}
    	d := connrotation.NewDialer((&net.Dialer{Timeout: 30 * time.Second, KeepAlive: 30 * time.Second}).DialContext)
    	clientConfig.Dial = d.DialContext
    	return d.CloseAll, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. src/net/http/transport_test.go

    // A countingDialer dials connections and counts the number that remain reachable.
    type countingDialer struct {
    	dialer      net.Dialer
    	mu          sync.Mutex
    	total, live int64
    }
    
    func (d *countingDialer) DialContext(ctx context.Context, network, address string) (net.Conn, error) {
    	conn, err := d.dialer.DialContext(ctx, network, address)
    	if err != nil {
    		return nil, err
    	}
    
    	counted := new(countedConn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    // and NO_PROXY (or the lowercase versions thereof).
    var DefaultTransport RoundTripper = &Transport{
    	Proxy: ProxyFromEnvironment,
    	DialContext: defaultTransportDialContext(&net.Dialer{
    		Timeout:   30 * time.Second,
    		KeepAlive: 30 * time.Second,
    	}),
    	ForceAttemptHTTP2:     true,
    	MaxIdleConns:          100,
    	IdleConnTimeout:       90 * time.Second,
    	TLSHandshakeTimeout:   10 * time.Second,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top