Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDomain (0.32 sec)

  1. 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() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. 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 {
    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