Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for addressTypes (0.16 sec)

  1. pkg/apis/discovery/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_EndpointSlice_To_discovery_EndpointSlice(in *v1beta1.EndpointSlice, out *discovery.EndpointSlice, s conversion.Scope) error {
    	out.ObjectMeta = in.ObjectMeta
    	out.AddressType = discovery.AddressType(in.AddressType)
    	if in.Endpoints != nil {
    		in, out := &in.Endpoints, &out.Endpoints
    		*out = make([]discovery.Endpoint, len(*in))
    		for i := range *in {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 15.3K bytes
    - Viewed (0)
  2. pilot/pkg/xds/v3/model.go

    	HealthInfoType             = model.HealthInfoType
    	ProxyConfigType            = model.ProxyConfigType
    	DebugType                  = model.DebugType
    	BootstrapType              = model.BootstrapType
    	AddressType                = model.AddressType
    	WorkloadType               = model.WorkloadType
    	WorkloadAuthorizationType  = model.WorkloadAuthorizationType
    
    	// nolint
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/utils_test.go

    					GenerateName:    fmt.Sprintf("%s-", endpoints.Name),
    					Namespace:       endpoints.Namespace,
    					OwnerReferences: []metav1.OwnerReference{*ownerRef},
    				},
    				Ports:       ports,
    				AddressType: addrType,
    				Endpoints:   []discovery.Endpoint{},
    			},
    		},
    		{
    			name: "create slice from endpoints with annotations",
    			tweakEndpoint: func(ep *v1.Endpoints) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. pkg/proxy/config/config_test.go

    	go sharedInformers.Start(stopCh)
    	go config.Run(stopCh)
    
    	endpoints1 := &discoveryv1.EndpointSlice{
    		ObjectMeta:  metav1.ObjectMeta{Namespace: "testnamespace", Name: "foo"},
    		AddressType: discoveryv1.AddressTypeIPv4,
    		Endpoints: []discoveryv1.Endpoint{{
    			Addresses: []string{"1.1.1.1"},
    		}, {
    			Addresses: []string{"2.2.2.2"},
    		}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. pkg/proxy/winkernel/proxier_test.go

    				NodePort: int32(svcNodePort),
    			}}
    		}),
    	)
    	populateEndpointSlices(proxier,
    		makeTestEndpointSlice(svcPortName.Namespace, svcPortName.Name, 1, func(eps *discovery.EndpointSlice) {
    			eps.AddressType = discovery.AddressTypeIPv4
    			eps.Endpoints = []discovery.Endpoint{{
    				Addresses: []string{epIpAddressRemote},
    			}}
    			eps.Ports = []discovery.EndpointPort{{
    				Name:     ptr.To(svcPortName.Port),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. pkg/registry/discovery/endpointslice/strategy_test.go

    	tests := []struct {
    		name        string
    		addressType discovery.AddressType
    		wantWarning bool
    	}{
    		{
    			name:        "AddressType = FQDN",
    			addressType: discovery.AddressTypeFQDN,
    			wantWarning: true,
    		},
    		{
    			name:        "AddressType = IPV4",
    			addressType: discovery.AddressTypeIPv4,
    			wantWarning: false,
    		},
    		{
    			name:        "AddressType = IPV6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. pkg/apis/discovery/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_EndpointSlice_To_discovery_EndpointSlice(in *v1.EndpointSlice, out *discovery.EndpointSlice, s conversion.Scope) error {
    	out.ObjectMeta = in.ObjectMeta
    	out.AddressType = discovery.AddressType(in.AddressType)
    	out.Endpoints = *(*[]discovery.Endpoint)(unsafe.Pointer(&in.Endpoints))
    	out.Ports = *(*[]discovery.EndpointPort)(unsafe.Pointer(&in.Ports))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 14.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SocksProxy.kt

        val reserved = fromSource.readByte() and 0xff
        if (reserved != 0) throw ProtocolException("unexpected reserved: $reserved")
    
        val addressType = fromSource.readByte() and 0xff
        val toAddress =
          when (addressType) {
            ADDRESS_TYPE_IPV4 -> {
              InetAddress.getByAddress(fromSource.readByteArray(4L))
            }
    
            ADDRESS_TYPE_DOMAIN_NAME -> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1.EndpointSlice.yaml

    addressType: addressTypeValue
    apiVersion: discovery.k8s.io/v1
    endpoints:
    - addresses:
      - addressesValue
      conditions:
        ready: true
        serving: true
        terminating: true
      deprecatedTopology:
        deprecatedTopologyKey: deprecatedTopologyValue
      hints:
        forZones:
        - name: nameValue
      hostname: hostnameValue
      nodeName: nodeNameValue
      targetRef:
        apiVersion: apiVersionValue
        fieldPath: fieldPathValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. pkg/controller/endpointslicemirroring/reconciler.go

    func (r *reconciler) reconcileByPortMapping(
    	endpoints *corev1.Endpoints,
    	existingSlices []*discovery.EndpointSlice,
    	desiredSet endpointsliceutil.EndpointSet,
    	endpointPorts []discovery.EndpointPort,
    	addressType discovery.AddressType,
    ) (slicesByAction, totalsByAction) {
    	slices := slicesByAction{}
    	totals := totalsByAction{}
    
    	// If no endpoints are desired, mark existing slices for deletion and
    	// return.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top