Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    				makeService("tcp1.com", "multiAddrInternal", "2.2.2.0/16",
    					map[string]int{"tcp-444": 444}, false, model.Passthrough),
    				makeService("tcp2.com", "multiAddrInternal", "1.1.1.0/16",
    					map[string]int{"tcp-444": 444}, false, model.Passthrough),
    				makeService("tcp2.com", "multiAddrInternal", "2.2.2.0/16",
    					map[string]int{"tcp-444": 444}, false, model.Passthrough),
    			},
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_sh_test.go

    			Gateways: gws,
    		})
    	}
    
    	svcLabels := map[string]string{
    		"version": "v1.1",
    	}
    
    	// Explicit test service, in the v2 memory registry. Similar with mock.MakeService,
    	// but easier to read.
    	memRegistry.AddService(&model.Service{
    		Hostname:       "service5.default.svc.cluster.local",
    		DefaultAddress: "10.10.0.1",
    		Ports: []*model.Port{
    			{
    				Name:     "http-main",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/aggregate/controller_test.go

    func buildMockControllerForMultiCluster() (*Controller, *memory.ServiceDiscovery, *memory.ServiceDiscovery) {
    	discovery1 := memory.NewServiceDiscovery(mock.HelloService)
    
    	discovery2 := memory.NewServiceDiscovery(mock.MakeService(mock.ServiceArgs{
    		Hostname:        mock.HelloService.Hostname,
    		Address:         "10.1.2.0",
    		ServiceAccounts: []string{},
    		ClusterID:       "cluster-2",
    	}), mock.WorldService)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        final CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                started.await();
              }
            };
        service.startAsync();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        final CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                started.await();
              }
            };
        service.startAsync();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top