Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for outputFormat (0.13 sec)

  1. 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)
  2. cmd/kubeadm/app/cmd/upgrade/plan_test.go

    			ManualUpgradeRequired: false,
    		},
    	}
    
    	var tests = []struct {
    		name         string
    		outputFormat string
    		buf          *bytes.Buffer
    		expected     string
    		externalEtcd bool
    	}{
    		{
    			name:         "JSON output",
    			outputFormat: "json",
    			expected: `{
        "kind": "UpgradePlan",
        "apiVersion": "output.kubeadm.k8s.io/v1alpha3",
        "availableUpgrades": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    			file.Close()
    			execName = arg0
    			args = args[1:]
    		}
    	}
    
    	// Apply any specified flags to cfg.
    	if err := configFlagSetter(); err != nil {
    		return nil, nil, err
    	}
    
    	cmd, err := outputFormat(flagCommands, flagParamCommands)
    	if err != nil {
    		return nil, nil, err
    	}
    	if cmd != nil && *flagHTTP != "" {
    		return nil, nil, errors.New("-http is not compatible with an output format on the command line")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    	// Ignore headers
    	return strings.Join(conds, " ")
    }
    
    // PrintListenerDump prints the relevant listeners in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintListenerDump(filter ListenerFilter, outputFormat string) error {
    	_, listeners, err := c.setupListenerConfigWriter()
    	if err != nil {
    		return err
    	}
    	filteredListeners := proto.MessageSlice{}
    	for _, listener := range listeners {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

      }
    
      return status;
    }
    
    void WarningUnusedFlags(const toco::ModelFlags& model_flags,
                            const toco::TocoFlags& toco_flags) {
      if (toco_flags.output_format()) {
        LOG(WARNING) << "Ignored output_format.";
      }
      if (toco_flags.drop_control_dependency()) {
        LOG(WARNING) << "Ignored drop_control_dependency.";
      }
      if (toco_flags.reorder_across_fake_quant()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top