- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for OutOrStdout (0.12 sec)
-
istioctl/pkg/proxyconfig/proxyconfig.go
return fmt.Errorf("unknown stats type %s", statsType) } fmt.Fprintf(c.OutOrStdout(), "\nThe result of pod %s:\n\n", podName) switch outputFormat { // convert the json output to yaml case yamlOutput: var out []byte if out, err = yaml.JSONToYAML([]byte(stats)); err != nil { return err } _, _ = fmt.Fprint(c.OutOrStdout(), string(out)) case jsonOutput: var prettyJSON bytes.Buffer
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} hooks := hooksList.Items pods, err := getPods(context.Background(), client) if err != nil { return err } err = printNS(cmd.OutOrStdout(), nsList, hooks, pods) if err != nil { return err } fmt.Fprintln(cmd.OutOrStdout()) injectedImages, err := getInjectedImages(context.Background(), client) if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
if err != nil { return err } sw := DebugWriter{ Writer: c.OutOrStdout(), InternalDebugAllIstiod: internalDebugAllIstiod, } newResponse, err := HandlerForDebugErrors(kubeClient, ¢ralOpts, c.OutOrStdout(), ctx.IstioNamespace(), xdsResponses) if err != nil { return err } if newResponse != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err) } return setTag(context.Background(), kubeClient, args[0], revision, ctx.IstioNamespace(), false, cmd.OutOrStdout(), cmd.OutOrStderr()) }, } cmd.PersistentFlags().BoolVar(&overwrite, "overwrite", false, overrideHelpStr) cmd.PersistentFlags().StringVarP(&manifestsPath, "manifests", "d", "", util.ManifestsFlagHelpStr)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
// Print all the messages to stdout in the specified format output, err := formatting.Print(outputMessages, msgOutputFormat, colorize) if err != nil { return err } fmt.Fprintln(cmd.OutOrStdout(), output) // An extra message on success if len(outputMessages) == 0 { if parseErrors == 0 { if len(readers) > 0 { var files []string for _, r := range readers {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
if reset { q += "&reset" } resp, err := setupZtunnelLogs(kubeClient, q, podName, podNamespace, common.proxyAdminPort) if err == nil { _, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v\n", podName, podNamespace, resp) } else { errs = multierror.Append(fmt.Errorf("%v.%v: %v", podName, podNamespace, err)) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
if err != nil { return err } pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return err } writer := cmd.OutOrStdout() podLabels := klabels.Set(pod.ObjectMeta.Labels) annotations := klabels.Set(pod.ObjectMeta.Annotations) opts.Revision = GetRevisionFromPodAnnotation(annotations) printPod(writer, pod, opts.Revision)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
// don't overwrite the previous error if err == nil { err = errClose } } }() } var writer io.Writer if outFilename == "" { writer = c.OutOrStdout() } else { var out *os.File if out, err = os.Create(outFilename); err != nil { return err } writer = out defer func() { if errClose := out.Close(); errClose != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
message += "\n To get started, check out https://istio.io/latest/docs/setup/getting-started/." _, _ = fmt.Fprintln(cmd.ErrOrStderr(), color.New(color.FgGreen).Sprint("✔")+message) } else { _, _ = fmt.Fprintln(cmd.OutOrStdout(), output) } for _, m := range msgs { if m.Type.Level().IsWorseThanOrEqualTo(diag.Warning) { e := fmt.Sprintf(`Issues found when checking the cluster. Istio may not be safe to install or upgrade.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0)