purge objects immediately with x-minio-force-delete in DeleteObject and DeleteBucket API (#15148)

This commit is contained in:
Praveen raj Mani authored and GitHub committed 2022-07-11 09:15:54 -07:00
1 parent 00e235a1ee
commit b49fc33cb3
20 files changed
+220 -79

No files matched your search

+7
View File
@@ -21,6 +21,13 @@ import (
"time"
)
// DeleteOptions represents the disk level delete options available for the APIs
//msgp:ignore DeleteOptions
type DeleteOptions struct {
Recursive bool
Force bool
}
//go:generate msgp -file=$GOFILE
// DiskInfo is an extended type which returns current