Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Command (0.14 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    }
    
    // runManifestCommand runs the given manifest command. If filenames is set, passes the given filenames as -f flag,
    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestCommand(command string, filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	var args string
    	if command == "install" {
    		args = "install"
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. istioctl/cmd/root.go

    	seenCommands := make(map[*cobra.Command]bool)
    	var commandStack []*cobra.Command
    
    	commandStack = append(commandStack, rootCmd)
    
    	for len(commandStack) > 0 {
    		n := len(commandStack) - 1
    		curCmd := commandStack[n]
    		commandStack = commandStack[:n]
    		seenCommands[curCmd] = true
    		for _, command := range curCmd.Commands() {
    			if !seenCommands[command] {
    				commandStack = append(commandStack, command)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    func TestWorkloadGroupCreate(t *testing.T) {
    	cases := []testcase{
    		{
    			description:       "Invalid command args - missing service name and namespace",
    			args:              strings.Split("group create", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload name\n",
    		},
    		{
    			description:       "Invalid command args - missing service name",
    			args:              strings.Split("group create -n bar", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. istioctl/pkg/dashboard/dashboard.go

    }
    
    func Dashboard(cliContext cli.Context) *cobra.Command {
    	dashboardCmd := &cobra.Command{
    		Use:     "dashboard",
    		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)
    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)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	configCmd.AddCommand(allCmd(ctx))
    	configCmd.AddCommand(connectionsCmd(ctx))
    
    	return configCmd
    }
    
    type Command struct {
    	Name string
    }
    
    func certificatesConfigCmd(ctx cli.Context) *cobra.Command {
    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:   "certificate",
    		Short: "Retrieves certificate for the specified Ztunnel pod.",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    }
    
    func groupCommand(ctx cli.Context) *cobra.Command {
    	groupCmd := &cobra.Command{
    		Use:     "group",
    		Short:   "Commands dealing with WorkloadGroup resources",
    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foobar",
    	}
    	groupCmd.AddCommand(createCommand(ctx))
    	return groupCmd
    }
    
    func entryCommand(ctx cli.Context) *cobra.Command {
    	entryCmd := &cobra.Command{
    		Use:     "entry",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    		o := ctrlz.DefaultOptions()
    		o.EnablePprof = true
    		return o
    	}()
    )
    
    var rootCmd = &cobra.Command{
    	Use:          "install-cni",
    	Short:        "Install and configure Istio CNI plugin on a node, detect and repair pod which is broken by race condition.",
    	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)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. istioctl/pkg/multixds/gather.go

    	MessageWriter io.Writer
    
    	// XdsViaAgents accesses Istiod via the tap service of each agent.
    	// This is only used in `proxy-status` command.
    	XdsViaAgents bool
    
    	// XdsViaAgentsLimit is the maximum number of pods being visited by istioctl,
    	// when `XdsViaAgents` is true. This is only used in `proxy-status` command.
    	// 0 means that there is no limit.
    	XdsViaAgentsLimit int
    }
    
    var DefaultOptions = Options{
    	MessageWriter:     os.Stdout,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var skipControlPlane bool
    	outputThreshold := formatting.MessageThreshold{Level: diag.Warning}
    	var msgOutputFormat string
    	var fromCompatibilityVersion string
    	// cmd represents the upgradeCheck command
    	cmd := &cobra.Command{
    		Use:   "precheck",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. cmd/common-main.go

    }
    
    func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
    	// Get "json" flag from command line argument and
    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    	ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet")
    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    	// Fetch address option
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top