tusd/s3store
Adam Jensen 33d12533e7 S3Store: Add support for creation-defer-length extension (#219)
* Add HeadObject function to S3API

* Regenerate S3API mock

* Include incomplete part size in the offset

* Add CRUD functions for managing incomplete parts

* Account for incomplete parts in S3Store's Terminate

* Account for incomplete parts in S3Store's WriteChunk

* Factor out writeInfo function

* Declare support for deferred length in S3Store

* Add test for S3Store's DeclareLength

* Adapt S3Store tests to new implementation

* Add PutObjectInputMatcher test helper

* Add test for prepending incomplete parts

* Add GetInfo test for incomplete parts

* Update S3Store docs

* Consistently handle NoSuchKey errors from S3

* Handle both 403 and 404 responses from HeadObject

If the IAM role doesn't have permission to list the contents of the bucket, then HEAD requests will return 403 for nonexistent objects.
2019-01-05 09:02:42 +01:00
..
calcpartsize_test.go s3store: calculate part size based on upload size 2017-09-03 10:57:06 +02:00
multi_error.go Correct linting issue and misspellings 2016-09-27 22:10:16 +02:00
s3store.go S3Store: Add support for creation-defer-length extension (#219) 2019-01-05 09:02:42 +01:00
s3store_mock_test.go S3Store: Add support for creation-defer-length extension (#219) 2019-01-05 09:02:42 +01:00
s3store_test.go S3Store: Add support for creation-defer-length extension (#219) 2019-01-05 09:02:42 +01:00
s3store_util_test.go S3Store: Add support for creation-defer-length extension (#219) 2019-01-05 09:02:42 +01:00