Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 352 for Fprintln (0.08 sec)

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

    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE")
    
    	for _, pol := range pols {
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			pol.Namespace, pol.Name, pol.Action, pol.Scope)
    	}
    	return w.Flush()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. misc/ios/detect.go

    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    	fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
    	fmt.Println("# will be overwritten when running Go programs.")
    	for _, mp := range mps {
    		fmt.Println()
    		f, err := os.CreateTemp("", "go_ios_detect_")
    		check(err)
    		fname := f.Name()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. istioctl/pkg/analyze/analyze.go

    				if len(result.SkippedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Skipped analyzers:")
    					for _, a := range result.SkippedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    				if len(result.ExecutedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Executed analyzers:")
    					for _, a := range result.ExecutedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/configdump.go

    	}
    	if outputFormat == "yaml" {
    		outbyte, err := yaml.JSONToYAML([]byte(out))
    		if err != nil {
    			return err
    		}
    		out = string(outbyte)
    	}
    	fmt.Fprintln(c.Stdout, out)
    	return nil
    }
    
    // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintSecretDump(outputFormat string) error {
    	if c.configDump == nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	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{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/ecds.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) PrintEcdsSummary() error {
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    
    	fmt.Fprintln(w, "ECDS NAME\tTYPE")
    	dump, err := c.retrieveSortedEcds()
    	if err != nil {
    		return err
    	}
    	for _, ecds := range dump {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    				if gw.Spec.GatewayClassName != constants.WaypointGatewayClassName {
    					continue
    				}
    				filteredGws = append(filteredGws, gw)
    			}
    			if allNamespaces {
    				fmt.Fprintln(w, "NAMESPACE\tNAME\tREVISION\tPROGRAMMED")
    			} else {
    				fmt.Fprintln(w, "NAME\tREVISION\tPROGRAMMED")
    			}
    			for _, gw := range filteredGws {
    				programmed := kstatus.StatusFalse
    				rev := gw.Labels[label.IoIstioRev.Name]
    				if rev == "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/cluster.go

    	w, clusters, err := c.setupClusterConfigWriter()
    	if err != nil {
    		return err
    	}
    	if includeConfigType {
    		_, _ = fmt.Fprintln(w, "NAME\tSERVICE FQDN\tPORT\tSUBSET\tDIRECTION\tTYPE\tDESTINATION RULE")
    	} else {
    		_, _ = fmt.Fprintln(w, "SERVICE FQDN\tPORT\tSUBSET\tDIRECTION\tTYPE\tDESTINATION RULE")
    	}
    	for _, c := range clusters {
    		if filter.Verify(c) {
    			if len(strings.Split(c.Name, "|")) > 3 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	if err != nil {
    		return fmt.Errorf("failed to marshal secrets dump: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    // PrintSecretSummary prints a summary of dynamic active secrets from the config dump
    func (c *ConfigWriter) PrintSecretSummary() error {
    	if c.ztunnelDump == nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		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)
Back to top