Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 274 for goclient (0.15 sec)

  1. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/GcsResource.java

    public class GcsResource implements ExternalResourceReadResponse {
    
        private final GcsClient gcsClient;
        private final StorageObject gcsObject;
        private final URI uri;
    
        public GcsResource(GcsClient gcsClient, StorageObject gcsObject, URI uri) {
            this.gcsClient = gcsClient;
            this.gcsObject = gcsObject;
            this.uri = uri;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ResourceConnector.java

        private final S3Client s3Client;
    
        public S3ResourceConnector(S3Client s3Client) {
            this.s3Client = s3Client;
        }
    
        @Override
        public List<String> list(ExternalResourceName parent) {
            LOGGER.debug("Listing parent resources: {}", parent);
            return s3Client.listDirectChildren(parent.getUri());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/software/resources-gcs/src/test/groovy/org/gradle/internal/resource/transport/gcp/gcs/GcsResourceConnectorTest.groovy

        def name = new ExternalResourceName(uri)
    
        def "should list resources"() {
            GcsClient gcsClient = Mock()
            when:
            new GcsResourceConnector(gcsClient).list(name)
            then:
            1 * gcsClient.list(uri)
        }
    
        def "should get a resource"() {
            GcsClient gcsClient = Mock {
                1 * getResource(uri) >> new StorageObject()
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/caclient/providers/mock/mockcaclient.go

    )
    
    // CAClient is the mocked CAClient for testing.
    type CAClient struct {
    	SignInvokeCount uint64
    	bundle          *util.KeyCertBundle
    	certLifetime    time.Duration
    	GeneratedCerts  [][]string // Cache the generated certificates for verification purpose.
    	mockTrustAnchor bool
    }
    
    // NewMockCAClient creates an instance of CAClient. errors is used to specify the number of errors
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/resources/esclient.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="searchEngineClient" class="org.codelibs.fess.es.client.SearchEngineClient">
    		<property name="settings">
    			{"http.cors.enabled":"true",
    			 "http.cors.allow-origin":"*",
    			 "discovery.type":"single-node",
    			 <!--
    			 "node.name":"search_engine",
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Mar 23 05:42:27 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        public FileSystemClient fsClient;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("fsClient", FileSystemClient.class);
            fsClient = container.getComponent("fsClient");
        }
    
        public void test_doGet_dir() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. pkg/adsc/delta_test.go

    				return
    			}
    
    			tt.inClient = NewDeltaWithBackoffPolicy(tt.inClient.cfg.Address, tt.inClient.cfg, nil, handlers...)
    			if err := tt.inClient.Run(context.TODO()); err != nil {
    				t.Errorf("ADSC: failed running %v", err)
    				return
    			}
    			assert.EventuallyEqual(t, func() bool {
    				tt.inClient.mutex.Lock()
    				defer tt.inClient.mutex.Unlock()
    				rec := tt.inClient.lastReceived
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Client.java

    import java.util.List;
    
    @SuppressWarnings("deprecation")
    public class S3Client {
        private static final Logger LOGGER = LoggerFactory.getLogger(S3Client.class);
    
        private S3ResourceResolver resourceResolver = new S3ResourceResolver();
        private AmazonS3Client amazonS3Client;
        private final S3ConnectionProperties s3ConnectionProperties;
    
        public S3Client(AmazonS3Client amazonS3Client, S3ConnectionProperties s3ConnectionProperties) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. pkg/kubelet/winstats/winstats_test.go

    func TestWinMachineInfo(t *testing.T) {
    	c := getClient(t)
    
    	machineInfo, err := c.WinMachineInfo()
    	assert.NoError(t, err)
    	assert.Equal(t, machineInfo, &cadvisorapi.MachineInfo{
    		NumCores:       4,
    		MemoryCapacity: 1.6e+10,
    		MachineID:      "somehostname",
    		SystemUUID:     "E6C8AC43-582B-3575-4E1F-6DA170888906"})
    }
    
    func TestWinVersionInfo(t *testing.T) {
    	c := getClient(t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 12:08:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      /** Lazily initialized on first use. */
      private var messageDeflater: MessageDeflater? = null
    
      // Masks are only a concern for client writers.
      private val maskKey: ByteArray? = if (isClient) ByteArray(4) else null
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) Buffer.UnsafeCursor() else null
    
      /** Send a ping with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePing(payload: ByteString) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top