Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for AddCommand (0.2 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl ztunnel-config certificates`,
    		Aliases: []string{"zc"},
    	}
    
    	configCmd.AddCommand(logCmd(ctx))
    	configCmd.AddCommand(workloadConfigCmd(ctx))
    	configCmd.AddCommand(certificatesConfigCmd(ctx))
    	configCmd.AddCommand(servicesCmd(ctx))
    	configCmd.AddCommand(policiesCmd(ctx))
    	configCmd.AddCommand(allCmd(ctx))
    	configCmd.AddCommand(connectionsCmd(ctx))
    
    	return configCmd
    }
    
    type Command struct {
    	Name string
    }
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/admin.go

    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    	return adminCmd
    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)
  3. istioctl/pkg/workload/workload.go

    		Example: `  # workload group yaml generation
      istioctl x workload group create
    
      # workload entry configuration generation
      istioctl x workload entry configure`,
    	}
    	workloadCmd.AddCommand(groupCommand(ctx))
    	workloadCmd.AddCommand(entryCommand(ctx))
    	return workloadCmd
    }
    
    func groupCommand(ctx cli.Context) *cobra.Command {
    	groupCmd := &cobra.Command{
    		Use:     "group",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    	viper.AllowEmptyEnv(true)
    	viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_"))
    	logOptions.AttachCobraFlags(rootCmd)
    	ctrlzOptions.AttachCobraFlags(rootCmd)
    
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio CNI Plugin Installer",
    		Section: "install-cni CLI",
    		Manual:  "Istio CNI Plugin Installer",
    	}))
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/config/config.go

    		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",
    		Short: "List istio configurable defaults",
    		Args:  cobra.ExactArgs(0),
    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)
  6. istioctl/pkg/authz/authz.go

    func AuthZ(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "authz",
    		Short: "Inspect Istio AuthorizationPolicy",
    	}
    
    	cmd.AddCommand(checkCmd(ctx))
    	cmd.Long += "\n\n" + util.ExperimentalMsg
    	return cmd
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. istioctl/pkg/injector/injector-list.go

    				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(injectorListCommand(cliContext))
    	return cmd
    }
    
    func injectorListCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:     "list",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    		RunE: func(cmd *cobra.Command, args []string) error {
    			describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace())
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	describeCmd.AddCommand(podDescribeCmd(ctx))
    	describeCmd.AddCommand(svcDescribeCmd(ctx))
    	return describeCmd
    }
    
    // Append ".svc.cluster.local" if it isn't already present
    func extendFQDN(host string) string {
    	if host[0] == '*' {
    		return host
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top