mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296)
Remove an object on the fly if there is a lifecycle rule with delete expiry action for the corresponding object.
This commit is contained in:
@@ -237,6 +237,11 @@ type ObjectInfo struct {
|
||||
backendType BackendType
|
||||
|
||||
VersionPurgeStatus VersionPurgeStatusType
|
||||
|
||||
// The total count of all versions of this object
|
||||
NumVersions int
|
||||
// The modtime of the successor object version if any
|
||||
SuccessorModTime time.Time
|
||||
}
|
||||
|
||||
// MultipartInfo captures metadata information about the uploadId
|
||||
|
||||
Reference in New Issue
Block a user