Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for outputFormat (0.22 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		if err := applyFocus(p, numLabelUnits, cfg, o.UI); err != nil {
    			return nil, nil, err
    		}
    	}
    	ropt, err := reportOptions(p, numLabelUnits, cfg)
    	if err != nil {
    		return nil, nil, err
    	}
    	ropt.OutputFormat = c.format
    	if len(cmd) == 2 {
    		s, err := regexp.Compile(cmd[1])
    		if err != nil {
    			return nil, nil, fmt.Errorf("parsing argument regexp %s: %v", cmd[1], err)
    		}
    		ropt.Symbol = s
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint.go

    			return fmt.Sprintf("envoy://%s/%s", an.ServerListenerName, internal.EndpointId)
    		}
    	}
    	return "unknown"
    }
    
    func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter, outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	dump, err := c.retrieveSortedEndpointsSlice(filter)
    	if err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator_test.go

    			tag:               "1.2.3",
    			imagePullSecrets:  []string{"imagePullSecret1,imagePullSecret2"},
    			operatorNamespace: "operator-test-namespace",
    			watchedNamespaces: "istio-test-namespace1,istio-test-namespace2",
    			outputFormat:      jsonOutput,
    		},
    	}
    
    	cmd := "operator dump --hub " + odArgs.common.hub
    	cmd += " --tag " + odArgs.common.tag
    	cmd += " --imagePullSecrets " + strings.Join(odArgs.common.imagePullSecrets, ",")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/plan.go

    // ToPrinter returns a kubeadm printer for the text output format
    func (tpf *upgradePlanTextPrintFlags) ToPrinter(outputFormat string) (output.Printer, error) {
    	if outputFormat == output.TextOutput {
    		return &upgradePlanTextPrinter{}, nil
    	}
    	return nil, genericclioptions.NoCompatiblePrinterError{OutputFormat: &outputFormat, AllowedFormats: []string{output.TextOutput}}
    }
    
    // upgradePlanTextPrinter prints upgrade plan in a text form
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/clusters/clusters.go

    	}
    
    	return w.Flush()
    }
    
    // PrintEndpoints prints the endpoints config to the ConfigWriter stdout
    func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter, outputFormat string) error {
    	if c.clusters == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    	filteredClusters := proto.MessageSlice{}
    	for _, cluster := range c.clusters.ClusterStatuses {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/token.go

    func (tpf *tokenTextPrintFlags) ToPrinter(outputFormat string) (output.Printer, error) {
    	if outputFormat == output.TextOutput {
    		return &tokenTextPrinter{columns: []string{"TOKEN", "TTL", "EXPIRES", "USAGES", "DESCRIPTION", "EXTRA GROUPS"}}, nil
    	}
    	return nil, genericclioptions.NoCompatiblePrinterError{OutputFormat: &outputFormat, AllowedFormats: []string{output.TextOutput}}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/config.go

    // ToPrinter returns a kubeadm printer for the text output format
    func (ipf *imageTextPrintFlags) ToPrinter(outputFormat string) (output.Printer, error) {
    	if outputFormat == output.TextOutput {
    		return &imageTextPrinter{}, nil
    	}
    	return nil, genericclioptions.NoCompatiblePrinterError{OutputFormat: &outputFormat, AllowedFormats: []string{output.TextOutput}}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/cluster.go

    				}
    			}
    		}
    	}
    	return w.Flush()
    }
    
    // PrintClusterDump prints the relevant clusters in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintClusterDump(filter ClusterFilter, outputFormat string) error {
    	_, clusters, err := c.setupClusterConfigWriter()
    	if err != nil {
    		return err
    	}
    	filteredClusters := make(proto.MessageSlice, 0, len(clusters))
    	for _, cluster := range clusters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/route.go

    	}
    	return "<unknown>"
    }
    
    // PrintRouteDump prints the relevant routes in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintRouteDump(filter RouteFilter, outputFormat string) error {
    	_, routes, err := c.setupRouteConfigWriter()
    	if err != nil {
    		return err
    	}
    	filteredRoutes := make(proto.MessageSlice, 0, len(routes))
    	for _, route := range routes {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag.go

    		if r := cmp.Compare(a.Revision, b.Revision); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Tag, b.Tag)
    	})
    
    	switch outputFormat {
    	case util.JSONFormat:
    		return PrintJSON(writer, tags)
    	case util.TableFormat:
    	default:
    		return fmt.Errorf("unknown format: %s", outputFormat)
    	}
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 1, ' ', 0)
    	fmt.Fprintln(w, "TAG\tREVISION\tNAMESPACES")
    	for _, t := range tags {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top