mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:02:20 +08:00

* 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
11 lines
167 B
Go
11 lines
167 B
Go
package objectstorage
|
|
|
|
import (
|
|
"context"
|
|
"io"
|
|
)
|
|
|
|
type ObjectStorage interface {
|
|
PresignedURLUpload(ctx context.Context, url, key string, reader io.Reader) error
|
|
}
|