Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 613 for dial (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    			require.NoError(t, err)
    			spdyTransport, err := NewRoundTripper(&tls.Config{})
    			if err != nil {
    				t.Fatalf("error creating SpdyRoundTripper: %v", err)
    			}
    			_, err = spdyTransport.Dial(req)
    			assert.EqualError(t, err, "dial tcp 127.0.0.1:1233: operation was canceled")
    		})
    	}
    }
    
    // exampleCert was generated from crypto/tls/generate_cert.go with the following command:
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  2. src/flag/flag_test.go

        	an int that defaults to zero
      -ZP0 value
        	a flag whose String method panics when it is zero
      -ZP1 value
        	a flag whose String method panics when it is zero
      -maxT timeout
        	set timeout for dial
    
    panic calling String method on zero flag_test.zeroPanicker for flag ZP0: panic!
    panic calling String method on zero flag_test.zeroPanicker for flag ZP1: panic!
    `
    
    func TestPrintDefaults(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. src/net/http/httputil/dump.go

    	// with a dummy response.
    	var buf bytes.Buffer // records the output
    	pr, pw := io.Pipe()
    	defer pr.Close()
    	defer pw.Close()
    	dr := &delegateReader{c: make(chan io.Reader)}
    
    	t := &http.Transport{
    		Dial: func(net, addr string) (net.Conn, error) {
    			return &dumpConn{io.MultiWriter(&buf, pw), dr}, nil
    		},
    	}
    	defer t.CloseIdleConnections()
    
    	// We need this channel to ensure that the reader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/list.md

    |:------------------------------------------|:--------------------------------------------------------|
    | `minio_inter_node_traffic_dial_avg_time`  | Average time of internodes TCP dial calls.              |
    | `minio_inter_node_traffic_dial_errors`    | Total number of internode TCP dial timeouts and errors. |
    | `minio_inter_node_traffic_errors_total`   | Total number of failed internode calls.                 |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn_test.go

    	conn := NewConn(NewDefaultChannelProtocols(channels))
    
    	s, addr := newServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		conn.Open(w, req)
    	}))
    	defer s.Close()
    
    	client, err := websocket.Dial("ws://"+addr, "", "http://localhost/")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer client.Close()
    
    	<-conn.ready
    	wg := sync.WaitGroup{}
    
    	// verify we can read a client write
    	wg.Add(1)
    	go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/authenticator/config.go

    	// Generally this is the CA bundle file used to authenticate client certificates
    	// If this value is nil, then mutual TLS is disabled.
    	ClientCAContentProvider dynamiccertificates.CAContentProvider
    
    	// Optional field, custom dial function used to connect to webhook
    	CustomDial utilnet.DialFunc
    }
    
    // New returns an authenticator.Request or an error that supports the standard
    // Kubernetes authentication mechanisms.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    type Connection struct {
    	// Protocol is the protocol used to connect from client to the konnectivity server.
    	ProxyProtocol ProtocolType `json:"proxyProtocol,omitempty"`
    
    	// Transport defines the transport configurations we use to dial to the konnectivity server.
    	// This is required if ProxyProtocol is HTTPConnect or GRPC.
    	// +optional
    	Transport *Transport `json:"transport,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/configcontroller.go

    						// to secure the connection between istiod and remote xds server.
    						grpc.WithTransportCredentials(insecure.NewCredentials()),
    					},
    				},
    			})
    			if err != nil {
    				return fmt.Errorf("failed to dial XDS %s %v", configSource.Address, err)
    			}
    			store := memory.Make(collections.Pilot)
    			// TODO: enable namespace filter for memory controller
    			configController := memory.NewController(store)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/net/conf.go

    		// DNS cache) and they don't want to actually hit the network.
    		// Once we add support for looking the default DNS servers
    		// from plan9, though, then we can relax this.
    		if r == nil || r.Dial == nil {
    			return false
    		}
    	}
    
    	return c.netGo || r.preferGo()
    }
    
    // addrLookupOrder determines which strategy to use to resolve addresses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    type Connection struct {
    	// Protocol is the protocol used to connect from client to the konnectivity server.
    	ProxyProtocol ProtocolType `json:"proxyProtocol,omitempty"`
    
    	// Transport defines the transport configurations we use to dial to the konnectivity server.
    	// This is required if ProxyProtocol is HTTPConnect or GRPC.
    	// +optional
    	Transport *Transport `json:"transport,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top