Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetRoute (0.14 sec)

  1. pilot/pkg/xds/xds_test.go

    	routes := s.Routes(proxy)
    	for _, rc := range routes {
    		for _, vh := range rc.GetVirtualHosts() {
    			if vh.GetName() == "allow_any" {
    				for _, r := range vh.GetRoutes() {
    					if expectedEgressCluster == r.GetRoute().GetCluster() {
    						found = true
    						break
    					}
    				}
    				break
    			}
    		}
    	}
    	if !found {
    		t.Fatalf("failed to find expected fallthrough route")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. pilot/test/xdstest/extract.go

    func ExtractVirtualHosts(rc *route.RouteConfiguration) map[string][]string {
    	res := map[string][]string{}
    	for _, vh := range rc.GetVirtualHosts() {
    		var dests []string
    		for _, r := range vh.Routes {
    			if dc := r.GetRoute().GetCluster(); dc != "" {
    				dests = append(dests, dc)
    			}
    		}
    		sort.Strings(dests)
    		for _, d := range vh.Domains {
    			res[d] = dests
    		}
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. pkg/adsc/adsc.go

    			for _, rt := range h.Routes {
    				rcount++
    				// Example: match:<prefix:"/" > route:<cluster:"outbound|9154||load-se-154.local" ...
    				adscLog.Debugf("Handle route %v, path %v, cluster %v", h.Name, rt.Match.PathSpecifier, rt.GetRoute().GetCluster())
    			}
    		}
    		rds[r.Name] = r
    		size += proto.Size(r)
    	}
    	if a.initialLoad == 0 {
    		a.initialLoad = time.Since(a.watchTime)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway.go

    		}
    
    		for _, mirror := range httpRoute.GetMirrors() {
    			if mirror.GetDestination() != nil {
    				addService(host.Name(mirror.GetDestination().GetHost()))
    			}
    		}
    
    		for _, route := range httpRoute.GetRoute() {
    			if route.GetDestination() != nil {
    				addService(host.Name(route.GetDestination().GetHost()))
    			}
    		}
    	}
    
    	return nameToServiceMap
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. ci/devinfra/docker_windows/Dockerfile

        $gateway = (Get-NetRoute | Where { $_.DestinationPrefix -eq \"0.0.0.0/0\" } | Sort-Object RouteMetric \
            | Select NextHop).NextHop; \
        $ifIndex = (Get-NetAdapter -InterfaceDescription \"Hyper-V Virtual Ethernet*\" | Sort-Object \
            | Select ifIndex).ifIndex; \
        New-NetRoute -DestinationPrefix 169.254.169.254/32 -InterfaceIndex $ifIndex -NextHop $gateway
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
Back to top