forked from TrueCloudLab/frostfs-s3-gw
[#451] Handle lock objects using tree service
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
bc000f1bc4
commit
dd534e8738
23 changed files with 488 additions and 520 deletions
|
@ -62,3 +62,12 @@ type PartInfo struct {
|
|||
Number int
|
||||
OID oid.ID
|
||||
}
|
||||
|
||||
// LockInfo is lock information to create appropriate tree node.
|
||||
type LockInfo struct {
|
||||
ID uint64
|
||||
LegalHoldOID *oid.ID
|
||||
RetentionOID *oid.ID
|
||||
UntilDate string
|
||||
IsCompliance bool
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue