Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewWriter (0.18 sec)

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

    	if err != nil {
    		return err
    	}
    
    	var (
    		istioVersion, istioProxySha = c.getIstioVersionInfo(bootstrapDump)
    		envoyVersion                = c.getUserAgentVersionInfo(bootstrapDump)
    
    		tw = tabwriter.NewWriter(c.Stdout, 0, 8, 1, ' ', 0)
    	)
    
    	if len(istioVersion) > 0 {
    		fmt.Fprintf(tw, "Istio Version:\t%s\n", istioVersion)
    	}
    	if len(istioProxySha) > 0 {
    		fmt.Fprintf(tw, "Istio Proxy Version:\t%s\n", istioProxySha)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics.go

    }
    
    func printHeader(writer io.Writer) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    	_, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD")
    	_ = w.Flush()
    }
    
    func printMetrics(writer io.Writer, wm workloadMetrics) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    	_, _ = fmt.Fprintf(w, "%40s\t", wm.workload)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top