store: implement s3 blob store (#2005)

This commit is contained in:
ben-toogood
2020-09-15 17:09:40 +01:00
committed by GitHub
parent d5bfa1e795
commit 35349bd313
10 changed files with 348 additions and 11 deletions

View File

@@ -60,12 +60,12 @@ func TestBlobStore(t *testing.T) {
t.Run("DeleteIncorrectNamespace", func(t *testing.T) {
err := blob.Delete("hello", store.BlobNamespace("bar"))
assert.Equal(t, store.ErrNotFound, err, "Error should be not found")
assert.Nil(t, err, "Error should be nil")
})
t.Run("DeleteCorrectNamespaceIncorrectKey", func(t *testing.T) {
err := blob.Delete("world", store.BlobNamespace("micro"))
assert.Equal(t, store.ErrNotFound, err, "Error should be not found")
assert.Nil(t, err, "Error should be nil")
})
t.Run("DeleteCorrectNamespace", func(t *testing.T) {