mirror of
https://github.com/minio/minio.git
synced 2025-11-26 04:26:12 -05:00
listObjects: Channel based ftw - initial implementation.
This commit is contained in:
committed by
Harshavardhana
parent
67a70eb6d6
commit
9e18bfa60e
@@ -130,6 +130,31 @@ type BucketResourcesMetadata struct {
|
||||
CommonPrefixes []string
|
||||
}
|
||||
|
||||
type ListObjectsReq struct {
|
||||
Bucket string
|
||||
Prefix string
|
||||
Marker string
|
||||
Delimiter string
|
||||
MaxKeys int
|
||||
}
|
||||
|
||||
type ListObjectsResp struct {
|
||||
IsTruncated bool
|
||||
NextMarker string
|
||||
Objects []ObjectMetadata
|
||||
Prefixes []string
|
||||
}
|
||||
|
||||
type listServiceReq struct {
|
||||
req ListObjectsReq
|
||||
respCh chan ListObjectsResp
|
||||
}
|
||||
|
||||
type listWorkerReq struct {
|
||||
req ListObjectsReq
|
||||
respCh chan ListObjectsResp
|
||||
}
|
||||
|
||||
// CompletePart - completed part container
|
||||
type CompletePart struct {
|
||||
PartNumber int
|
||||
|
||||
Reference in New Issue
Block a user