Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for MinioClient (0.12 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    
    import org.codelibs.core.lang.StringUtil;
    
    import io.minio.GetObjectArgs;
    import io.minio.MinioClient;
    import io.minio.MinioClient.Builder;
    import io.minio.StatObjectArgs;
    import io.minio.StatObjectResponse;
    import io.minio.errors.ErrorResponseException;
    import io.minio.errors.InsufficientDataException;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        protected AtomicBoolean isInit = new AtomicBoolean(false);
    
        protected MinioClient minioClient;
    
        @Override
        public void init() {
            super.init();
    
            final Builder builder = MinioClient.builder();
            final String endpoint = getInitParameter("endpoint", null, String.class);
            if (StringUtil.isBlank(endpoint)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. docs/bucket/versioning/README.md

        try {
          /* play.min.io for test and development. */
          MinioClient minioClient =
              MinioClient.builder()
                  .endpoint("https://play.min.io")
                  .credentials("Q3AM3UQ867SPQQA43P2F", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG")
                  .build();
    
          /* Amazon S3: */
          // MinioClient minioClient =
          //     MinioClient.builder()
          //         .endpoint("https://s3.amazonaws.com")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            }
        }
    
        private void setupMinioClient(String bucketName, String endpoint) throws Exception {
            MinioClient minioClient = MinioClient.builder().endpoint(endpoint).credentials(ACCESS_KEY, SECRET_KEY).build();
            minioClient.makeBucket(MakeBucketArgs.builder().bucket(bucketName).build());
            minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("file1.txt")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/sts/custom-token-identity.go

    		Creds:  li,
    		Secure: stsEndpointURL.Scheme == "https",
    	}
    	minioClient, err := minio.New(stsEndpointURL.Host, copts)
    	if err != nil {
    		log.Fatalf("Error initializing client: ", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList)
    	objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                final MinioClient minioClient = createClient(fessConfig);
                final PutObjectArgs args = PutObjectArgs.builder().bucket(fessConfig.getStorageBucket()).object(objectName)
                        .stream(in, uploadFile.getFileSize(), -1).contentType("application/octet-stream").build();
                minioClient.putObject(args);
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	}
    
    	// Validate sts creds can access the object
    	c.mustPutObjectWithTags(ctx, minioClient, bucket, object)
    	c.mustGetObject(ctx, minioClient, bucket, object)
    	c.mustHeadObject(ctx, minioClient, bucket, object, 2)
    
    	// Validate that the client can remove objects
    	if err = minioClient.RemoveObjectTagging(ctx, bucket, object, minio.RemoveObjectTaggingOptions{}); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  8. docs/sts/ldap.go

    		fmt.Println("SecretAccessKey:", v.SecretAccessKey)
    		fmt.Println("SessionToken:", v.SessionToken)
    		return
    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	minioClient, err := minio.New(stsEndpointURL.Host, opts)
    	if err != nil {
    		log.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	if bucketToList == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. docs/sts/assume-role.go

    		log.Fatalln(err)
    	}
    
    	err = madmClnt.ServiceRestart(context.Background())
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	minioClient, err := minio.New(stsEndpointURL.Host, opts)
    	if err != nil {
    		log.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	if bucketToList == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    }
    
    func getS3Client(pc madmin.PeerSite) (*minioClient.Client, error) {
    	ep, err := url.Parse(pc.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    	if globalBucketTargetSys.isOffline(ep) {
    		return nil, RemoteTargetConnectionErr{Endpoint: ep.String(), Err: fmt.Errorf("remote target is offline for endpoint %s", ep.String())}
    	}
    
    	return minioClient.New(ep.Host, &minioClient.Options{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top