Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for Command (0.23 sec)

  1. operator/cmd/mesh/root.go

    	DryRun bool
    }
    
    func addFlags(cmd *cobra.Command, rootArgs *RootArgs) {
    	cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "",
    		false, "Console/log output only, make no changes.")
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    func GetRootCmd(ctx cli.Context, args []string) *cobra.Command {
    	rootCmd := &cobra.Command{
    		Use:          "mesh",
    		Short:        "Command line Istio install utility.",
    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)
  2. operator/cmd/mesh/profile.go

    import (
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ProfileCmd is a group of commands related to profile listing, dumping and diffing.
    func ProfileCmd(_ cli.Context) *cobra.Command {
    	pc := &cobra.Command{
    		Use:   "profile",
    		Short: "Commands related to Istio configuration profiles",
    		Long:  "The profile command lists, dumps or diffs Istio configuration profiles.",
    		Example: "istioctl profile list\n" +
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. cmd/main.go

    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. istioctl/pkg/config/config.go

    }
    
    // Cmd represents the config subcommand command
    func Cmd() *cobra.Command {
    	configCmd := &cobra.Command{
    		Use:   "config SUBCOMMAND",
    		Short: "Configure istioctl defaults",
    		Args:  cobra.NoArgs,
    		Example: `  # list configuration parameters
      istioctl experimental config list`,
    	}
    	configCmd.AddCommand(listCommand())
    	return configCmd
    }
    
    func listCommand() *cobra.Command {
    	listCmd := &cobra.Command{
    		Use:   "list",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-remove.go

    }
    
    func operatorRemoveCmd(ctx cli.Context, rootArgs *RootArgs, orArgs *operatorRemoveArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "remove",
    		Short: "Removes the Istio operator controller from the cluster.",
    		Long:  "The remove subcommand removes the Istio operator controller from the cluster.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. misc/ios/detect.go

    			files = append(files, string(line))
    		}
    	}
    	return files
    }
    
    func parseMobileProvision(fname string) *exec.Cmd {
    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    func plistExtract(fname string, path string) ([]byte, error) {
    	out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput()
    	if err != nil {
    		return nil, err
    	}
    	return bytes.TrimSpace(out), nil
    }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. operator/cmd/mesh/operator.go

    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // OperatorCmd is a group of commands related to installation and management of the operator controller.
    func OperatorCmd(ctx cli.Context) *cobra.Command {
    	oc := &cobra.Command{
    		Use:   "operator",
    		Short: "Commands related to Istio operator controller.",
    		Long:  "The operator command installs, dumps, removes and shows the status of the operator controller.",
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. istioctl/cmd/root_test.go

    	)
    	parent := &cobra.Command{Use: "parent"}
    	_ = parent.PersistentFlags().String(parentFlag0, "", parentFlag0)
    	_ = parent.PersistentFlags().String(parentFlag1, "", parentFlag1)
    	_ = parent.PersistentFlags().String(parentFlag2, "", parentFlag2)
    	var out bytes.Buffer
    	parent.SetOut(&out)
    	parent.SetErr(&out)
    
    	child := &cobra.Command{
    		Use: "child",
    		Run: func(c *cobra.Command, args []string) {},
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  9. istioctl/pkg/clioptions/control_plane.go

    	// Revision is the istio.io/rev control plane revision
    	Revision string
    }
    
    // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
    // (Currently just --revision)
    func (o *ControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVarP(&o.Revision, "revision", "r", "",
    		"Control plane revision")
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 01 05:47:27 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/admin.go

    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	adminCmd := &cobra.Command{
    		Use:   "admin",
    		Short: "Manage control plane (istiod) configuration",
    		Long:  "A group of commands used to manage istiod configuration",
    		Example: `  # Retrieve information about istiod configuration.
      istioctl admin log`,
    		Aliases: []string{"istiod"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top