Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nTCP (0.01 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener.go

    func retrieveListenerType(l *listener.Listener) string {
    	nHTTP := 0
    	nTCP := 0
    	for _, filterChain := range getFilterChains(l) {
    		for _, filter := range filterChain.GetFilters() {
    			if filter.Name == HTTPListener {
    				nHTTP++
    			} else if filter.Name == TCPListener {
    				if !strings.Contains(string(filter.GetTypedConfig().GetValue()), util.BlackHoleCluster) {
    					nTCP++
    				}
    			}
    		}
    	}
    
    	if nHTTP > 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
Back to top