frostfs-api-go/v2/object/attributes.go
Leonard Lyubich 342eeb47a8 [#172] v2/object: Define well-known system attributes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-22 19:15:45 +03:00

12 lines
350 B
Go

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