Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReplicationPermissionCheck (0.13 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)
Back to top