Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for BucketExists (0.14 sec)

  1. cmd/api-errors_test.go

    	{err: IncompleteBody{}, errCode: ErrIncompleteBody},
    	{err: ObjectExistsAsDirectory{}, errCode: ErrObjectExistsAsDirectory},
    	{err: BucketNameInvalid{}, errCode: ErrInvalidBucketName},
    	{err: BucketExists{}, errCode: ErrBucketAlreadyOwnedByYou},
    	{err: ObjectNotFound{}, errCode: ErrNoSuchKey},
    	{err: ObjectNameInvalid{}, errCode: ErrInvalidObjectName},
    	{err: InvalidUploadID{}, errCode: ErrNoSuchUpload},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

        }
    
        protected boolean bucketExists(final String name) {
            try {
                final BucketExistsArgs args = BucketExistsArgs.builder().bucket(name).build();
                return minioClient.bucketExists(args);
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not access bucket:" + name, e);
    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. cmd/object-api-errors.go

    type PrefixAccessDenied GenericError
    
    func (e PrefixAccessDenied) Error() string {
    	return "Prefix access is denied: " + e.Bucket + SlashSeparator + e.Object
    }
    
    // BucketExists bucket exists.
    type BucketExists GenericError
    
    func (e BucketExists) Error() string {
    	return "Bucket exists: " + e.Bucket
    }
    
    // InvalidUploadIDKeyCombination - invalid upload id and key marker combination.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return nil, err
    	}
    	ok, err := clnt.BucketExists(r.Context(), bucket)
    	if err != nil {
    		return nil, err
    	}
    	if !ok {
    		return nil, os.ErrNotExist
    	}
    
    	pr, pw := io.Pipe()
    
    	wa := &writerAt{
    		buffer: make(map[int64][]byte),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	if err = objectAPI.MakeBucket(ctx, bucketName, MakeBucketOptions{VersioningEnabled: globalSiteReplicationSys.isEnabled()}); err != nil {
    		if _, ok := err.(BucketExists); !ok {
    			// Only BucketExists error can be ignored.
    			return false, err
    		}
    		bucketExists = true
    	}
    
    	if globalSiteReplicationSys.isEnabled() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. cmd/warm-backend-azure.go

    	switch serviceCode {
    	case "ContainerNotFound", "ContainerBeingDeleted":
    		err = BucketNotFound{Bucket: bucket}
    	case "ContainerAlreadyExists":
    		err = BucketExists{Bucket: bucket}
    	case "InvalidResourceName":
    		err = BucketNameInvalid{Bucket: bucket}
    	case "RequestBodyTooLarge":
    		err = PartTooBig{}
    	case "InvalidMetadata":
    		err = UnsupportedMetadata{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := driver.getMinIOClient(ctx)
    	if err != nil {
    		return nil, err
    	}
    
    	if object == "" {
    		ok, err := clnt.BucketExists(context.Background(), bucket)
    		if err != nil {
    			return nil, err
    		}
    		if !ok {
    			return nil, os.ErrNotExist
    		}
    		return &minioFileInfo{
    			p:     pathClean(bucket),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    	for _, metaBucket := range []string{
    		pathJoin(minioMetaBucket, minioConfigPrefix),
    		pathJoin(minioMetaBucket, bucketMetaPrefix),
    	} {
    		var bucketExists BucketExists
    		if err = z.MakeBucket(ctx, metaBucket, MakeBucketOptions{}); err != nil {
    			if !errors.As(err, &bucketExists) {
    				return err
    			}
    		}
    	}
    
    	z.poolMetaMutex.Lock()
    	defer z.poolMetaMutex.Unlock()
    
    	for _, idx := range indices {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. cmd/bucket-targets.go

    	}
    	clnt, err := sys.getRemoteTargetClient(tgt)
    	if err != nil {
    		return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    	}
    	// validate if target credentials are ok
    	exists, err := clnt.BucketExists(ctx, tgt.TargetBucket)
    	if err != nil {
    		switch minio.ToErrorResponse(err).Code {
    		case "NoSuchBucket":
    			return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    		case "AccessDenied":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. docs/bucket/versioning/README.md

          //         .credentials("YOUR-ACCESSKEY", "YOUR-SECRETACCESSKEY")
          //         .build();
    
          // Create bucket 'my-bucketname' if it doesn`t exist.
          if (!minioClient.bucketExists(BucketExistsArgs.builder().bucket("my-bucketname").build())) {
            minioClient.makeBucket(MakeBucketArgs.builder().bucket("my-bucketname").build());
            System.out.println("my-bucketname is created successfully");
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top