Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 193 for commandline (0.31 sec)

  1. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	r := &dto.LabelPair{}
    	r.Name = lp.Name
    	r.Value = lp.Value
    	return r
    }
    
    func main() {
    	// Register the commandline flags passed to the tool.
    	registerFlags(pflag.CommandLine)
    	pflag.CommandLine.AddGoFlagSet(goflag.CommandLine)
    	pflag.Parse()
    
    	// Register the metrics we defined above with prometheus.
    	customMetricRegistry.MustRegister(etcdVersion)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle

    tasks.register("myInjectedArchiveOperationsTask", MyArchiveOperationsTask) {}
    // end::archive-op-inject[]
    
    // tag::exec-op[]
    tasks.register('runCommand') {
        doLast {
            exec { // short for project.exec
                commandLine 'ls', '-la'
            }
        }
    }
    // end::exec-op[]
    
    // tag::exec-op-inject[]
    abstract class MyExecOperationsTask extends DefaultTask {
        private ExecOperations execOperations
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KillProcessAvailability.groovy

                //On some windowses, taskkill does not seem to work when triggered from java
                //On our CIs this works fine
                def e = TestFiles.execHandleFactory().newExec()
                        .commandLine("taskkill.exe", "/?")
                        .redirectErrorStream()
                        .workingDir(new File(".").absoluteFile) //does not matter
                        .build()
                e.start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionProcessor.java

    import java.util.Properties;
    
    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
     * commandline
     */
    public interface ModelVersionProcessor {
    
        /**
         * @param property the property to check
         * @return <code>true</code> if this is a valid property for this processor
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. build-logic/lifecycle/src/main/kotlin/PrintStackTracesOnTimeoutBuildService.kt

            val projectDirectory: DirectoryProperty
        }
    
        private
        val timer: Timer = Timer(true).apply {
            schedule(
                timerTask {
                    execOperations.exec {
                        commandLine(
                            "${System.getProperty("java.home")}/bin/java",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 07:59:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/DaemonExecHandleBuilder.java

    import java.util.List;
    
    public class DaemonExecHandleBuilder {
        public ExecHandle build(List<String> args, File workingDir, DaemonOutputConsumer outputConsumer, InputStream inputStream, ExecHandleBuilder builder) {
            builder.commandLine(args);
            builder.setWorkingDir(workingDir);
            builder.setStandardInput(inputStream);
            builder.redirectErrorStream();
            builder.setTimeout(30000);
            builder.setDaemon(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. operator/cmd/operator/root.go

    		Args:  cobra.ExactArgs(0),
    		PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
    			return nil
    		},
    	}
    	rootCmd.SetArgs(args)
    	rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
    
    	rootCmd.AddCommand(serverCmd())
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio Operator",
    		Section: "operator CLI",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.execution.commandline
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.executer.ExecutionFailure
    import org.gradle.internal.jvm.Jvm
    import org.gradle.internal.os.OperatingSystem
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonSystemPropertiesIntegrationTest.groovy

        }
    }
            """
    
            expect:
            executer.withBuildJvmOpts("-Dfoo.bar=baz").withTasks("verify").run()
        }
    
    
        def "forks new daemon when file encoding set to different value via commandline"() {
            setup:
            buildScript """
                task verify {
                    doFirst {
                        println "verified = " + java.nio.charset.Charset.defaultCharset().name()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/CommandLineActionCreator.java

         * @return {@code null} if this creator does not know how to create an action from the given command-line args
         */
        @Nullable
        Action<? super ExecutionListener> createAction(CommandLineParser parser, ParsedCommandLine commandLine);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top