forked from TrueCloudLab/frostfs-api-go
[#172] v2/object: Define well-known system attributes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
634f7e92e8
commit
342eeb47a8
1 changed files with 12 additions and 0 deletions
12
v2/object/attributes.go
Normal file
12
v2/object/attributes.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package object
|
||||
|
||||
// SysAttrPrefix is a prefix of key to system attribute.
|
||||
const SysAttrPrefix = "__NEOFS__"
|
||||
|
||||
const (
|
||||
// SysAttrUploadID marks smaller parts of a split bigger object.
|
||||
SysAttrUploadID = SysAttrPrefix + "UPLOAD_ID"
|
||||
|
||||
// SysAttrExpEpoch tells GC to delete object after that epoch.
|
||||
SysAttrExpEpoch = SysAttrPrefix + "EXPIRATION_EPOCH"
|
||||
)
|
Loading…
Reference in a new issue