mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
Support encryption for CopyObject, GET-Range requests (#5544)
- Implement CopyObject encryption support - Handle Range GETs for encrypted objects Fixes #5193
This commit is contained in:
committed by
kannappanr
parent
b7536570f8
commit
7cc678c653
@@ -17,8 +17,10 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"io"
|
||||
"time"
|
||||
|
||||
"github.com/minio/minio/pkg/hash"
|
||||
"github.com/minio/minio/pkg/madmin"
|
||||
)
|
||||
|
||||
@@ -98,6 +100,11 @@ type ObjectInfo struct {
|
||||
|
||||
// User-Defined metadata
|
||||
UserDefined map[string]string
|
||||
|
||||
// Implements writer and reader used by CopyObject API
|
||||
Writer io.WriteCloser `json:"-"`
|
||||
Reader *hash.Reader `json:"-"`
|
||||
metadataOnly bool
|
||||
}
|
||||
|
||||
// ListPartsInfo - represents list of all parts.
|
||||
|
||||
Reference in New Issue
Block a user