Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetDomains (0.08 sec)

  1. istioctl/pkg/writer/envoy/configdump/route.go

    								route.Name,
    								vhosts.Name,
    								describeRouteDomains(vhosts.GetDomains()),
    								describeMatch(r.GetMatch()),
    								describeManagement(r.GetMetadata()))
    						}
    					}
    					if len(vhosts.Routes) == 0 {
    						fmt.Fprintf(w, "%v\t%s\t%s\t%s\t%s\n",
    							route.Name,
    							vhosts.Name,
    							describeRouteDomains(vhosts.GetDomains()),
    							"/*",
    							"404")
    					}
    				}
    			} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/listener.go

    		return cl.Cluster
    	}
    	return fmt.Sprintf("Cluster: %s", cl.Cluster)
    }
    
    func describeDomains(vh *route.VirtualHost) string {
    	if len(vh.GetDomains()) == 1 && vh.GetDomains()[0] == "*" {
    		return ""
    	}
    	return strings.Join(vh.GetDomains(), "/")
    }
    
    func describeRoutes(vh *route.VirtualHost) string {
    	routes := make([]string, 0, len(vh.GetRoutes()))
    	for _, route := range vh.GetRoutes() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
Back to top