Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for DualStack (0.26 sec)

  1. pkg/proxy/winkernel/hns_test.go

    	assert.True(t, ipv4EpPresent, "IPV4 endpoint is missing in Dualstack mode")
    	assert.Equal(t, endpointIpv4.ip, epIpAddress, "IPV4 IP is missing in Dualstack mode")
    
    	endpointIpv6, ipv6EpPresent := mapEndpointsInfo[ipv6Config.IpAddress]
    	assert.True(t, ipv6EpPresent, "IPV6 endpoint is missing in Dualstack mode")
    	assert.Equal(t, endpointIpv6.ip, epIpv6Address, "IPV6 IP is missing in Dualstack mode")
    
    	err = Endpoint.Delete()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/core.go

    		if err != nil {
    			return nil, false, fmt.Errorf("failed to perform dualstack check on serviceCIDR and secondaryServiceCIDR error:%v", err)
    		}
    		if !dualstackServiceCIDR {
    			return nil, false, fmt.Errorf("serviceCIDR and secondaryServiceCIDR are not dualstack (from different IPfamiles)")
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_linux.go

    	logger := klog.FromContext(ctx)
    	var proxier proxy.Provider
    	var err error
    
    	localDetectors := getLocalDetectors(logger, s.PrimaryIPFamily, config, s.podCIDRs)
    
    	if config.Mode == proxyconfigapi.ProxyModeIPTables {
    		logger.Info("Using iptables Proxier")
    
    		if dualStack {
    			ipt, _ := getIPTables(s.PrimaryIPFamily)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. src/net/dial_test.go

    		t.Fatal(err)
    	}
    
    	for i, tt := range testCases {
    		d := &Dialer{DualStack: tt.dualstack, FallbackDelay: tt.delay}
    
    		startTime := time.Now()
    		c, err := d.Dial("tcp", JoinHostPort("slow6loopback4", dss.port))
    		elapsed := time.Since(startTime)
    		if err == nil {
    			c.Close()
    		} else if tt.dualstack {
    			t.Error(err)
    		}
    		expectMin := tt.expectElapsed - 1*time.Millisecond
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/validation/validation.go

    		// if DualStack and two cidrs validate if there is at least one of each IP family
    		case len(cidrs) == 2:
    			isDual, err := netutils.IsDualStackCIDRStrings(cidrs)
    			if err != nil || !isDual {
    				allErrs = append(allErrs, field.Invalid(newPath.Child("ClusterCIDR"), config.ClusterCIDR, "must be a valid DualStack CIDR (e.g. 10.100.0.0/16,fde4:8dba:82e1::/48)"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/internal/nettrace/nettrace.go

    	// actually be for circular dependency reasons.
    	DNSDone func(netIPs []any, coalesced bool, err error)
    
    	// ConnectStart is called before a Dial, excluding Dials made
    	// during DNS lookups. In the case of DualStack (Happy Eyeballs)
    	// dialing, this may be called multiple times, from multiple
    	// goroutines.
    	ConnectStart func(network, addr string)
    
    	// ConnectDone is called after a Dial with the results, excluding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:57:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/sidecar_redirect.go

    	excludeInboundPorts  string
    	excludeOutboundPorts string
    	includeInboundPorts  string
    	includeOutboundPorts string
    	kubevirtInterfaces   string
    	excludeInterfaces    string
    	dnsRedirect          bool
    	dualStack            bool
    	invalidDrop          bool
    }
    
    type annotationValidationFunc func(value string) error
    
    type annotationParam struct {
    	key        string
    	defaultVal string
    	validator  annotationValidationFunc
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/net/http/httptrace/trace.go

    	// If net.Dialer.DualStack (IPv6 "Happy Eyeballs") support is
    	// enabled, this may be called multiple times.
    	ConnectStart func(network, addr string)
    
    	// ConnectDone is called when a new connection's Dial
    	// completes. The provided err indicates whether the
    	// connection completed successfully.
    	// If net.Dialer.DualStack ("Happy Eyeballs") support is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_test.go

    	if len(mockIntercept.lastRedirect) == 0 {
    		t.Fatalf("expected nsenterFunc to be called")
    	}
    	r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1]
    	if !r.dualStack {
    		t.Fatalf("expect dualStack is true, actual %v", r.dualStack)
    	}
    }
    
    func Test_dedupPorts(t *testing.T) {
    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/net/external_test.go

    }
    
    var dialGoogleTests = []struct {
    	dial               func(string, string) (Conn, error)
    	unreachableNetwork string
    	networks           []string
    	addrs              []string
    }{
    	{
    		dial:     (&Dialer{DualStack: true}).Dial,
    		networks: []string{"tcp", "tcp4", "tcp6"},
    		addrs:    []string{"www.google.com:http"},
    	},
    	{
    		dial:               Dial,
    		unreachableNetwork: "tcp6",
    		networks:           []string{"tcp", "tcp4"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top