Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for IPv4Protocol (0.22 sec)

  1. 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)
  2. staging/src/k8s.io/api/discovery/v1beta1/types.go

    }
    
    // AddressType represents the type of address referred to by an endpoint.
    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: Sun Sep 17 09:26:19 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. 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)
  4. pkg/registry/core/service/ipallocator/bitmap.go

    	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
    		// Don't use the IPv4 network's broadcast address, but don't just
    		// Allocate() it - we don't ever want to be able to release it.
    		max--
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. pkg/proxy/iptables/proxier.go

    ) (proxy.Provider, error) {
    	// Create an ipv4 instance of the single-stack proxier
    	ipv4Proxier, err := NewProxier(ctx, v1.IPv4Protocol, ipt[0], sysctl,
    		exec, syncPeriod, minSyncPeriod, masqueradeAll, localhostNodePorts, masqueradeBit,
    		localDetectors[v1.IPv4Protocol], hostname, nodeIPs[v1.IPv4Protocol],
    		recorder, healthzServer, nodePortAddresses, initOnly)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  6. pkg/proxy/winkernel/proxier.go

    	// Create an ipv4 instance of the single-stack proxier
    	ipv4Proxier, err := NewProxier(v1.IPv4Protocol, syncPeriod, minSyncPeriod,
    		hostname, nodeIPs[v1.IPv4Protocol], recorder, healthzServer,
    		healthzBindAddress, config)
    
    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv4 proxier: %v, hostname: %s, nodeIP:%v", err, hostname, nodeIPs[v1.IPv4Protocol])
    	}
    
    	ipv6Proxier, err := NewProxier(v1.IPv6Protocol, syncPeriod, minSyncPeriod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  7. pkg/controller/servicecidrs/servicecidrs_controller_test.go

    	if secondary != "" {
    		serviceCIDR.Spec.CIDRs = append(serviceCIDR.Spec.CIDRs, secondary)
    	}
    	return serviceCIDR
    }
    
    func makeIPAddress(name string) *networkingapiv1alpha1.IPAddress {
    	family := string(v1.IPv4Protocol)
    	if netutils.IsIPv6String(name) {
    		family = string(v1.IPv6Protocol)
    	}
    	return &networkingapiv1alpha1.IPAddress{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    			Labels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier.go

    	// Create an ipv4 instance of the single-stack proxier
    	ipv4Proxier, err := NewProxier(ctx, v1.IPv4Protocol, ipt[0], ipvs, ipset, sysctl,
    		exec, syncPeriod, minSyncPeriod, filterCIDRs(false, excludeCIDRs), strictARP,
    		tcpTimeout, tcpFinTimeout, udpTimeout, masqueradeAll, masqueradeBit,
    		localDetectors[v1.IPv4Protocol], hostname, nodeIPs[v1.IPv4Protocol], 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)
  9. pkg/apis/core/fuzzer/fuzzer.go

    			*p = types[c.Rand.Intn(len(types))]
    		},
    		func(p *core.IPFamily, c fuzz.Continue) {
    			types := []core.IPFamily{core.IPv4Protocol, core.IPv6Protocol}
    			selected := types[c.Rand.Intn(len(types))]
    			*p = selected
    		},
    		func(p *core.ServiceExternalTrafficPolicy, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. pkg/controller/servicecidrs/servicecidrs_controller.go

    // TODO: consolidate helpers
    // copied from pkg/proxy/util/utils.go
    func convertToV1IPFamily(ipFamily netutils.IPFamily) v1.IPFamily {
    	switch ipFamily {
    	case netutils.IPv4:
    		return v1.IPv4Protocol
    	case netutils.IPv6:
    		return v1.IPv6Protocol
    	}
    
    	return v1.IPFamilyUnknown
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top