- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for OutOrStdout (0.07 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/proxystatus/proxystatus.go
if err != nil { return err } multiXdsOpts.MessageWriter = c.OutOrStdout() if len(args) > 0 { podName, ns, err := ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace()) if err != nil { return err } if ambient.IsZtunnelPod(kubeClient, podName, ns) { _, _ = fmt.Fprintf(c.OutOrStdout(), "Sync diff is not available for ztunnel pod %s.%s\n", podName, ns) return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K 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/dashboard/dashboard.go
if err != nil { return err } return portForward(name, namespace, "Prometheus", "http://%s", bindAddress, promPort, client, cmd.OutOrStdout(), browser) }, } return cmd } // port-forward to Istio System Grafana; open browser func grafanaDashCmd(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions cmd := &cobra.Command{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K 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/metrics/metrics.go
} printHeader(c.OutOrStdout()) workloads := args for _, workload := range workloads { sm, err := metrics(promAPI, workload, metricsDuration) if err != nil { return fmt.Errorf("could not build metrics for workload '%s': %v", workload, err) } printMetrics(c.OutOrStdout(), sm) } return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K 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)