feat: add API to return list of objects waiting to be replicated (#15091)

This commit is contained in:
Poorna
2022-07-21 11:05:44 -07:00
committed by GitHub
parent be8c4cb24a
commit cab8d3d568
7 changed files with 1423 additions and 18 deletions
+10 -8
View File
@@ -261,14 +261,16 @@ func (o ObjectInfo) tierStats() tierStats {
// ReplicateObjectInfo represents object info to be replicated
type ReplicateObjectInfo struct {
ObjectInfo
OpType replication.Type
EventType string
RetryCount uint32
ResetID string
Dsc ReplicateDecision
ExistingObjResync ResyncDecision
TargetArn string
TargetStatuses map[string]replication.StatusType
OpType replication.Type
EventType string
RetryCount uint32
ResetID string
Dsc ReplicateDecision
ExistingObjResync ResyncDecision
TargetArn string
TargetStatuses map[string]replication.StatusType
TargetPurgeStatuses map[string]VersionPurgeStatusType
ReplicationTimestamp time.Time
}
// MultipartInfo captures metadata information about the uploadId