Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Cmd (0.39 sec)

  1. istioctl/pkg/tag/tag.go

    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(tagSetCommand(ctx))
    	cmd.AddCommand(tagGenerateCommand(ctx))
    	cmd.AddCommand(tagListCommand(ctx))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint.go

      # List all waypoints in a specific namespace
      istioctl x waypoint list --namespace default`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. istioctl/pkg/proxystatus/proxystatus_test.go

    			}
    			verifyExecTestOutput(t, XdsStatusCommand(ctx), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-diff.go

    	renameResources string
    }
    
    func addManifestDiffFlags(cmd *cobra.Command, diffArgs *manifestDiffArgs) {
    	cmd.PersistentFlags().BoolVarP(&diffArgs.compareDir, "directory", "r",
    		false, "Compare directory.")
    	cmd.PersistentFlags().BoolVarP(&diffArgs.verbose, "verbose", "v",
    		false, "Verbose output.")
    	cmd.PersistentFlags().StringVar(&diffArgs.selectResources, "select", "::",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-dump.go

    kind: IstioOperator
    `
    )
    
    func addProfileDumpFlags(cmd *cobra.Command, args *profileDumpArgs) {
    	cmd.PersistentFlags().StringSliceVarP(&args.inFilenames, "filename", "f", nil, filenameFlagHelpStr)
    	cmd.PersistentFlags().StringVarP(&args.configPath, "config-path", "p", "",
    		"The path the root of the configuration subtree to dump e.g. components.pilot. By default, dump whole tree")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-remove.go

    	purge bool
    }
    
    func addOperatorRemoveFlags(cmd *cobra.Command, oiArgs *operatorRemoveArgs) {
    	cmd.PersistentFlags().BoolVarP(&oiArgs.skipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr)
    	cmd.PersistentFlags().BoolVar(&oiArgs.force, "force", false, ForceFlagHelpStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. istioctl/pkg/checkinject/checkinject.go

    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) == 0 && labelPairs == "" || len(args) > 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("check-inject requires only [<resource-type>/]<resource-name>[.<namespace>], or specify labels flag")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-list.go

    		Args:  cobra.ExactArgs(0),
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return profileList(cmd, plArgs)
    		},
    	}
    }
    
    // profileList list all the builtin profiles.
    func profileList(cmd *cobra.Command, plArgs *profileListArgs) error {
    	profiles, err := helm.ListProfiles(plArgs.manifestsPath)
    	if err != nil {
    		return err
    	}
    	if len(profiles) == 0 {
    		cmd.Println("No profiles available.")
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-init.go

    func addOperatorInitFlags(cmd *cobra.Command, args *operatorInitArgs) {
    	hub, tag := buildversion.DockerInfo.Hub, buildversion.DockerInfo.Tag
    
    	cmd.PersistentFlags().StringVarP(&args.inFilename, "filename", "f", "", filenameFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.common.hub, "hub", hub, HubFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.common.tag, "tag", tag, TagFlagHelpStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. istioctl/pkg/dashboard/dashboard.go

    		Aliases: []string{"dash", "d"},
    		Short:   "Access to Istio web UIs",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown dashboard %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top