Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for output (0.31 sec)

  1. istioctl/pkg/writer/table/writer.go

    	return s.Sprintf("%s", cell.Value)
    }
    
    func (c *ColoredTableWriter) getTableOutput(allRows []Row) [][]Cell {
    	output := [][]Cell{}
    	if len(c.header.Cells) != 0 {
    		output = append(output, c.header.Cells)
    	}
    	for _, row := range allRows {
    		output = append(output, row.Cells)
    	}
    	return output
    }
    
    func (c *ColoredTableWriter) SetAddRowFunc(f func(obj interface{}) Row) {
    	c.addRowFunc = f
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    				return configWriter.PrintClusterDump(filter, outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	clusterConfigCmd.PersistentFlags().StringVarP(&outputFormat, "output", "o", summaryOutput, "Output format: one of json|yaml|short")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. istioctl/pkg/util/testutil/util.go

    	cmd.SilenceUsage = true
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.ExpectedOutput != "" && c.ExpectedOutput != output {
    		t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(),
    			strings.Join(c.Args, " "), output, c.ExpectedOutput)
    	}
    
    	if c.ExpectedRegexp != nil && !c.ExpectedRegexp.MatchString(output) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. misc/go_android_exec/exitcode_test.go

    		if err == nil || !wantErr.MatchString(err.Error()) {
    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/asm/doc.go

    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    		Write output to file. The default is foo.o for /a/b/c/foo.s.
    	-p pkgpath
    		Set expected package import to pkgpath.
    	-shared
    		Generate code that can be linked into a shared library.
    	-spectre list
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. istioctl/pkg/proxystatus/proxystatus_test.go

    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    	out, err := cmd.Output()
    	if err != nil {
    		if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    			return errorf("%v: %s", cmd, ee.Stderr)
    		}
    		return errorf("%v: %w", cmd, err)
    	}
    
    	parts := strings.SplitN(string(bytes.TrimSpace(out)), ":", 4)
    	if len(parts) < 2 {
    		return errorf("%v: missing ':' in output: %q", cmd, out)
    	}
    	importPath = parts[0]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  8. istioctl/pkg/util/formatting/formatter_test.go

    		diag.NewMessageType(diag.Warning, "C1", "Collapse danger: %v"),
    		diag.MockResource("GrandCastle"),
    		"the castle is too old",
    	)
    
    	msgs := diag.Messages{firstMsg, secondMsg}
    	output, _ := Print(msgs, LogFormat, false)
    
    	g.Expect(output).To(Equal(
    		"Error [B1] (SoapBubble) Explosion accident: the bubble is too big\n" +
    			"Warning [C1] (GrandCastle) Collapse danger: the castle is too old",
    	))
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. internal/s3select/sql/statement.go

    		if err != nil {
    			return nil, err
    		}
    
    		// Pick output column names
    		if expr.As != "" {
    			output, err = output.Set(expr.As, v)
    		} else if comp, ok := getLastKeypathComponent(expr.Expression); ok {
    			output, err = output.Set(comp, v)
    		} else {
    			output, err = output.Set(fmt.Sprintf("_%d", i+1), v)
    		}
    		if err != nil {
    			return nil, err
    		}
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig.go

    	var opts clioptions.ControlPlaneOptions
    	outputLogLevel := ""
    	stackTraceLevel := ""
    
    	// output format (yaml or short)
    	outputFormat := "short"
    
    	logCmd := &cobra.Command{
    		Use:   "log [<pod-name>]|[-r|--revision] [--level <scope>:<level>][--stack-trace-level <scope>:<level>]|[--reset]|[--output|-o short|json|yaml]",
    		Short: "Manage istiod logging.",
    		Long:  "Retrieve or update logging levels of istiod components.",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top