Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for virtualHost (0.15 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/util/configdump/route.go

    	for i := range drc {
    		route := &route.RouteConfiguration{}
    		err = drc[i].RouteConfig.UnmarshalTo(route)
    		if err != nil {
    			return nil, err
    		}
    		sort.Slice(route.VirtualHosts, func(i, j int) bool {
    			return route.VirtualHosts[i].Name < route.VirtualHosts[j].Name
    		})
    		drc[i].RouteConfig = protoconv.MessageToAny(route)
    	}
    
    	if stripVersions {
    		for i := range drc {
    			drc[i].VersionInfo = ""
    			drc[i].LastUpdated = nil
    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)
  3. istioctl/pkg/describe/describe.go

    func routeDestinationMatchesSvc(vhRoute *route.Route, svc corev1.Service, vh *route.VirtualHost, port int32) bool {
    	if vhRoute == nil {
    		return false
    	}
    
    	// Infer from VirtualHost domains matching <service>.<namespace>.svc.cluster.local
    	re := regexp.MustCompile(`(?P<service>[^\.]+)\.(?P<namespace>[^\.]+)\.svc\.cluster\.local$`)
    	for _, domain := range vh.Domains {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top