Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddInstance (0.09 sec)

  1. pilot/pkg/networking/core/listener_builder_test.go

    			Service: s,
    			Endpoint: &model.IstioEndpoint{
    				Address:      "1.1.1.1",
    				EndpointPort: 8080, // service port is 80, target port is 8080
    			},
    			ServicePort: s.Ports[0],
    		}
    		cg.MemRegistry.AddInstance(i)
    	}
    	l := cg.Listeners(cg.SetupProxy(p))
    	xdstest.ValidateListeners(t, l)
    	return l
    }
    
    func TestVirtualInboundListenerBuilder(t *testing.T) {
    	tests := []struct {
    		useExactBalance bool
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    				Service: s,
    				Endpoint: &model.IstioEndpoint{
    					Address:      "1.1.1.1",
    					EndpointPort: uint32(s.Ports[0].Port),
    				},
    				ServicePort: s.Ports[0],
    			}
    			cg.MemRegistry.AddInstance(i)
    		}
    		listeners := cg.Listeners(cg.SetupProxy(p))
    		xdstest.ValidateListeners(t, listeners)
    		l := xdstest.ExtractListener(model.VirtualInboundListenerName, listeners)
    		httpFilters := []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top