Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PrintConnectionsSummary (0.38 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/connections.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) PrintConnectionsSummary(filter ConnectionsFilter) error {
    	w := c.tabwriter()
    	d := c.ztunnelDump
    	serviceNames := map[string]string{}
    	workloadNames := map[string]string{}
    	for _, s := range d.Services {
    		var ip string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    			filter := ztunnelDump.ConnectionsFilter{
    				Namespace: workloadsNamespace,
    				Direction: direction,
    				Raw:       raw,
    			}
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintConnectionsSummary(filter)
    			case jsonOutput, yamlOutput:
    				return cw.PrintConnectionsDump(filter, common.outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top