Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SetArgs (0.24 sec)

  1. cmd/endpoint-ellipses.go

    		}
    		s := endpointSet{
    			endpoints:  args,
    			setIndexes: setIndexes,
    		}
    		setArgs = s.Get()
    	} else {
    		s, err := parseEndpointSet(setDriveCount, args...)
    		if err != nil {
    			return nil, err
    		}
    		setArgs = s.Get()
    	}
    
    	uniqueArgs := set.NewStringSet()
    	for _, sargs := range setArgs {
    		for _, arg := range sargs {
    			if uniqueArgs.Contains(arg) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    func verifyTestcaseOutput(t *testing.T, cmd *cobra.Command, c testcase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    	if c.namespace != "" {
    		namespace = c.namespace
    	}
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    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)
  3. istioctl/cmd/root.go

    		DisableAutoGenTag: true,
    		PersistentPreRunE: ConfigureLogging,
    		Long: `Istio configuration command line utility for service operators to
    debug and diagnose their Istio mesh.
    `,
    	}
    
    	rootCmd.SetArgs(args)
    
    	flags := rootCmd.PersistentFlags()
    	rootOptions := cli.AddRootFlags(flags)
    
    	ctx := cli.NewCLIContext(rootOptions)
    
    	_ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    		}
    	}
    
    	if c.configDumps == nil {
    		c.configDumps = map[string][]byte{}
    	}
    
    	var out bytes.Buffer
    	rootCmd := Cmd(ctx)
    	rootCmd.SetArgs(c.args)
    
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	if c.namespace != "" {
    		describeNamespace = c.namespace
    	}
    
    	fErr := rootCmd.Execute()
    	output := out.String()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top