Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for argc (0.17 sec)

  1. istioctl/cmd/root.go

    `,
    	}
    
    	rootCmd.SetArgs(args)
    
    	flags := rootCmd.PersistentFlags()
    	rootOptions := cli.AddRootFlags(flags)
    
    	ctx := cli.NewCLIContext(rootOptions)
    
    	_ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func(
    		cmd *cobra.Command, args []string, toComplete string,
    	) ([]string, cobra.ShellCompDirective) {
    		return completion.ValidNamespaceArgs(cmd, ctx, args, toComplete)
    	})
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. operator/cmd/mesh/root.go

    func GetRootCmd(ctx cli.Context, args []string) *cobra.Command {
    	rootCmd := &cobra.Command{
    		Use:          "mesh",
    		Short:        "Command line Istio install utility.",
    		SilenceUsage: true,
    		Long: "This command uses the Istio operator code to generate templates, query configurations and perform " +
    			"utility operations.",
    	}
    	rootCmd.SetArgs(args)
    	rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    	SilenceUsage: true,
    	PreRunE: func(c *cobra.Command, args []string) error {
    		if err := log.Configure(logOptions); err != nil {
    			log.Errorf("Failed to configure log %v", err)
    		}
    		return nil
    	},
    	RunE: func(c *cobra.Command, args []string) (err error) {
    		cmd.PrintFlags(c.Flags())
    		ctx := c.Context()
    
    		// Start controlz server
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top