Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for BucketNotEmpty (0.14 sec)

  1. cmd/api-errors_test.go

    	{err: InvalidUploadIDKeyCombination{}, errCode: ErrNotImplemented},
    	{err: MalformedUploadID{}, errCode: ErrNoSuchUpload},
    	{err: PartTooSmall{}, errCode: ErrEntityTooSmall},
    	{err: BucketNotEmpty{}, errCode: ErrBucketNotEmpty},
    	{err: BucketNotFound{}, errCode: ErrNoSuchBucket},
    	{err: StorageFull{}, errCode: ErrStorageFull},
    	{err: NotImplemented{}, errCode: ErrNotImplemented},
    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. cmd/object-api-errors.go

    type BucketAlreadyOwnedByYou GenericError
    
    func (e BucketAlreadyOwnedByYou) Error() string {
    	return "Bucket already owned by you: " + e.Bucket
    }
    
    // BucketNotEmpty bucket is not empty.
    type BucketNotEmpty GenericError
    
    func (e BucketNotEmpty) Error() string {
    	return "Bucket not empty: " + e.Bucket
    }
    
    // InvalidVersionID invalid version id
    type InvalidVersionID GenericError
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. cmd/warm-backend-gcs.go

    			break
    		}
    		if message == "Sorry, that name is not available. Please try a different one." {
    			err = BucketAlreadyExists{Bucket: bucket}
    			break
    		}
    		err = BucketNotEmpty{Bucket: bucket}
    	}
    
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. cmd/utils.go

    	case "PreconditionFailed":
    		err = PreConditionFailed{}
    	case "InvalidRange":
    		err = InvalidRange{}
    	case "BucketAlreadyOwnedByYou":
    		err = BucketAlreadyOwnedByYou{}
    	case "BucketNotEmpty":
    		err = BucketNotEmpty{}
    	case "NoSuchBucketPolicy":
    		err = BucketPolicyNotFound{}
    	case "NoSuchLifecycleConfiguration":
    		err = BucketLifecycleNotFound{}
    	case "InvalidBucketName":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		Description:    "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketNotEmpty: {
    		Code:           "BucketNotEmpty",
    		Description:    "The bucket you tried to delete is not empty",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrBucketAlreadyExists: {
    		Code:           "BucketAlreadyExists",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		Force:      forceDelete,
    		SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    	}); err != nil {
    		apiErr := toAPIError(ctx, err)
    		if _, ok := err.(BucketNotEmpty); ok {
    			if globalBucketVersioningSys.Enabled(bucket) || globalBucketVersioningSys.Suspended(bucket) {
    				apiErr.Description = "The bucket you tried to delete is not empty. You must delete all versions in the bucket."
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top