Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for newClient (0.41 sec)

  1. common/config/.golangci.yml

        - linters:
            - staticcheck
          text: 'SA1019: grpc.Dial is deprecated: use NewClient instead'
        - linters:
            - staticcheck
          text: 'SA1019: grpc.DialContext is deprecated: use NewClient instead'
        - linters:
            - staticcheck
          text: "SA1019: grpc.WithBlock is deprecated"
        - linters:
            - staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. platforms/software/resources-sftp/src/test/groovy/org/gradle/internal/resource/transport/sftp/SftpClientFactoryTest.groovy

            when:
            LockableSftpClient newClient = sftpClientFactory.createSftpClient(uri, credentials)
    
            then:
            sftpClientCreator.createNewClient(new SftpHost(uri, credentials)) >> mockNewSftpClient
            sftpClientFactory.idleClients.size() == 0
            sftpClientFactory.allClients.size() == 2
            initialClient != newClient
        }
    
        def "Can acquire, release and reuse single client"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. pkg/kubelet/winstats/winstats_test.go

    	assert.NoError(t, err)
    	assert.NotZero(t, fsInfo.Capacity)
    	assert.NotZero(t, fsInfo.Available)
    }
    
    func getClient(t *testing.T) Client {
    	f := fakeWinNodeStatsClient{}
    	c, err := newClient(f)
    	assert.NoError(t, err)
    	assert.NotNil(t, c)
    	return c
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 12:08:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. internal/event/target/kafka_scram_client_contrib.go

    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    	x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID)
    	if err != nil {
    		return err
    	}
    	x.ClientConversation = x.Client.NewConversation()
    	return nil
    }
    
    // Step takes a string provided from a server (or just an empty string for the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.2K bytes
    - Viewed (1)
  5. internal/logger/target/kafka/kafka_scram_client_contrib.go

    // SASLprep fails, the method returns an error.
    func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
    	x.Client, err = x.HashGeneratorFcn.NewClient(userName, password, authzID)
    	if err != nil {
    		return err
    	}
    	x.ClientConversation = x.Client.NewConversation()
    	return nil
    }
    
    // Step takes a string provided from a server (or just an empty string for the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3.go

    // which implements the Verifier interface. The caching characteristics of the
    // OpenAPI V3 specs are determined by the passed oapiClient. For memory caching, the
    // client should be wrapped beforehand as: cached.NewClient(oapiClient). The disk
    // caching is determined by the discovery client the oapiClient is created from.
    func NewQueryParamVerifierV3(dynamicClient dynamic.Interface, oapiClient openapi.Client, queryParam VerifiableQueryParam) Verifier {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. src/net/rpc/server.go

    typically it will create a network listener and call [Accept] or, for an HTTP
    listener, [HandleHTTP] and [http.Serve].
    
    A client wishing to use the service establishes a connection and then invokes
    [NewClient] on the connection.  The convenience function [Dial] ([DialHTTP]) performs
    both steps for a raw network connection (an HTTP connection).  The resulting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/JSSETest.kt

      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      var client = clientTestRule.newClient()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Default after JDK 14, but we are avoiding tests that assume special setup.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      var client = clientTestRule.newClient()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Default after JDK 14, but we are avoiding tests that assume special setup.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. pkg/kube/multicluster/secretcontroller.go

    		if err != nil {
    			log.Errorf("Could not get istiod incluster configuration: %v", err)
    			return nil
    		}
    		log.Info("Successfully retrieved incluster config.")
    
    		localKubeClient, err := kube.NewClient(kube.NewClientConfigForRestConfig(config), clusterID)
    		if err != nil {
    			log.Errorf("Could not create a client to access local cluster API server: %v", err)
    			return nil
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top