Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for addressType (0.14 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top