Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for PortNumber (0.26 sec)

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

    				Context: networking.EnvoyFilter_GATEWAY,
    				ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_Listener{
    					Listener: &networking.EnvoyFilter_ListenerMatch{
    						PortNumber: 80,
    						FilterChain: &networking.EnvoyFilter_ListenerMatch_FilterChainMatch{
    							Filter: &networking.EnvoyFilter_ListenerMatch_FilterMatch{
    								Name:      wellknown.HTTPConnectionManager,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/config/analysis/analyzers/gateway/conflictinggateway.go

    			} else {
    				gwConflictingMap[mapKey][gwName] = server.GetHosts()
    			}
    		}
    		return true
    	})
    	return gwConflictingMap
    }
    
    func genGatewayMapKey(selector, portNumber string) string {
    	key := selector + "~" + portNumber
    	return key
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. pkg/test/echo/server/endpoint/grpc.go

    			}
    		}
    	}
    
    	id := uuid.New()
    	epLog.WithLabels("message", req.GetMessage(), "headers", md, "id", id).Infof("GRPC Request")
    
    	portNumber := 0
    	if h.Port != nil {
    		portNumber = h.Port.Port
    	}
    
    	ip := "0.0.0.0"
    	if peerInfo, ok := peer.FromContext(ctx); ok {
    		ip, _, _ = net.SplitHostPort(peerInfo.Addr.String())
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 17:30:37 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. 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)
  8. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    		return false
    	}
    
    	// FIXME: Ports on a cluster 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 cMatch.PortNumber != 0 && int(cMatch.PortNumber) != port {
    		return false
    	}
    	return true
    }
    
    func hostContains(hosts []host.Name, service host.Name) bool {
    	for _, h := range hosts {
    		if h == service {
    			return true
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. pilot/pkg/model/gateway_test.go

    	if !hosts.Equals(expectedHosts) {
    		t.Errorf("expected to get: [a.apps.svc.cluster.local,b.apps.svc.cluster.local], got: %s", hosts.String())
    	}
    }
    
    func makeConfig(name, namespace, host, portName, portProtocol string, portNumber uint32, gw string, bind string,
    	mode networking.ServerTLSSettings_TLSmode,
    ) config.Config {
    	c := config.Config{
    		Meta: config.Meta{
    			Name:      name,
    			Namespace: namespace,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. 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)
Back to top