Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for same (6.24 sec)

  1. istioctl/pkg/util/configdump/route.go

    	sort.Slice(drc, func(i, j int) bool {
    		r := &route.RouteConfiguration{}
    		err = drc[i].RouteConfig.UnmarshalTo(r)
    		if err != nil {
    			return false
    		}
    		name := r.Name
    		err = drc[j].RouteConfig.UnmarshalTo(r)
    		if err != nil {
    			return false
    		}
    		return name < r.Name
    	})
    
    	// In Istio 1.5, it is not enough just to sort the routes.  The virtual hosts
    	// within a route might have a different order.  Sort those too.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/route.go

    	if err != nil {
    		return err
    	}
    	if filter.Verbose {
    		fmt.Fprintln(w, "NAME\tVHOST NAME\tDOMAINS\tMATCH\tVIRTUAL SERVICE")
    	} else {
    		fmt.Fprintln(w, "NAME\tVIRTUAL HOSTS")
    	}
    	for _, route := range routes {
    		if filter.Verify(route) {
    			if includeConfigType {
    				route.Name = fmt.Sprintf("route/%s", route.Name)
    			}
    			if filter.Verbose {
    				for _, vhosts := range route.GetVirtualHosts() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top