Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for IPv6Protocol (0.33 sec)

  1. pkg/proxy/ipvs/proxier.go

    	}
    
    	ipv6Proxier, err := NewProxier(ctx, v1.IPv6Protocol, ipt[1], ipvs, ipset, sysctl,
    		exec, syncPeriod, minSyncPeriod, filterCIDRs(true, excludeCIDRs), strictARP,
    		tcpTimeout, tcpFinTimeout, udpTimeout, masqueradeAll, masqueradeBit,
    		localDetectors[v1.IPv6Protocol], hostname, nodeIPs[v1.IPv6Protocol], recorder,
    		healthzServer, scheduler, nodePortAddresses, initOnly)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  2. pkg/apis/discovery/types.go

    type AddressType string
    
    const (
    	// AddressTypeIPv4 represents an IPv4 Address.
    	AddressTypeIPv4 = AddressType(api.IPv4Protocol)
    	// AddressTypeIPv6 represents an IPv6 Address.
    	AddressTypeIPv6 = AddressType(api.IPv6Protocol)
    	// AddressTypeFQDN represents a FQDN.
    	AddressTypeFQDN = AddressType("FQDN")
    )
    
    // Endpoint represents a single logical "backend" implementing a service.
    type Endpoint struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 21:38:06 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. pkg/registry/core/service/storage/storage.go

    }
    
    // otherFamily returns the non-selected IPFamily.  This assumes the input is
    // valid.
    func otherFamily(fam api.IPFamily) api.IPFamily {
    	if fam == api.IPv4Protocol {
    		return api.IPv6Protocol
    	}
    	return api.IPv4Protocol
    }
    
    var (
    	_ rest.ShortNamesProvider = &REST{}
    	_ rest.CategoriesProvider = &REST{}
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/bitmap_test.go

    				"10.15.255.255", // reserved (broadcast address)
    				"10.255.255.2",  // not in range
    			},
    			alreadyAllocated: "10.0.0.1",
    		},
    		{
    			name:     "IPv6",
    			cidr:     "2001:db8:1::/48",
    			family:   api.IPv6Protocol,
    			free:     65535,
    			released: "2001:db8:1::5",
    			outOfRange: []string{
    				"2001:db8::1",     // not in 2001:db8:1::/48
    				"2001:db8:1::",    // reserved (base address)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/discovery/v1/types.go

    type AddressType string
    
    const (
    	// AddressTypeIPv4 represents an IPv4 Address.
    	AddressTypeIPv4 = AddressType(v1.IPv4Protocol)
    
    	// AddressTypeIPv6 represents an IPv6 Address.
    	AddressTypeIPv6 = AddressType(v1.IPv6Protocol)
    
    	// AddressTypeFQDN represents a FQDN.
    	AddressTypeFQDN = AddressType("FQDN")
    )
    
    // Endpoint represents a single logical "backend" implementing a service.
    type Endpoint struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. pkg/proxy/endpointslicecache.go

    			continue
    		}
    
    		// Filter out the incorrect IP version case. Any endpoint port that
    		// contains incorrect IP version will be ignored.
    		if (cache.ipFamily == v1.IPv6Protocol) != utilnet.IsIPv6String(endpoint.Addresses[0]) {
    			// Emit event on the corresponding service which had a different IP
    			// version than the endpoint.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/discovery/v1beta1/types.go

    type AddressType string
    
    const (
    	// AddressTypeIPv4 represents an IPv4 Address.
    	AddressTypeIPv4 = AddressType(v1.IPv4Protocol)
    
    	// AddressTypeIPv6 represents an IPv6 Address.
    	AddressTypeIPv6 = AddressType(v1.IPv6Protocol)
    
    	// AddressTypeFQDN represents a FQDN.
    	AddressTypeFQDN = AddressType("FQDN")
    )
    
    // Endpoint represents a single logical "backend" implementing a service.
    type Endpoint struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:26:19 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation_test.go

    				s.Spec.IPFamilies = []core.IPFamily{core.IPv4Protocol, core.IPv6Protocol, core.IPv4Protocol}
    			},
    			numErrs: 1,
    		}, {
    			name: "invalid, service with same ip families",
    			tweakSvc: func(s *core.Service) {
    				s.Spec.IPFamilyPolicy = &requireDualStack
    				s.Spec.IPFamilies = []core.IPFamily{core.IPv6Protocol, core.IPv6Protocol}
    			},
    			numErrs: 1,
    		}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/bitmap.go

    	max := netutils.RangeSize(cidr)
    	base := netutils.BigForIP(cidr.IP)
    	rangeSpec := cidr.String()
    	var family api.IPFamily
    
    	if netutils.IsIPv6CIDR(cidr) {
    		family = api.IPv6Protocol
    		// Limit the max size, since the allocator keeps a bitmap of that size.
    		if max > 65536 {
    			max = 65536
    		}
    	} else {
    		family = api.IPv4Protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. pkg/controller/endpoint/endpoints_controller_test.go

    var oldTriggerTimeString = triggerTime.Add(-time.Hour).Format(time.RFC3339Nano)
    
    var ipv4only = []v1.IPFamily{v1.IPv4Protocol}
    var ipv6only = []v1.IPFamily{v1.IPv6Protocol}
    var ipv4ipv6 = []v1.IPFamily{v1.IPv4Protocol, v1.IPv6Protocol}
    var ipv6ipv4 = []v1.IPFamily{v1.IPv6Protocol, v1.IPv4Protocol}
    
    func testPod(namespace string, id int, nPorts int, isReady bool, ipFamilies []v1.IPFamily) *v1.Pod {
    	p := &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top