Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fakeProxy (0.12 sec)

  1. pilot/pkg/autoregistration/controller_test.go

    	n := fakeNode("reg1", "zone1", "subzone1")
    
    	var p1conn1, p1conn2 *fakeConn
    	p := fakeProxy("1.2.3.4", wgA, "nw1", "sa-a")
    	p.Locality = n.Locality
    
    	var p2conn1 *fakeConn
    	p2 := fakeProxy("1.2.3.4", wgA, "nw2", "sa-a")
    	p2.Locality = n.Locality
    
    	var p3conn1 *fakeConn
    	p3 := fakeProxy("1.2.3.5", wgA, "nw1", "sa-a")
    	p3.Locality = n.Locality
    
    	t.Run("initial registration", func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters_test.go

    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    )
    
    var networkFiltered = []networkFilterCase{
    	{
    		name:  "from_network1_cluster1a",
    		proxy: makeProxy("network1", "cluster1a"),
    		want: []xdstest.LocLbEpInfo{
    			{
    				LbEps: []xdstest.LbEpInfo{
    					// 3 local endpoints on network1
    					{Address: "10.0.0.1", Weight: 6},
    					{Address: "10.0.0.2", Weight: 6},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top