forked from TrueCloudLab/frostfs-api-go
[#172] sdk/object: Define well-known application attributes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
4357430e0f
commit
5494d3417f
1 changed files with 15 additions and 0 deletions
15
pkg/object/wellknown_attributes.go
Normal file
15
pkg/object/wellknown_attributes.go
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
package object
|
||||||
|
|
||||||
|
const (
|
||||||
|
// AttrName is an attribute key that is commonly used to denote
|
||||||
|
// human-friendly name.
|
||||||
|
AttrName = "Name"
|
||||||
|
|
||||||
|
// AttrFileName is an attribute key that is commonly used to denote
|
||||||
|
// file name to be associated with the object on saving.
|
||||||
|
AttrFileName = "FileName"
|
||||||
|
|
||||||
|
// AttrTimestamp is an attribute key that is commonly used to denote
|
||||||
|
// user-defined local time of object creation in Unix Timestamp format.
|
||||||
|
AttrTimestamp = "Timestamp"
|
||||||
|
)
|
Loading…
Reference in a new issue