Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for OutOrStdout (0.09 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    				if kerrors.IsNotFound(err) {
    					fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v not found\n", namespace, name)
    				} else {
    					mu.Lock()
    					multiErr = multierror.Append(multiErr, err)
    					mu.Unlock()
    				}
    			} else {
    				fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v deleted\n", namespace, name)
    			}
    		}(name)
    	}
    
    	wg.Wait()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. istioctl/pkg/admin/istiodconfig.go

    					Path:   "scopej",
    				},
    				httpClient: &http.Client{},
    			}
    			istiodConfigCmd := chooseClientFlag(ctrlzClient, istiodReset, outputLogLevel, stackTraceLevel, outputFormat)
    			err = istiodConfigCmd.execute(logCmd.OutOrStdout())
    			if err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	opts.AttachControlPlaneFlags(logCmd)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. istioctl/pkg/multicluster/remote_secret.go

    			if err != nil {
    				_, _ = fmt.Fprintf(c.OutOrStderr(), "error: %v\n", err)
    				return err
    			}
    			if warn != nil {
    				_, _ = fmt.Fprintf(c.OutOrStderr(), "warn: %v\n", warn)
    			}
    			_, _ = fmt.Fprint(c.OutOrStdout(), out)
    			return nil
    		},
    	}
    	opts.addFlags(c.PersistentFlags())
    	return c
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top