- Sort Score
- Result 10 results
- Languages All
Results 41 - 45 of 45 for OutputFormat (0.1 sec)
-
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) -
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) -
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) -
istioctl/pkg/tag/tag_test.go
}, } for _, tc := range tcs { t.Run(tc.name, func(t *testing.T) { var out bytes.Buffer client := fake.NewSimpleClientset(tc.webhooks.DeepCopyObject(), tc.namespaces.DeepCopyObject()) outputFormat = util.JSONFormat err := listTags(context.Background(), client, &out) if tc.error == "" && err != nil { t.Fatalf("expected no error, got %v", err) } if tc.error != "" { if err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 17 22:41:06 UTC 2023 - 8.7K bytes - Viewed (0) -
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)