Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for VirtualInboundListenerName (0.35 sec)

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

    		}
    		vi := xdstest.ExtractListener(model.VirtualInboundListenerName, listeners)
    		if vi == nil {
    			t.Fatalf("expect virtual inbound listener, found %s", listeners[0].Name)
    		}
    
    		byListenerName := map[string]int{}
    
    		for _, fc := range vi.FilterChains {
    			byListenerName[fc.Name]++
    		}
    
    		for k, v := range byListenerName {
    			if k == model.VirtualInboundListenerName && v != 3 {
    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

    	verifyFilterChainMatch(t, xdstest.ExtractListener(model.VirtualInboundListenerName, listeners))
    }
    
    func testInboundListenerConfigWithConflictPort(t *testing.T, proxy *model.Proxy, services ...*model.Service) {
    	t.Helper()
    	listeners := buildListeners(t, TestOptions{Services: services}, proxy)
    	virtualListener := xdstest.ExtractListener(model.VirtualInboundListenerName, listeners)
    	for _, fc := range virtualListener.FilterChains {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_inbound.go

    		// Passthrough chains have fix names based on protocol
    		if protocol == istionetworking.ListenerProtocolHTTP {
    			return model.VirtualInboundCatchAllHTTPFilterChainName
    		}
    		return model.VirtualInboundListenerName
    	}
    	// Everything else derived from bind/port
    	return getListenerName(cc.bind, int(cc.port.TargetPort), istionetworking.TransportProtocolTCP)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. pilot/pkg/simulation/traffic.go

    	default:
    		return ""
    	}
    }
    
    func matchListener(listeners []*listener.Listener, input Call) *listener.Listener {
    	if input.CallMode == CallModeInbound {
    		return xdstest.ExtractListener(model.VirtualInboundListenerName, listeners)
    	}
    	// First find exact match for the IP/Port, then fallback to wildcard IP/Port
    	// There is no wildcard port
    	for _, l := range listeners {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top