Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for addressTypes (0.27 sec)

  1. pkg/proxy/metaproxier/meta_proxier.go

    	switch endpointSlice.AddressType {
    	case discovery.AddressTypeIPv4:
    		proxier.ipv4Proxier.OnEndpointSliceAdd(endpointSlice)
    	case discovery.AddressTypeIPv6:
    		proxier.ipv6Proxier.OnEndpointSliceAdd(endpointSlice)
    	default:
    		klog.ErrorS(nil, "EndpointSlice address type not supported", "addressType", endpointSlice.AddressType)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:28:37 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/apis/discovery/validation/validation_test.go

    				ObjectMeta:  standardMeta,
    				AddressType: discovery.AddressType("IP"),
    			},
    			newEndpointSlice: &discovery.EndpointSlice{
    				ObjectMeta:  standardMeta,
    				AddressType: discovery.AddressType("IP"),
    			},
    		},
    		"valid and identical slices with different address types": {
    			oldEndpointSlice: &discovery.EndpointSlice{
    				ObjectMeta:  standardMeta,
    				AddressType: discovery.AddressType("other"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/utils.go

    }
    
    func getAddressType(address string) *discovery.AddressType {
    	ip := netutils.ParseIPSloppy(address)
    	if ip == nil {
    		return nil
    	}
    	addressType := discovery.AddressTypeIPv4
    	if ip.To4() == nil {
    		addressType = discovery.AddressTypeIPv6
    	}
    	return &addressType
    }
    
    // newEndpointSlice returns an EndpointSlice generated from an Endpoints
    // resource, ports, and address type.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. pkg/apis/discovery/types.go

    	// +optional
    	// +listType=atomic
    	Ports []EndpointPort
    }
    
    // AddressType represents the type of address referred to by an endpoint.
    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.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 21:38:06 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. pkg/registry/discovery/endpointslice/strategy.go

    	}
    	return names
    }
    
    // warnOnDeprecatedAddressType returns a warning for endpointslices with FQDN AddressType
    func warnOnDeprecatedAddressType(addressType discovery.AddressType) []string {
    	if addressType == discovery.AddressTypeFQDN {
    		return []string{fmt.Sprintf("%s: FQDN endpoints are deprecated", field.NewPath("spec").Child("addressType"))}
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 10:00:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/discovery/v1beta1/types.go

    	// * IPv6: Represents an IPv6 Address.
    	// * FQDN: Represents a Fully Qualified Domain Name.
    	AddressType AddressType `json:"addressType" protobuf:"bytes,4,rep,name=addressType"`
    
    	// endpoints is a list of unique endpoints in this slice. Each slice may
    	// include a maximum of 1000 endpoints.
    	// +listType=atomic
    	Endpoints []Endpoint `json:"endpoints" protobuf:"bytes,2,rep,name=endpoints"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:26:19 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. pkg/controlplane/reconcilers/endpointsadapter.go

    			endpointSlice.AddressType = discovery.AddressTypeIPv6
    		}
    
    		endpointSlice.Endpoints = append(endpointSlice.Endpoints, getEndpointsFromAddresses(subset.Addresses, endpointSlice.AddressType, true)...)
    		endpointSlice.Endpoints = append(endpointSlice.Endpoints, getEndpointsFromAddresses(subset.NotReadyAddresses, endpointSlice.AddressType, false)...)
    	}
    
    	return endpointSlice
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  8. pkg/model/xds.go

    	// DebugType requests debug info from istio, a secured implementation for istio debug interface.
    	DebugType                 = "istio.io/debug"
    	BootstrapType             = APITypePrefix + "envoy.config.bootstrap.v3.Bootstrap"
    	AddressType               = APITypePrefix + "istio.workload.Address"
    	WorkloadType              = APITypePrefix + "istio.workload.Workload"
    	WorkloadAuthorizationType = APITypePrefix + "istio.security.Authorization"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/discovery/v1/types.go

    	// * IPv6: Represents an IPv6 Address.
    	// * FQDN: Represents a Fully Qualified Domain Name.
    	AddressType AddressType `json:"addressType" protobuf:"bytes,4,rep,name=addressType"`
    
    	// endpoints is a list of unique endpoints in this slice. Each slice may
    	// include a maximum of 1000 endpoints.
    	// +listType=atomic
    	Endpoints []Endpoint `json:"endpoints" protobuf:"bytes,2,rep,name=endpoints"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    // types.
    type multiAddrTypePortMapKey map[discovery.AddressType]addrTypePortMapKey
    
    // initPorts initializes ports for a subset and address type and returns the
    // corresponding addrTypePortMapKey.
    func (d *desiredCalc) initPorts(subsetPorts []v1.EndpointPort) multiAddrTypePortMapKey {
    	endpointPorts := epPortsToEpsPorts(subsetPorts)
    	addrTypes := []discovery.AddressType{discovery.AddressTypeIPv4, discovery.AddressTypeIPv6}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top