Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addressTypes (0.91 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}, {
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "matching-2",
    			Namespace:       ns,
    			OwnerReferences: []metav1.OwnerReference{*ownerRef},
    			Labels: map[string]string{
    				discovery.LabelServiceName: serviceName,
    				discovery.LabelManagedBy:   controllerName,
    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceregistry_test.go

    }
    
    // nolint: unparam
    func createEndpointSliceWithType(t *testing.T, c kubernetes.Interface, name, serviceName, namespace string,
    	ports []v1.EndpointPort, ips []string, addrType discovery.AddressType,
    ) {
    	esps := make([]discovery.EndpointPort, 0)
    	for _, name := range ports {
    		n := name // Create a stable reference to take the pointer from
    		esps = append(esps, discovery.EndpointPort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conversion.go

    		gs := s.(*k8s.GatewayStatus)
    		addressesToReport := external
    		if len(addressesToReport) == 0 {
    			wantAddressType := classInfo.addressType
    			if override, ok := obj.Annotations[addressTypeOverride]; ok {
    				wantAddressType = k8s.AddressType(override)
    			}
    			// There are no external addresses, so report the internal ones
    			// TODO: should we always report both?
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top