Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ListenerClassUndefined (0.26 sec)

  1. pilot/pkg/networking/networking.go

    	if tp == TransportProtocolQUIC {
    		return core.SocketAddress_UDP
    	}
    	return core.SocketAddress_TCP
    }
    
    // ListenerClass defines the class of the listener
    type ListenerClass int
    
    const (
    	ListenerClassUndefined ListenerClass = iota
    	ListenerClassSidecarInbound
    	ListenerClassSidecarOutbound
    	ListenerClassGateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 18 09:42:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. pilot/pkg/model/extensions.go

    // the listener is matched with any TrafficSelector.
    var anyListener = WasmPluginListenerInfo{
    	Port:  0,
    	Class: istionetworking.ListenerClassUndefined,
    }
    
    func matchTrafficSelectors(ts []*extensions.WasmPlugin_TrafficSelector, li WasmPluginListenerInfo) bool {
    	if (li.Class == istionetworking.ListenerClassUndefined && li.Port == 0) || len(ts) == 0 {
    		return true
    	}
    
    	for _, match := range ts {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pilot/pkg/model/extensions_test.go

    					},
    				},
    			}},
    			proxyLabels: map[string]string{"a": "b", "c": "d"},
    			listenerInfo: WasmPluginListenerInfo{
    				Port:  1234,
    				Class: networking.ListenerClassUndefined,
    			},
    			want: true,
    		},
    		{
    			desc: "gateway is matched with workloadMode CLIENT",
    			wasmPlugin: &WasmPluginWrapper{WasmPlugin: &extensions.WasmPlugin{
    				Selector: nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry.go

    		return tpb.WorkloadMode_CLIENT
    	case networking.ListenerClassSidecarInbound:
    		return tpb.WorkloadMode_SERVER
    	case networking.ListenerClassSidecarOutbound:
    		return tpb.WorkloadMode_CLIENT
    	case networking.ListenerClassUndefined:
    		// this should not happen, just in case
    		return tpb.WorkloadMode_CLIENT
    	}
    
    	return tpb.WorkloadMode_CLIENT
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top