Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 617 for connectat (0.1 sec)

  1. platforms/documentation/docs/src/snippets/toolingApi/idea/groovy/src/main/java/org/gradle/sample/Main.java

            // Configure the connector and create the connection
            GradleConnector connector = GradleConnector.newConnector();
    
            if (args.length > 0) {
                connector.useInstallation(new File(args[0]));
                if (args.length > 1) {
                    connector.useGradleUserHomeDir(new File(args[1]));
                }
            }
    
            connector.forProjectDirectory(new File("."));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy

            otherVersion.binDistribution.makeReadable()
            executer.withTasks('wrapper').run()
    
            when:
            toolingApi.withConnector { connector ->
                connector.useBuildDistribution()
                connector.searchUpwards(true)
                connector.forProjectDirectory(projectDir.file('child'))
            }
            toolingApi.withConnection { connection -> connection.newBuild().forTasks('check').run() }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiShutdownIntegrationTest.groovy

                        GradleConnector connector = GradleConnector.newConnector().useGradleVersion("6.8-20201118175938+0000"); // can be changed to latest release after 6.8 is available
                        ProjectConnection connection = connector.forProjectDirectory(projectLocation).connect();
                        connection.newBuild().forTasks("help").run(new ResultHandler<Void>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy

        }
    
        static void distributionProgressMessage(connector, String message) {
            connector.distribution = new ConfigurableDistribution(delegate: connector.distribution, operation: { it.description = message })
        }
    
        static void distributionOperation(connector, Closure operation) {
            connector.distribution = new ConfigurableDistribution(delegate: connector.distribution, operation: operation)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy

        def "calling disconnect on uninitialized connection does not trigger wrapper download"() {
            when:
            def connector = toolingApi.connector()
            connector.useDistribution(URI.create("http://localhost:${server.port}/custom-dist.zip"))
            connector.connect()
            connector.disconnect()
    
            then:
            !toolingApi.gradleUserHomeDir.file("wrapper/dists/custom-dist").exists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. pilot/pkg/autoregistration/controller.go

    	if entryName == "" {
    		return nil
    	}
    
    	proxy.SetWorkloadEntry(entryName, autoCreate)
    	c.adsConnections.Connect(conn)
    
    	err := c.onWorkloadConnect(entryName, proxy, conn.ConnectedAt(), autoCreate)
    	if err != nil {
    		log.Error(err)
    	}
    	return err
    }
    
    // ensureProxyCanControlEntry ensures the connected proxy's identity matches that of the WorkloadEntry it is associating with.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/net/main_windows_test.go

    	origListen      = listenFunc
    	origAccept      = poll.AcceptFunc
    )
    
    func installTestHooks() {
    	wsaSocketFunc = sw.WSASocket
    	poll.CloseFunc = sw.Closesocket
    	connectFunc = sw.Connect
    	poll.ConnectExFunc = sw.ConnectEx
    	listenFunc = sw.Listen
    	poll.AcceptFunc = sw.AcceptEx
    }
    
    func uninstallTestHooks() {
    	wsaSocketFunc = origWSASocket
    	poll.CloseFunc = origClosesocket
    	connectFunc = origConnect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:36:30 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. src/database/sql/driver/driver.go

    // access to context and to avoid repeated parsing of driver
    // configuration.
    //
    // If a Connector implements [io.Closer], the [database/sql.DB.Close]
    // method will call the Close method and return error (if any).
    type Connector interface {
    	// Connect returns a connection to the database.
    	// Connect may return a cached connection (one previously
    	// closed), but doing so is unnecessary; the sql package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/debug.go

    	adsClients.Total = len(connections)
    
    	for _, c := range connections {
    		adsClient := AdsClient{
    			ConnectionID: c.ID(),
    			ConnectedAt:  c.ConnectedAt(),
    			PeerAddress:  c.Peer(),
    		}
    		adsClients.Connected = append(adsClients.Connected, adsClient)
    	}
    	writeJSON(w, adsClients, req)
    }
    
    // adsz implements a status and debug interface for ADS.
    // It is mapped to /debug/adsz
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/workload.go

    		if w.forwarder == nil {
    			// We only want to do reconnects here, if we never connected let the main flow handle it.
    			return
    		}
    		// Only reconnect if the pod is ready
    		if !isPodReady(w.pod) {
    			return
    		}
    		con := !w.isConnected()
    		if con {
    			log.Warnf("pod: %s/%s port forward terminated", w.pod.Namespace, w.pod.Name)
    			err := w.connect(w.pod)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 19:46:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top