- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Stderr (0.18 sec)
-
cni/pkg/util/executil.go
stdout := &bytes.Buffer{} stderr := &bytes.Buffer{} externalCommand.Stdout = stdout externalCommand.Stderr = stderr err := externalCommand.Run() if len(stdout.String()) != 0 { log.Debugf("Command output: \n%v", stdout.String()) } if err != nil || len(stderr.Bytes()) != 0 { log.Debugf("Command error output: \n%v", stderr.String()) return errors.New(stderr.String()) } return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.8K bytes - Viewed (0) -
istioctl/cmd/istioctl/main.go
_ "k8s.io/client-go/plugin/pkg/client/auth" "istio.io/istio/istioctl/cmd" "istio.io/istio/pkg/log" ) func main() { if err := cmd.ConfigAndEnvProcessing(); err != nil { fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err) exitCode := cmd.GetExitCode(err) os.Exit(exitCode) } rootCmd := cmd.GetRootCmd(os.Args[1:]) log.EnableKlogWithCobra() if err := rootCmd.Execute(); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.1K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff_test.go
notExpected: "- istiocoredns:", // 'profile diff' "fails" so that the error level `$?` is 1, not 0, if there is a diff shouldFail: false, }, } l := clog.NewConsoleLogger(os.Stdout, os.Stderr, nil) for i, c := range cases { t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) { args := strings.Split(c.args, " ") setFlag := fmt.Sprintf("installPackagePath=%s", snapshotCharts)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1) -
istioctl/pkg/tag/tag.go
return cmd } // setTag creates or modifies a revision tag. func setTag(ctx context.Context, kubeClient kube.CLIClient, tagName, revision, istioNS string, generate bool, w, stderr io.Writer) error { opts := &GenerateOptions{ Tag: tagName, Revision: revision, WebhookName: webhookName, ManifestsPath: manifestsPath,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
// istioctl kube-inject is typically redirected to a .yaml file; // the default for log messages should be stderr, not stdout root := c.Root() if root != nil { _ = c.Root().PersistentFlags().Set("log_target", "stderr") } if c.Parent() != nil && c.Parent().PersistentPreRunE != nil { return c.Parent().PersistentPreRunE(c, args) } return nil },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
operatorNamespace: "operator-test-namespace", watchedNamespaces: "istio-test-namespace1,istio-test-namespace2", manifestsPath: string(snapshotCharts), }, } l := clog.NewConsoleLogger(os.Stdout, os.Stderr, installerScope) _, gotYAML, err := renderOperatorManifest(rootArgs, &oiArgs.common) if err != nil { l.LogAndFatal(err) } if refreshGoldenFiles() {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
if visited[namespacedName] { // If we already have information about the pod, skip it. continue } resp, err := queryToOnePod(&pod) if err != nil { fmt.Fprintf(os.Stderr, "Skip the agent in Pod %s due to the error: %s\n", namespacedName, err.Error()) continue } responses = append(responses, resp) } token = list.ListMeta.GetContinue() if token == "" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/cmd/options_test.go
--log_target: The set of paths where to output the log. This can be any path as well as the special values stdout and stderr ` func TestLogHelp(t *testing.T) { var out bytes.Buffer rootCmd := GetRootCmd([]string{"options"}) rootCmd.SetOut(&out) rootCmd.SetErr(&out) fErr := rootCmd.Execute() if fErr != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Sep 14 02:38:54 GMT 2022 - 1.9K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
case "info": return log.InfoLevel } return log.InfoLevel } func GetLoggingOptions(udsAddress string) *log.Options { loggingOptions := log.DefaultOptions() loggingOptions.OutputPaths = []string{"stderr"} loggingOptions.JSONEncoding = true if udsAddress != "" { loggingOptions.WithTeeToUDS(udsAddress, constants.UDSLogPath) } return loggingOptions } // CmdAdd is called for ADD requests
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// Defaults to true. // +optional optional bool stdout = 2; // Stderr if true indicates that stderr is to be redirected for the attach call. // Defaults to true. // +optional optional bool stderr = 3; // TTY if true indicates that a tty will be allocated for the attach call. // This is passed through the container runtime so the tty
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 255.8K bytes - Viewed (0)