forked from TrueCloudLab/frostfs-api-go
[#172] v2/container: Define well-known system attributes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
7b212431df
commit
634f7e92e8
1 changed files with 9 additions and 0 deletions
9
v2/container/attributes.go
Normal file
9
v2/container/attributes.go
Normal file
|
@ -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"
|
||||||
|
)
|
Loading…
Reference in a new issue