Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BuildSidecarOutboundVirtualHosts (0.35 sec)

  1. pilot/pkg/networking/grpcgen/rds.go

    	_, _, hostname, port := model.ParseSubsetKey(routeName)
    	if hostname == "" || port == 0 {
    		log.Warnf("failed to parse %v", routeName)
    		return nil
    	}
    
    	virtualHosts, _, _ := core.BuildSidecarOutboundVirtualHosts(node, push, routeName, port, nil, &model.DisabledCache{})
    
    	// Only generate the required route for grpc. Will need to generate more
    	// as GRPC adds more features.
    	return &route.RouteConfiguration{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/httproute.go

    			virtualHosts = getVirtualHostsForSniffedServicePort(vhosts, routeName)
    			cacheHit = true
    		}
    	}
    	if !cacheHit {
    		virtualHosts, resource, routeCache = BuildSidecarOutboundVirtualHosts(node, req.Push, routeName, listenerPort, efKeys, configgen.Cache)
    		if resource != nil {
    			return resource, true
    		}
    		if listenerPort > 0 {
    			// only cache for tcp ports and not for uds
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top