Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedEndpoints (0.23 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    	testcases := []struct {
    		name                  string
    		service               *v1.Service
    		pods                  []*v1.Pod
    		expectedEndpointPorts []discovery.EndpointPort
    		expectedEndpoints     []discovery.Endpoint
    	}{
    		{
    			name: "pods with multiple IPs and Service with ipFamilies=ipv4",
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "foobar",
    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

    		makeIstioObject(t, s.Store(), workloadEntry)
    		expectEndpoints(t, s, "outbound|80||service.namespace.svc.cluster.local", []string{"2.3.4.5:80"}, nil)
    
    		newSvc := service.DeepCopy()
    		newSvc.Spec.Ports[0].Port = 8080
    		makeService(t, s.KubeClient().Kube(), newSvc)
    		expectEndpoints(t, s, "outbound|80||service.namespace.svc.cluster.local", nil, nil)
    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