Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hashByDestination (0.17 sec)

  1. pilot/pkg/networking/core/route/route.go

    			}
    		}
    	}
    	return hashByDestination, destinationRules
    }
    
    func GetConsistentHashForVirtualService(push *model.PushContext, node *model.Proxy, virtualService config.Config) DestinationHashMap {
    	hashByDestination, _ := hashForVirtualService(push, node, virtualService)
    	return hashByDestination
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    								},
    							},
    						},
    					},
    				},
    			},
    		})
    
    		proxy := node(cg)
    		hashByDestination := route.GetConsistentHashForVirtualService(cg.PushContext(), proxy, virtualServicePlain)
    		routes, err := route.BuildHTTPRoutesForVirtualService(proxy, virtualServicePlain, serviceRegistry,
    			hashByDestination, 8080, gatewayNames, route.RouteOptions{})
    		xdstest.ValidateRoutes(t, routes)
    		g.Expect(err).NotTo(HaveOccurred())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway.go

    					IsHTTP3AltSvcHeaderNeeded: isH3DiscoveryNeeded,
    					Mesh:                      push.Mesh,
    				}
    				hashByDestination := istio_route.GetConsistentHashForVirtualService(push, node, virtualService)
    				routes, err = istio_route.BuildHTTPRoutesForVirtualService(node, virtualService, nameToServiceMap,
    					hashByDestination, port, sets.New(gatewayName), opts)
    				if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
Back to top