Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for labelServiceName (0.19 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    			Labels: map[string]string{
    				discovery.LabelServiceName: serviceName,
    				discovery.LabelManagedBy:   controllerName,
    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}, {
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "matching-2",
    			Namespace:       ns,
    			OwnerReferences: []metav1.OwnerReference{*ownerRef},
    			Labels: map[string]string{
    				discovery.LabelServiceName: serviceName,
    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. pkg/proxy/endpointschangetracker_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:        fmt.Sprintf("%s-%d", name, slice),
    			Namespace:   namespace,
    			Annotations: map[string]string{},
    			Labels: map[string]string{
    				discovery.LabelServiceName: name,
    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}
    	epsFunc(eps)
    	return eps
    }
    
    func TestUpdateEndpointsMap(t *testing.T) {
    	emptyEndpoint := func(eps *discovery.EndpointSlice) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    ) {
    	if labels == nil {
    		labels = make(map[string]string)
    	}
    	// Add the reference to the service. Used by EndpointSlice logic only.
    	labels[discovery.LabelServiceName] = name
    
    	if refs == nil {
    		refs = make([]*corev1.ObjectReference, len(ips))
    	}
    	var portNum int32 = 1001
    	eas := make([]corev1.EndpointAddress, 0)
    	for i, ip := range ips {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceregistry_test.go

    		})
    	}
    
    	endpointSlice := &discovery.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: namespace,
    			Labels: map[string]string{
    				discovery.LabelServiceName: serviceName,
    			},
    		},
    		AddressType: addrType,
    		Endpoints:   sliceEndpoint,
    		Ports:       esps,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top