Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetWeightedClusters (0.2 sec)

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

    		g.Expect(len(routes)).To(Equal(1))
    
    		r := routes[0]
    		routeAction, ok := r.GetAction().(*envoyroute.Route_Route)
    		g.Expect(ok).NotTo(BeFalse())
    
    		weightedCluster := routeAction.Route.GetWeightedClusters()
    		g.Expect(weightedCluster).NotTo(BeNil())
    		g.Expect(len(weightedCluster.GetClusters())).To(Equal(2))
    
    		expectResults := []struct {
    			reqAdd     []*envoycore.HeaderValueOption
    			reqRemove  []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top