Cloud migration: upload snapshot files using presigned url (#90273)

* Cloud migration: upload snapshot files using presigned url

* log error if index file cannot be closed

* log error if file cannot be closed in uploadUsingPresignedURL
This commit is contained in:
Bruno
2024-07-11 09:32:02 -03:00
committed by GitHub
parent 69c5fa8361
commit 420ff1d07b
11 changed files with 289 additions and 78 deletions

View File

@ -0,0 +1,10 @@
package objectstorage
import (
"context"
"io"
)
type ObjectStorage interface {
PresignedURLUpload(ctx context.Context, url, key string, reader io.Reader) error
}