Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PrintEndpointsSummary (0.1 sec)

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

    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	_, _ = fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    func (c *ConfigWriter) PrintEndpointsSummary(filter EndpointFilter) error {
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    
    	fmt.Fprintln(w, "NAME\tSTATUS\tLOCALITY\tCLUSTER")
    	dump, err := c.retrieveSortedEndpointsSlice(filter)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump.go

    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintSecretSummary(); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintEndpointsSummary(epf); err != nil {
    		return err
    	}
    	return nil
    }
    
    // PrintBootstrapSummary prints bootstrap information for Istio and Envoy from the config dump
    func (c *ConfigWriter) PrintBootstrapSummary() error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    				Address: address,
    				Port:    uint32(port),
    				Cluster: clusterName,
    				Status:  status,
    			}
    
    			switch outputFormat {
    			case summaryOutput:
    				return configWriter.PrintEndpointsSummary(filter)
    			case jsonOutput, yamlOutput:
    				return configWriter.PrintEndpoints(filter, outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top