- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for SetArgs (0.13 sec)
-
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(
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 30.8K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ IstioNamespace: "istio-system", }) validateCmd := NewValidateCommand(ctx) validateCmd.SilenceUsage = true validateCmd.SetArgs(c.args) // capture output to keep test logs clean var out bytes.Buffer validateCmd.SetOut(&out) validateCmd.SetErr(&out) err := validateCmd.Execute() if (err != nil) != c.wantError {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 02 16:18:14 UTC 2024 - 21.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); assertThat(ex.getMessageCode(), is("ECL0001")); assertThat(ex.getArgs().length, is(1)); assertThat(ex.getArgs()[0], is((Object) "hoge")); System.out.println(ex.getMessage()); } /** * @throws Exception */ @Test public void testGetCause() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClRuntimeException.java
*/ public String getMessageCode() { return messageCode; } /** * Returns arguments of a message * * @return array of arguments */ public Object[] getArgs() { return args; } @Override public String getMessage() { return message; } /** * Returns a simple message without a message code. *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java
CliRequest(String[] args, ClassWorld classWorld) { this.args = args; this.classWorld = classWorld; this.request = new DefaultMavenExecutionRequest(); } public String[] getArgs() { return args; } public CommandLine getCommandLine() { return commandLine; } public ClassWorld getClassWorld() { return classWorld; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java
* * @return メッセージコード */ public String getMessageCode() { return messageCode; } /** * 引数の配列を返します。 * * @return 引数の配列 */ public Object[] getArgs() { return args; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClSQLException.java
* @return メッセージコード */ public String getMessageCode() { return messageCode; } /** * 引数の配列を返します。 * * @return 引数の配列 */ public Object[] getArgs() { return args; } /** * SQLを返します。 * * @return SQL */ public String getSql() { return sql; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
is("C:\\myRootDirectory\\myTopDirectory/pom.xml")); assertThat(request.getCommandLine().getOptionValue('f'), is("C:\\myRootDirectory/my-child")); assertThat(request.getCommandLine().getArgs(), equalTo(new String[] {"prefix:3.0.0:bar", "validate"})); Path p = fs.getPath(request.getUserProperties().getProperty("valTopDirectory"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
CommandLine.Builder commandLineBuilder = new CommandLine.Builder(); // the args are easy, CLI only since maven.config file can only contain options for (String arg : mavenCli.getArgs()) { commandLineBuilder.addArg(arg); } /* Although this looks wrong in terms of order Commons CLI stores the value of options in
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0)