39 Commits

Author SHA1 Message Date
Nick Craig-Wood
e80146f8de Update to using AWS SDKv2 in the tests as v1 is deprecated
This also stops the non test code importing the AWS SDK which it
should never have done.
2024-08-07 16:18:02 +01:00
Saw-jan
3bdd10db84 pass context instead of request 2024-04-12 16:24:15 +01:00
Saw-jan
beb07a1101 pass req obj to backend methods 2024-04-12 16:24:15 +01:00
Mikubill
897c7b39a2 feat: new CopyObjcet func && docs update 2022-09-21 11:21:20 +00:00
Johannes Boyne
5c1345273a Fix issue #64 2022-06-05 17:42:47 +02:00
shabbyrobe
9edd53f949 Implement pagination tests, fix maxkeys == 0 bug 2019-03-11 12:26:35 +11:00
shabbyrobe
5026bba46d Fix Marker implementation 2019-03-11 12:26:16 +11:00
shabbyrobe
ab9271766f Fix errors in list objects v2 implementation, implement pagination in mem backend 2019-03-11 12:26:15 +11:00
shabbyrobe
e56e7375ef Carved out GoFakeS3 infrastructure and messaging for pagination 2019-03-11 12:25:36 +11:00
shabbyrobe
8be6e555f9 Improve comments on versioned backend 2019-03-07 22:45:35 +11:00
shabbyrobe
c1d27fad50 PR updates: comments, versioning get/put works even without versioned backend in most cases 2019-03-07 22:45:35 +11:00
shabbyrobe
3395545f25 Implement more version tests, backend for prefix and page changed to pointers
Change to pointers is to better accomodate actually calling the backend
yourself, which is frightfully unpleasant with value types if you don't
need to pass anything. This isn't much better as it means you're passing
'double nils' sometimes, i.e. ListBucketVersions(..., nil, nil), so I
expect to revisit this.
2019-03-07 22:45:35 +11:00
shabbyrobe
c62daca606 Ensure version listing works when versioning never enabled 2019-03-07 22:45:35 +11:00
shabbyrobe
2d9d3ec4cb Fix incorrect assumptions about version pagination 2019-03-07 22:45:35 +11:00
shabbyrobe
a5aa1a1b99 Document assumptions about version deletion 2019-03-07 22:45:35 +11:00
shabbyrobe
0c9daa3549 Assumption test experiment, fix broken test cases 2019-03-07 22:45:35 +11:00
shabbyrobe
4f308524fb Correctly report version ID header 2019-03-07 22:45:35 +11:00
shabbyrobe
9fa59f6e95 First implementation of list versions for memory backend 2019-03-07 22:45:35 +11:00
shabbyrobe
b159cf8bce Implement memory backend versioned bucket functions 2019-03-07 22:45:35 +11:00
shabbyrobe
249528d206 Rename DeleteResult to MultiDeleteResult for clarity 2019-03-07 22:45:35 +11:00
shabbyrobe
ea7c0be062 Delete object version endpoint 2019-03-07 22:45:35 +11:00
shabbyrobe
796336f303 Specify versioning messages, API for backend 2019-03-07 22:45:35 +11:00
shabbyrobe
5bfb27cb6b Update afero backends to support range 2019-01-20 11:36:58 +11:00
shabbyrobe
4300f1c98c Add tests for range 2019-01-19 23:13:55 +11:00
shabbyrobe
a6d5228489 Object ranges 2019-01-18 01:47:40 +11:00
shabbyrobe
b00320e20e All multipart upload functions tested at least once 2019-01-09 21:02:17 +11:00
shabbyrobe
fb17dc078d Sized ReadAll, multipart upload list tests 2019-01-08 01:44:19 +11:00
shabbyrobe
a1f6dc1103 Upload test cases 2019-01-05 12:29:19 +11:00
shabbyrobe
d750e4f982 Multi-delete support 2019-01-04 14:10:54 +11:00
shabbyrobe
48c00f1219 Content-MD5 validation 2019-01-03 02:50:51 +11:00
shabbyrobe
3b78835bd1 Test case improvements, CLI tester 2019-01-02 16:32:41 +11:00
shabbyrobe
e1748f1f5a Add creation date support to backends to fix "aws s3 ls" 2019-01-02 16:32:37 +11:00
shabbyrobe
a30a588220 Implement prefix/delimiter matching 2019-01-02 16:32:26 +11:00
shabbyrobe
68db1b6e31 Unroll iff 2019-01-02 03:12:13 +11:00
shabbyrobe
66abd139fe Add source for DeleteObject not needing an error if the object is missing 2018-12-24 00:09:47 +11:00
shabbyrobe
a5d0564b2d Implement S3 error codes 2018-12-24 00:04:21 +11:00
shabbyrobe
a85ef3aea5 Add not found errors 2018-12-22 23:57:06 +11:00
shabbyrobe
c4dfc307bc Implemented memory backend 2018-12-22 20:52:22 +11:00
shabbyrobe
6d69af3054 Interchangeable backends 2018-12-22 10:38:50 +11:00