Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for makeService (0.32 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)
Back to top