[#172] v2/object: Define well-known system attributes

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
support/v2.15
Leonard Lyubich 2020-10-22 18:41:08 +03:00 committed by Leonard Lyubich
parent 634f7e92e8
commit 342eeb47a8
1 changed files with 12 additions and 0 deletions

View 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"
)