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:
@@ -0,0 +1,10 @@
|
||||
package objectstorage
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
)
|
||||
|
||||
type ObjectStorage interface {
|
||||
PresignedURLUpload(ctx context.Context, url, key string, reader io.Reader) error
|
||||
}
|
||||
Reference in New Issue
Block a user