forked from TrueCloudLab/frostfs-s3-gw
[#195] Add PUT and GET default lock configuration
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
b96c3c5a33
commit
fe9eb9cedc
5 changed files with 147 additions and 9 deletions
|
@ -47,7 +47,8 @@ type (
|
|||
|
||||
// BucketSettings stores settings such as versioning.
|
||||
BucketSettings struct {
|
||||
VersioningEnabled bool `json:"versioning_enabled"`
|
||||
VersioningEnabled bool `json:"versioning_enabled"`
|
||||
LockConfiguration *ObjectLockConfiguration `json:"lock_configuration"`
|
||||
}
|
||||
|
||||
// CORSConfiguration stores CORS configuration of a request.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue