Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ReplicationPermissionCheck (0.18 sec)

  1. cmd/object-api-errors.go

    	return ok
    }
    
    // ReplicationPermissionCheck - Check if error type is ReplicationPermissionCheck.
    type ReplicationPermissionCheck struct{}
    
    func (e ReplicationPermissionCheck) Error() string {
    	return "Replication permission validation requests cannot be completed"
    }
    
    func isReplicationPermissionCheck(err error) bool {
    	_, ok := err.(ReplicationPermissionCheck)
    	return ok
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. cmd/utils.go

    		}
    	case "XAmzContentSHA256Mismatch":
    		err = hash.SHA256Mismatch{}
    	case "NoSuchUpload":
    		err = InvalidUploadID{}
    	case "EntityTooSmall":
    		err = PartTooSmall{}
    	case "ReplicationPermissionCheck":
    		err = ReplicationPermissionCheck{}
    	}
    
    	if minioErr.StatusCode == http.StatusMethodNotAllowed {
    		err = toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Code:           "InvalidRequest",
    		Description:    "Replication validation failed on target",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrReplicationPermissionCheckError: {
    		Code:           "ReplicationPermissionCheck",
    		Description:    "X-Minio-Source-Replication-Check cannot be specified in request. Request cannot be completed",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNoSuchObjectLockConfiguration: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top