forked from TrueCloudLab/frostfs-node
62154da17c
Object Tree Service allows changing trees assotiated with the container in runtime. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
27 lines
734 B
Protocol Buffer
27 lines
734 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package tree;
|
|
|
|
option go_package = "github.com/nspcc-dev/neofs-node/pkg/services/tree";
|
|
|
|
// KeyValue represents key-value pair attached to an object.
|
|
message KeyValue {
|
|
string key = 1 [json_name = "key"];
|
|
bytes value = 2 [json_name = "value"];
|
|
}
|
|
|
|
// LogMove represents log-entry for a single move operation.
|
|
message LogMove {
|
|
// ID of the parent node.
|
|
uint64 parent_id = 2 [json_name = "parentID"];
|
|
// Node meta information, including operation timestamp.
|
|
bytes meta = 3 [json_name = "meta"];
|
|
// ID of the node to move.
|
|
uint64 child_id = 4 [json_name = "childID"];
|
|
}
|
|
|
|
// Signature of a message.
|
|
message Signature {
|
|
bytes key = 1 [json_name = "key"];
|
|
bytes sign = 2 [json_name = "signature"];
|
|
}
|