Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListenerClassUndefined (0.25 sec)

  1. 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)
  2. 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)
  3. 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