Add well-known attributes for containers
Adding the list of currently well-known container attributes. More to come later. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
af909ec3eb
commit
cad80a2c86
1 changed files with 9 additions and 1 deletions
|
@ -27,7 +27,15 @@ message Container {
|
||||||
// permission bits for bearer token and Extended ACL.
|
// permission bits for bearer token and Extended ACL.
|
||||||
uint32 basic_acl = 4;
|
uint32 basic_acl = 4;
|
||||||
|
|
||||||
// Attribute is a key-value pair of strings.
|
// `Attribute` is a user-defined Key-Value metadata pair attached to the
|
||||||
|
// container. Container attribute are immutable. They are set at container
|
||||||
|
// creation and cna never be added or updated.
|
||||||
|
//
|
||||||
|
// There are some "well-known" attributes affecting system behaviour:
|
||||||
|
//
|
||||||
|
// * Subnet \
|
||||||
|
// String ID of container's storage subnet. Container can be attached to
|
||||||
|
// only one subnet.
|
||||||
message Attribute {
|
message Attribute {
|
||||||
// Key of immutable container attribute.
|
// Key of immutable container attribute.
|
||||||
string key = 1;
|
string key = 1;
|
||||||
|
|
Loading…
Reference in a new issue