Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Command (0.16 sec)

  1. 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)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    	return endpointConfigCmd
    }
    
    // edsConfigCmd is a command to dump EDS output. This differs from "endpoints" which pulls from /clusters.
    // Notably, this shows metadata and locality, while clusters shows outlier health status
    func edsConfigCmd(ctx cli.Context) *cobra.Command {
    	var podName, podNamespace string
    
    	endpointConfigCmd := &cobra.Command{
    		Use: "eds [<type>/]<name>[.<namespace>]",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. 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)
  4. istioctl/pkg/authz/authz.go

    )
    
    var configDumpFile string
    
    func checkCmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check [<type>/]<name>[.<namespace>]",
    		Short: "Check AuthorizationPolicy applied in the pod.",
    		Long: `Check prints the AuthorizationPolicy applied to a pod by directly checking
    the Envoy configuration of the pod. The command is especially useful for inspecting
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-diff.go

    	manifestsPath string
    }
    
    func addProfileDiffFlags(cmd *cobra.Command, args *profileDiffArgs) {
    	cmd.PersistentFlags().StringVarP(&args.manifestsPath, "charts", "", "", ChartsDeprecatedStr)
    	cmd.PersistentFlags().StringVarP(&args.manifestsPath, "manifests", "d", "", ManifestsFlagHelpStr)
    }
    
    func profileDiffCmd(pfArgs *profileDiffArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "diff <profile|file1.yaml> <profile|file2.yaml>",
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. operator/cmd/mesh/operator-dump.go

    }
    
    func operatorDumpCmd(rootArgs *RootArgs, odArgs *operatorDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump",
    		Short: "Dumps the Istio operator controller manifest.",
    		Long:  "The dump subcommand dumps the Istio operator controller manifest.",
    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    func adbCopyGoroot() error {
    	goTool, err := goTool()
    	if err != nil {
    		return err
    	}
    	cmd := exec.Command(goTool, "version")
    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	goVersion := string(out)
    
    	// Also known by cmd/dist. The bootstrap command deletes the file.
    	statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    		}
    		return &gw, nil
    	}
    	waypointGenerateCmd := &cobra.Command{
    		Use:   "generate",
    		Short: "Generate a waypoint configuration",
    		Long:  "Generate a waypoint configuration as YAML",
    		Example: `  # Generate a waypoint as yaml
      istioctl x waypoint generate --namespace default`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			gw, err := makeGateway(false)
    			if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag.go

    	Tag        string   `json:"tag"`
    	Revision   string   `json:"revision"`
    	Namespaces []string `json:"namespaces"`
    }
    
    func TagCommand(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "tag",
    		Short: "Command group used to interact with revision tags",
    		Long: `Command group used to interact with revision tags. Revision tags allow for the creation of mutable aliases
    referring to control plane revisions for sidecar injection.
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top