Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for makeService (0.15 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    		makeService(t, s.KubeClient().Kube(), service)
    		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)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. pkg/controller/endpoint/endpoints_controller_test.go

    			pod:             makePod(v1.PodRunning, true, false),
    			service:         makeService(false),
    			expectedReady:   1,
    			expectedUnready: 0,
    		},
    		{
    			name:            "pod running phase being deleted",
    			pod:             makePod(v1.PodRunning, true, true),
    			service:         makeService(false),
    			expectedReady:   0,
    			expectedUnready: 0,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	t.Parallel()
    	ns := "ns-test"
    
    	hostname := kube.ServiceHostname(testService, ns, defaultFakeDomainSuffix)
    
    	var sds model.ServiceDiscovery = ctl
    	// "test", ports: http-example on 80
    	makeService(testService, ns, ctl, t)
    
    	eventually(t, func() bool {
    		out := sds.Services()
    
    		// Original test was checking for 'protocolTCP' - which is incorrect (the
    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/serviceentry/controller_test.go

    	expectedServices := []*model.Service{
    		makeService("*.istio.io", "httpDNSRR", constants.UnspecifiedIP, map[string]int{"http-port": 80, "http-alt-port": 8080}, true, model.DNSRoundRobinLB),
    		makeService("*.google.com", "httpDNS", constants.UnspecifiedIP, map[string]int{"http-port": 80, "http-alt-port": 8080}, true, model.DNSLB),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager_test.go

    						resps.ContainerResponses = append(resps.ContainerResponses, resp)
    						return resps, nil
    					},
    				},
    				opts: nil,
    			}
    		}
    		testManager.allDevices[res.resourceName] = makeDevice(res.devs, res.topology)
    
    	}
    	return testManager, nil
    }
    
    type TestResource struct {
    	resourceName     string
    	resourceQuantity resource.Quantity
    	devs             checkpoint.DevicesPerNUMA
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top