From 634f7e92e8664140a127368b8c7e826c315ee7e1 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 22 Oct 2020 18:40:55 +0300 Subject: [PATCH] [#172] v2/container: Define well-known system attributes Signed-off-by: Leonard Lyubich --- v2/container/attributes.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 v2/container/attributes.go diff --git a/v2/container/attributes.go b/v2/container/attributes.go new file mode 100644 index 0000000..2dc0c92 --- /dev/null +++ b/v2/container/attributes.go @@ -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" +)