Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addFlags0 (3.16 sec)

  1. src/test/java/jcifs/tests/OplockTests.java

                    SmbComNTCreateAndX req = new SmbComNTCreateAndX(sess.getConfig(), uncPath, flags, access, sharing, attrs, options, null);
                    req.addFlags0(0x2); // REQUEST_OPLOCK
                    req.setResponse(resp);
                    try {
                        resp = tree.send(req);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    	o := RemoteSecretOptions{}
    	flags := pflag.NewFlagSet("test", pflag.ContinueOnError)
    	o.addFlags(flags)
    	g.Expect(flags.Parse([]string{
    		"--name",
    		"valid-name",
    	})).Should(Succeed())
    	g.Expect(o.prepare(ctx)).Should(Succeed())
    
    	o = RemoteSecretOptions{}
    	flags = pflag.NewFlagSet("test", pflag.ContinueOnError)
    	o.addFlags(flags)
    	g.Expect(flags.Parse([]string{
    		"--name",
    		"?-invalid-name",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret.go

    				return err
    			}
    			if warn != nil {
    				_, _ = fmt.Fprintf(c.OutOrStderr(), "warn: %v\n", warn)
    			}
    			_, _ = fmt.Fprint(c.OutOrStdout(), out)
    			return nil
    		},
    	}
    	opts.addFlags(c.PersistentFlags())
    	return c
    }
    
    func createRemoteServiceAccountSecret(kubeconfig *api.Config, clusterName, secName string) (*v1.Secret, error) { // nolint:interfacer
    	var data bytes.Buffer
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. istioctl/cmd/root.go

    		"log_rotate_max_size", "log_stacktrace_level", "log_target", "log_caller", "log_output_level",
    	}
    	for _, opt := range hiddenFlags {
    		_ = rootCmd.PersistentFlags().MarkHidden(opt)
    	}
    
    	cmd.AddFlags(rootCmd)
    
    	kubeInjectCmd := kubeinject.InjectCommand(ctx)
    	hideInheritedFlags(kubeInjectCmd, cli.FlagNamespace)
    	rootCmd.AddCommand(kubeInjectCmd)
    
    	experimentalCmd := &cobra.Command{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.23.md

    instead of `add-dir-header`). Fixing this included cleaning up flag handling in component-base/logs: that package no longer adds flags to the global flag sets. Commands which want the klog and `--log-flush-frequency` flags must explicitly call `logs.AddFlags`; the new `cli.Run` does that for commands. That helper function also covers flag normalization and printing of usage and errors in a consistent way (print usage text first if parsing failed, then the error). ([#105076](https://github.com/kubern...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
Back to top