Skip to content

Commit 00cd5a9

Browse files
authored
add PurgeOnDelete to versioning config (#2074)
This is for a custom extension for versioned bucket to treat delete object as delete all versions of the object
1 parent 01fe40d commit 00cd5a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api-bucket-versioning.go

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ type BucketVersioningConfiguration struct {
9090
// Requires versioning to be enabled
9191
ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"`
9292
ExcludeFolders bool `xml:",omitempty"`
93+
PurgeOnDelete string `xml:",omitempty"`
9394
}
9495

9596
// Various supported states

0 commit comments

Comments
 (0)