Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getOptions (0.16 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
            public Collection<Option> getOptions() {
                List<Option> optList = new ArrayList<>(options.getOptions());
                optList.sort(new OptionComparator());
                return optList;
            }
        }
    
        String getOptionsAsHtml() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{})
    			if err != nil {
    				return err
    			}
    
    			writer := cmd.OutOrStdout()
    
    			podLabels := klabels.Set(pod.ObjectMeta.Labels)
    			annotations := klabels.Set(pod.ObjectMeta.Annotations)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                if (field.getOptions().isPresent()) {
                    // list options
                    ListPromptBuilder listPromptBuilder =
                            promptBuilder.createListPrompt().name(fieldKey).message(fieldDescription);
                    for (DispatcherMeta.Field option : field.getOptions().get()) {
                        listPromptBuilder
                                .newItem()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

                CommandLine.Builder commandLineBuilder = new CommandLine.Builder();
                commandLineBuilder.setDeprecatedHandler(o -> {});
                for (Option option : options.commandLine.getOptions()) {
                    if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) {
                        List<String> values = option.getValuesList();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                options.getOptions().forEach(commandLine::hasOption);
                return commandLine;
            }
    
            protected void addDeprecatedOption(Option option) {
                usedDeprecatedOptions.add(option);
            }
    
            public org.apache.commons.cli.Options getOptions() {
                return options;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    	// This has no effect for users, unless they have this service.
    	svc, err := cli.Kube().CoreV1().Services("istio-system").Get(context.Background(), "zipkin", metav1.GetOptions{})
    	if err != nil && !kerrors.IsNotFound(err) {
    		return err
    	}
    	if err != nil {
    		// not found
    		return nil
    	}
    	// found
    	res := ObjectToInstance(svc)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                CommandLine.Builder commandLineBuilder = new CommandLine.Builder();
                commandLineBuilder.setDeprecatedHandler(o -> {});
                for (Option option : options.commandLine.getOptions()) {
                    if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) {
                        List<String> values = option.getValuesList();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            for (Option opt : mavenCli.getOptions()) {
                if (String.valueOf(CLIManager.SET_USER_PROPERTY).equals(opt.getOpt())) {
                    setPropertyOptions.add(opt);
                } else {
                    commandLineBuilder.addOption(opt);
                }
            }
            for (Option opt : mavenConfig.getOptions()) {
                commandLineBuilder.addOption(opt);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .build();
    
            CommandLine commandLine = parser.parse(options, cleanArgs);
            // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options
            options.getOptions().forEach(commandLine::hasOption);
            return commandLine;
        }
    
        public Set<Option> getUsedDeprecatedOptions() {
            return usedDeprecatedOptions;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    				if selectedNamespace != "" {
    					client, err := ctx.CLIClient()
    					if err != nil {
    						return err
    					}
    					_, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{})
    					if errors.IsNotFound(err) {
    						fmt.Fprintf(cmd.ErrOrStderr(), "namespace %q not found\n", ctx.Namespace())
    						return nil
    					} else if err != nil {
    						return err
    					}
    				}
    			}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top