From 6a2c66cbd8831edd1ce19d3a7908d188f0496044 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 31 Jul 2020 16:14:22 +0300 Subject: [PATCH] [#20] Add attributes in container definition Signed-off-by: Alex Vanin --- container/types.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/container/types.proto b/container/types.proto index dc79bd3..b8d94f2 100644 --- a/container/types.proto +++ b/container/types.proto @@ -21,4 +21,14 @@ message Container { // BasicACL with access control rules for owner, system, others and // permission bits for bearer token and extended ACL. uint32 BasicACL = 5; + // Attributes define any immutable characteristics of container. + repeated Attribute Attributes = 6; } + +// Attribute is a key-value pair of strings. +message Attribute { + // Key of immutable container attribute. + string Key = 1; + // Value of immutable container attribute. + string Value = 2; +} \ No newline at end of file