perkeep/pkg/misc/amazon/s3
mpl b6eb85631c blob SubFetcher: explicitely states with errors the testSubFetcher constraints
testSubFetcher in blobserver/storagetest was already checking that we'd
get specific error messages in the case of negative input parameters or
an out of range offset.

This change rationalizes these constraints with named errors
(ErrNegativeSubFetch and ErrOutOfRangeOffsetSubFetch) specified
in the SubFetcher interface.

It also fixes the googlestorage and s3 implementations so that they pass
the aforementioned test.

Change-Id: I25b72b842855b90ee3cab44c90654581dccf4b8e
2015-02-26 15:18:27 +01:00
..
auth.go s3: auto-select correct region, handle buckets with dots in hostname 2014-05-08 15:31:48 -07:00
auth_test.go pkg: fix various vet reports 2014-11-12 23:25:53 +01:00
client.go blob SubFetcher: explicitely states with errors the testSubFetcher constraints 2015-02-26 15:18:27 +01:00
client_test.go pkg/misc/amazon/s3: Fix test broken by commit bf8d6bdb. 2014-05-13 14:23:04 +03:00