Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IPv4Protocol (0.14 sec)

  1. cmd/kube-proxy/app/server_windows.go

    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	// Preserve backward-compatibility with the old secondary IP behavior
    	if s.PrimaryIPFamily == v1.IPv4Protocol {
    		s.NodeIPs[v1.IPv6Protocol] = net.IPv6zero
    	} else {
    		s.NodeIPs[v1.IPv4Protocol] = net.IPv4zero
    	}
    	return nil
    }
    
    // platformCheckSupported is called immediately before creating the Proxier, to check
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. pkg/proxy/util/nodeport_addresses.go

    	npa := &NodePortAddresses{}
    
    	// Filter CIDRs to correct family
    	for _, str := range cidrStrings {
    		if (family == v1.IPv4Protocol) == netutils.IsIPv4CIDRString(str) {
    			npa.cidrStrings = append(npa.cidrStrings, str)
    		}
    	}
    	if len(npa.cidrStrings) == 0 {
    		if family == v1.IPv4Protocol {
    			npa.cidrStrings = []string{IPv4ZeroCIDR}
    		} else {
    			npa.cidrStrings = []string{IPv6ZeroCIDR}
    		}
    	}
    
    	// Now parse
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pkg/proxy/util/utils.go

    	switch ipFamily {
    	case netutils.IPv4:
    		return v1.IPv4Protocol
    	case netutils.IPv6:
    		return v1.IPv6Protocol
    	}
    
    	return v1.IPFamilyUnknown
    }
    
    // OtherIPFamily returns the other ip family
    func OtherIPFamily(ipFamily v1.IPFamily) v1.IPFamily {
    	if ipFamily == v1.IPv6Protocol {
    		return v1.IPv4Protocol
    	}
    
    	return v1.IPv6Protocol
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/discovery/v1/types.go

    }
    
    // AddressType represents the type of address referred to by an endpoint.
    // +enum
    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")
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top