Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 177 for dialing (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    			for _, caCert := range caCerts {
    				roots.AddCert(caCert)
    			}
    
    			<-startedCh
    
    			// try to dial
    			addr := fmt.Sprintf("localhost:%d", secureOptions.BindPort)
    			t.Logf("Dialing %s as %q", addr, test.ServerName)
    			conn, err := tls.Dial("tcp", addr, &tls.Config{
    				RootCAs:    roots,
    				ServerName: test.ServerName, // used for SNI in the client HELLO packet
    			})
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go

    // Since the Dial to kms-plugin is non-blocking we expect the construction of gRPC service to succeed even when
    // kms-plugin is not yet up - dialing happens in the background.
    func TestKMSPluginLateStart(t *testing.T) {
    	t.Parallel()
    	callTimeout := 3 * time.Second
    	s := newEndpoint()
    
    	ctx := testContext(t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 05:36:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go

    // Since the Dial to kms-plugin is non-blocking we expect the construction of gRPC service to succeed even when
    // kms-plugin is not yet up - dialing happens in the background.
    func TestKMSPluginLateStart(t *testing.T) {
    	t.Parallel()
    	callTimeout := 3 * time.Second
    	s := newEndpoint()
    
    	ctx := testContext(t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. src/net/http/httptest/server.go

    			// but never sent a request). StateNew connections are
    			// super rare and have only been seen (in
    			// previously-flaky tests) in the case of
    			// socket-late-binding races from the http Client
    			// dialing this server and then getting an idle
    			// connection before the dial completed. There is thus
    			// a connected connection in StateNew with no
    			// associated Request. We only close StateIdle and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/server_test.go

    				// See https://www.mailgun.com/blog/http-2-cleartext-h2c-client-example-go/
    				// So http2.Transport doesn't complain the URL scheme isn't 'https'
    				AllowHTTP: true,
    				// Pretend we are dialing a TLS endpoint. (Note, we ignore the passed tls.Config)
    				DialTLSContext: func(_ context.Context, network, addr string, _ *tls.Config) (net.Conn, error) {
    					return net.Dial(network, addr)
    				},
    			},
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/net/rpc/server.go

    "Arith.Divide".  To invoke one, a client first dials the server:
    
    	client, err := rpc.DialHTTP("tcp", serverAddress + ":1234")
    	if err != nil {
    		log.Fatal("dialing:", err)
    	}
    
    Then it can make a remote call:
    
    	// Synchronous call
    	args := &server.Args{7,8}
    	var reply int
    	err = client.Call("Arith.Multiply", args, &reply)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/config.go

    	// TODO: move into SecureServing(WithLoopback) as soon as insecure serving is gone
    	LoopbackClientConfig *restclient.Config
    
    	// EgressSelector provides a lookup mechanism for dialing outbound connections.
    	// It does so based on a EgressSelectorConfiguration which was read at startup.
    	EgressSelector *egressselector.EgressSelector
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  8. cmd/erasure-healing.go

    const (
    	xMinIOHealing = ReservedMetadataPrefix + "healing"
    	xMinIODataMov = ReservedMetadataPrefix + "data-mov"
    )
    
    // SetHealing marks object (version) as being healed.
    // Note: this is to be used only from healObject
    func (fi *FileInfo) SetHealing() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string)
    	}
    	fi.Metadata[xMinIOHealing] = "true"
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    		meta.DataDir = latestMeta.DataDir
    		switch scanMode {
    		case madmin.HealDeepScan:
    			// disk has a valid xl.meta but may not have all the
    			// parts. This is considered an outdated disk, since
    			// it needs healing too.
    			verifyResp, verifyErr = onlineDisk.VerifyFile(ctx, bucket, object, meta)
    		default:
    			verifyResp, verifyErr = onlineDisk.CheckParts(ctx, bucket, object, meta)
    		}
    
    		for p := range latestMeta.Parts {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common_test.go

    Anis Eleuch <******@****.***> 1718034687 +0100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top