Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for OutOrStderr (0.28 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    			if err != nil {
    				return err
    			}
    			out, warn, err := CreateRemoteSecret(client, opts)
    			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)
  2. 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)
  3. istioctl/pkg/version/version.go

    			errMses = append(errMses, "Istio is not present in the cluster")
    		}
    
    		if err != nil {
    			errMses = append(errMses, fmt.Sprintf(": %v", err))
    		}
    
    		if len(errMses) > 0 {
    			fmt.Fprintln((*pc).OutOrStderr(), strings.Join(errMses, ""))
    		}
    
    		return remInfo, err
    	}
    }
    
    func getProxyInfoWrapper(ctx cli.Context, opts *clioptions.ControlPlaneOptions) func() (*[]istioVersion.ProxyInfo, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    		RunE: func(c *cobra.Command, _ []string) error {
    			istioNamespace := ctx.IstioNamespace()
    			defaultNamespace := ctx.NamespaceOrDefault("")
    			return validateFiles(&istioNamespace, defaultNamespace, filenames, c.OutOrStderr())
    		},
    	}
    
    	flags := c.PersistentFlags()
    	flags.StringSliceVarP(&filenames, "filename", "f", nil, "Inputs of files to validate")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    				}
    				if clusterName != "" {
    					clusterID = clusterName
    				}
    			}
    
    			if err = createConfig(kubeClient, wg, ctx.IstioNamespace(), clusterID, ingressIP, internalIP, externalIP, outputDir, cmd.OutOrStderr()); err != nil {
    				return err
    			}
    			fmt.Printf("Configuration generation into directory %s was successful\n", outputDir)
    			return nil
    		},
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
Back to top