Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dialIP (0.31 sec)

  1. 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)
  2. pilot/test/xds/fake.go

    func (f *FakeDiscoveryServer) ConnectADS() *xds.AdsTest {
    	conn, err := grpc.Dial("buffcon",
    		grpc.WithTransportCredentials(insecure.NewCredentials()),
    		grpc.WithBlock(),
    		grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
    			return f.BufListener.Dial()
    		}))
    	if err != nil {
    		f.t.Fatalf("failed to connect: %v", err)
    	}
    	return xds.NewAdsTest(f.t, conn)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. src/crypto/tls/bogo_shim_test.go

    			if err != nil {
    				log.Fatalf("parse ech-config-list err: %s", err)
    			}
    			cfg.EncryptedClientHelloConfigList = echConfigList
    		}
    
    		conn, err := net.Dial("tcp", net.JoinHostPort("localhost", *port))
    		if err != nil {
    			log.Fatalf("dial err: %s", err)
    		}
    		defer conn.Close()
    
    		// Write the shim ID we were passed as a little endian uint64
    		shimIDBytes := make([]byte, 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. internal/http/listener_test.go

    					continue nextTest
    				}
    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    		}
    
    		for _, serverAddr := range listener.Addrs() {
    			conn, err := net.Dial("tcp", serverAddr.String())
    			if err != nil {
    				t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err)
    			}
    			conn.Close()
    		}
    
    		listener.Close()
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/bootstrap/server_test.go

    				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)
    				},
    			},
    		}
    		defer c.CloseIdleConnections()
    
    		resp, err := c.Get("http://" + s.httpAddr + "/validate")
    		assert.NoError(t, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    func getHostFromSrv(records []dns.SrvRecord) (host string) {
    	hosts := getHostsSlice(records)
    	rng := rand.New(rand.NewSource(time.Now().UTC().UnixNano()))
    	var d net.Dialer
    	var retry int
    	for retry < len(hosts) {
    		ctx, cancel := context.WithTimeout(GlobalContext, 300*time.Millisecond)
    
    		host = hosts[rng.Intn(len(hosts))]
    		conn, err := d.DialContext(ctx, "tcp", host)
    		cancel()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		Help:      "Total number of internode TCP dial timeouts and errors",
    		Type:      counterMetric,
    	}
    }
    
    func getInternodeTCPAvgDuration() MetricDescription {
    	return MetricDescription{
    		Namespace: interNodeMetricNamespace,
    		Subsystem: trafficSubsystem,
    		Name:      "dial_avg_time",
    		Help:      "Average time of internodes TCP dial calls",
    		Type:      gaugeMetric,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top