Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for serviceWaypointName (0.58 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/services.go

    			if !f {
    				continue
    			}
    			if w.Status != "Healthy" {
    				continue
    			}
    			healthyEndpoints++
    		}
    		endpoints := fmt.Sprintf("%d/%d", healthyEndpoints, allEndpoints)
    
    		waypoint := serviceWaypointName(svc, zDump.Services)
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\n",
    			svc.Namespace, svc.Name, strings.Join(ips, ","), waypoint, endpoints)
    	}
    	return w.Flush()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/workload.go

    		}
    		for _, addr := range svc.Addresses {
    			if addr == wl.Waypoint.Destination {
    				return svc.Name
    			}
    		}
    	}
    
    	return "NA" // Shouldn't normally reach here
    }
    
    func serviceWaypointName(svc *ZtunnelService, services []*ZtunnelService) string {
    	if svc.Waypoint == nil {
    		return "None"
    	}
    
    	for _, service := range services {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top