- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 715 for outputs (0.13 sec)
-
cmd/update-notifier_test.go
case output == "" && testCase.dlURL != "" && testCase.older > 0: t.Errorf("Testcase %d: newer release is available but got empty update message!", i+1) case output == "" && (testCase.dlURL == "" || testCase.older <= 0): // Valid no update message case. No further // validation needed. continue case !strings.Contains(output, line1):
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 15:36:19 UTC 2023 - 4.1K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_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) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
return &sdsWriter{ w: w, output: format, } } // sdsWriter is provided concrete implementation of SDSWriter type sdsWriter struct { w io.Writer output Format } // PrintSecretItems uses the user supplied output format to determine how to display the diffed secrets func (w *sdsWriter) PrintSecretItems(secrets []SecretItem) error { var err error switch w.output { case JSON:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 4.8K bytes - Viewed (0) -
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) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
}) } } func checkOutput(t *testing.T, output string, expected, unexpected []string) { t.Helper() for _, expected := range expected { if !strings.Contains(output, expected) { t.Errorf("expected %s included in writer output, did not find", expected) } } for _, unexpected := range unexpected { if strings.Contains(output, unexpected) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 4.9K bytes - Viewed (0) -
internal/logger/target/console/console.go
msg := color.RedBold(entry.Trace.Message) output := fmt.Sprintf("\n%s\n%s%s%s%s%s%s\nError: %s%s\n%s", apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent, msg, tagString, strings.Join(trace, "\n")) fmt.Fprintln(c.output, output) return nil } // New initializes a new logger target // which prints log directly in the standard // output. func New(w io.Writer) *Target {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.9K bytes - Viewed (0) -
internal/logger/console.go
// Print banner with or without the log tag if !tagPrinted { fmt.Fprint(Output, logBanner) tagPrinted = true } else { fmt.Fprint(Output, emptyBanner) } // Restore the text color of the error message ansiRestoreAttributes() ansiMoveRight(bannerWidth) // Continue error message printing fmt.Fprintln(Output, line) break } } // Exit because this is a fatal error message
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
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", )) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.1K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/get_test_list.sh
# # Usage: get_test_list.sh OUTPUT BAZEL_TEST_COMMAND... # Writes the list of tests that would be run from BAZEL_TEST_COMMAND to OUTPUT. # Hides all extra output and always exits with success for now. OUTPUT=$1 shift
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 1K bytes - Viewed (0) -
docs/debugging/inspect/main.go
// Decrypt the inspect data msg := fmt.Sprintf("output written to %s", outputFileName) switch { case *keyHex != "": err = extractInspectV1(*keyHex, input, output, msg) case len(privateKey) != 0: err = extractInspectV2(privateKey, input, output, msg) } output.Close() if err != nil { var keep keepFileErr if !errors.As(err, &keep) { os.Remove(outputFileName) } fatalErr(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0)