Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for portNumbers (0.26 sec)

  1. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    				matchCondition: &networking.EnvoyFilter_EnvoyConfigObjectMatch{
    					ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_Cluster{
    						Cluster: &networking.EnvoyFilter_ClusterMatch{
    							PortNumber: 80,
    							Service:    "foo.bar",
    							Subset:     "v1",
    						},
    					},
    				},
    				cluster: &cluster.Cluster{Name: "outbound|80|v2|foo.bar"},
    			},
    			want: false,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/rc_patch_test.go

    					Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{
    						ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration{
    							RouteConfiguration: &networking.EnvoyFilter_RouteConfigurationMatch{PortNumber: 80},
    						},
    					},
    				},
    				rc: &route.RouteConfiguration{Name: "80"},
    			},
    			want: true,
    		},
    		{
    			name: "sidecar port mismatch",
    			args: args{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/gateway.go

    	pm := GatewayPortMap{}
    	for r, s := range serversByRouteName {
    		portNumber, _, _ := ParseGatewayRDSRouteName(r)
    		if _, f := pm[portNumber]; !f {
    			pm[portNumber] = sets.New[int]()
    		}
    		for _, se := range s {
    			if se.Port == nil {
    				continue
    			}
    			pm[portNumber].Insert(int(se.Port.Number))
    		}
    	}
    	return pm
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    		}
    
    		// FIXME: Ports on a route can be 0. the API only takes uint32 for ports
    		// We should either make that field in API as a wrapper type or switch to int
    		if rMatch.PortNumber != 0 && int(rMatch.PortNumber) != listenerPort {
    			return false
    		}
    
    		if rMatch.Name != "" && rMatch.Name != rc.Name {
    			return false
    		}
    
    		return true
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    					},
    				},
    				Spec: k8s.GatewaySpec{
    					GatewayClassName: k8s.ObjectName(features.GatewayAPIDefaultGatewayClass),
    					Listeners: []k8s.Listener{{
    						Name:     "http",
    						Port:     k8s.PortNumber(80),
    						Protocol: k8s.HTTPProtocolType,
    					}},
    				},
    			},
    			objects:                  defaultObjects,
    			discoveryNamespaceFilter: discoveryNamespacesFilter,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_builder_test.go

    				Context: networking.EnvoyFilter_SIDECAR_OUTBOUND,
    				ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_Listener{
    					Listener: &networking.EnvoyFilter_ListenerMatch{
    						PortNumber: 81,
    					},
    				},
    			},
    			Patch: &networking.EnvoyFilter_Patch{
    				Operation: networking.EnvoyFilter_Patch_REMOVE,
    			},
    		},
    		{
    			ApplyTo: networking.EnvoyFilter_LISTENER,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    	// FIXME: Ports on a listener can be 0. the API only takes uint32 for ports
    	// We should either make that field in API as a wrapper type or switch to int
    	if lMatch.PortNumber != 0 {
    		sockAddr := listener.Address.GetSocketAddress()
    		if sockAddr == nil || sockAddr.GetPortValue() != lMatch.PortNumber {
    			return false
    		}
    	}
    	return true
    }
    
    // We assume that the parent listener has already been matched
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/network_test.go

    						Mode: &passthroughMode,
    						Options: map[v1beta1.AnnotationKey]v1beta1.AnnotationValue{
    							constants.ListenerModeOption: constants.ListenerModeAutoPassthrough,
    						},
    					},
    					Port: v1beta1.PortNumber(customPort),
    				},
    				{
    					Name: "detected-by-number",
    					TLS:  &v1beta1.GatewayTLSConfig{Mode: &passthroughMode},
    					Port: 15443,
    				},
    			},
    		},
    		Status: v1beta1.GatewayStatus{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster.go

    	sidecarScope := proxy.SidecarScope
    	for _, ingressListener := range sidecarScope.Sidecar.Ingress {
    		// LDS would have setup the inbound clusters
    		// as inbound|portNumber|portName|Hostname[or]SidecarScopeID
    		listenPort := &model.Port{
    			Port:     int(ingressListener.Port.Number),
    			Protocol: protocol.Parse(ingressListener.Port.Protocol),
    			Name:     ingressListener.Port.Name,
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. pilot/pkg/xds/endpoints/endpoint_builder.go

    func getOutlierDetectionAndLoadBalancerSettings(
    	destinationRule *v1alpha3.DestinationRule,
    	portNumber int,
    	subsetName string,
    ) (bool, *v1alpha3.LoadBalancerSettings) {
    	if destinationRule == nil {
    		return false, nil
    	}
    	outlierDetectionEnabled := false
    	var lbSettings *v1alpha3.LoadBalancerSettings
    
    	port := &model.Port{Port: portNumber}
    	policy := getSubsetTrafficPolicy(destinationRule, port, subsetName)
    	if policy != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top