Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for outputFormat (0.61 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    	path := "stats"
    	if outputFormat == jsonOutput || outputFormat == yamlOutput {
    		// for yaml output we will convert the json to yaml when printed
    		path += "?format=json"
    	} else if outputFormat == prometheusOutput {
    		path += "/prometheus"
    	} else if outputFormat == prometheusMergedOutput {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintSecretSummary()
    			case jsonOutput, yamlOutput:
    				return cw.PrintSecretDump(common.outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig.go

    		if err != nil {
    			return err
    		}
    		if ga.outputFormat == "yaml" {
    			if outputBytes, err = yaml.JSONToYAML(outputBytes); err != nil {
    				return err
    			}
    		}
    		_, err = out.Write(outputBytes)
    		return err
    	default:
    		return fmt.Errorf("output format %q not supported", ga.outputFormat)
    	}
    }
    
    type istiodConfigLog struct {
    	state flagState
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/config_test.go

    	}
    
    	testcases := []struct {
    		name           string
    		cfg            kubeadmapiv1.ClusterConfiguration
    		outputFormat   string
    		expectedOutput string
    	}{
    		{
    			name: "text output",
    			cfg: kubeadmapiv1.ClusterConfiguration{
    				KubernetesVersion: dummyKubernetesVersionStr,
    			},
    			outputFormat: "text",
    			expectedOutput: `registry.k8s.io/kube-apiserver:{{.KubeVersion}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/token_test.go

    		extraGroups  []string
    		outputFormat string
    		expected     string
    	}{
    		{
    			name:         "JSON output",
    			id:           "abcdef",
    			secret:       "1234567890123456",
    			description:  "valid bootstrap tooken",
    			usages:       []string{"signing", "authentication"},
    			extraGroups:  []string{"system:bootstrappers:kubeadm:default-node-token"},
    			outputFormat: "json",
    			expected: `{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	// as the graph itself doesn't contain enough information to preserve full precision.
    	visualMode := o.OutputFormat == Dot
    	cumSort := o.CumSort
    
    	// The call_tree option is only honored when generating visual representations of the callgraph.
    	callTree := o.CallTree && (o.OutputFormat == Dot || o.OutputFormat == Callgrind)
    
    	// First step: Build complete graph to identify low frequency nodes, based on their cum weight.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/kubeadm/app/cmd/certs.go

    // ToPrinter returns a kubeadm printer for the text output format
    func (tpf *certTextPrintFlags) ToPrinter(outputFormat string) (output.Printer, error) {
    	if outputFormat == output.TextOutput {
    		return &certTextPrinter{}, nil
    	}
    	return nil, genericclioptions.NoCompatiblePrinterError{OutputFormat: &outputFormat, AllowedFormats: []string{output.TextOutput}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top