Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetFilters (0.18 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++
    				}
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top