Skip to content

Commit

Permalink
[#172] v2/container: Define well-known system attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
  • Loading branch information
Leonard Lyubich authored and cthulhu-rider committed Oct 22, 2020
1 parent 7b21243 commit 634f7e9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions v2/container/attributes.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package container

// SysAttrPrefix is a prefix of key to system attribute.
const SysAttrPrefix = "__NEOFS__"

const (
// SysAttrSubnet is a string ID of container's storage subnet.
SysAttrSubnet = SysAttrPrefix + "SUBNET"
)

0 comments on commit 634f7e9

Please sign in to comment.