fix: harden desktop release OSS uploads
This commit is contained in:
@@ -33,6 +33,10 @@ type ReaderClient interface {
|
||||
PutReader(ctx context.Context, objectKey string, reader io.Reader, size int64, contentType string) error
|
||||
}
|
||||
|
||||
type ObjectReaderClient interface {
|
||||
GetReader(ctx context.Context, objectKey string) (io.ReadCloser, error)
|
||||
}
|
||||
|
||||
type PresignedPutResult struct {
|
||||
URL string
|
||||
Headers http.Header
|
||||
|
||||
Reference in New Issue
Block a user