forked from TrueCloudLab/frostfs-api
[#41] Reindent according to Google Style Guide
Just a minor change to follow 2-space indent declared in Google Style Guide Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
35774d4ef7
commit
327c476ecf
12 changed files with 607 additions and 597 deletions
|
@ -16,10 +16,11 @@ service Accounting {
|
|||
|
||||
// Message defines the request body of Balance method.
|
||||
//
|
||||
// To indicate the account for which the balance is requested, it's identifier is used.
|
||||
// To indicate the account for which the balance is requested, it's identifier
|
||||
// is used.
|
||||
//
|
||||
// To gain access to the requested information, the request body must be formed according
|
||||
// to the requirements from the system specification.
|
||||
// To gain access to the requested information, the request body must be formed
|
||||
// according to the requirements from the system specification.
|
||||
message BalanceRequest {
|
||||
// Carries user identifier in NeoFS system for which the balance is requested.
|
||||
refs.OwnerID owner_id = 1;
|
||||
|
|
|
@ -98,7 +98,8 @@ message EACLRecord {
|
|||
|
||||
// EACLRecord carries the information about extended ACL rules.
|
||||
message EACLTable {
|
||||
// Carries identifier of the container that should use given access control rules.
|
||||
// Carries identifier of the container that should use given
|
||||
// access control rules.
|
||||
refs.ContainerID container_id = 1 [json_name="ContainerID"];
|
||||
|
||||
// Records carries list of extended ACL rule records.
|
||||
|
|
|
@ -86,7 +86,8 @@ message ListRequest {
|
|||
}
|
||||
|
||||
message ListResponse {
|
||||
// ContainerIDs carries list of identifiers of the containers that belong to the owner.
|
||||
// ContainerIDs carries list of identifiers of the containers that belong
|
||||
// to the owner.
|
||||
repeated refs.ContainerID container_ids = 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -94,7 +94,8 @@ message Header {
|
|||
// StorageGroup marks an object containing information about a storage group.
|
||||
StorageGroup storage_group = 6;
|
||||
|
||||
// Split groups information about spawning the object through a payload splitting.
|
||||
// Split groups information about spawning the object through a payload
|
||||
// splitting.
|
||||
message Split {
|
||||
// Parent carries identifier of the origin object.
|
||||
refs.ObjectID parent = 1;
|
||||
|
@ -105,7 +106,8 @@ message Header {
|
|||
// Next carries identifier of the right split neighbor.
|
||||
refs.ObjectID next = 3;
|
||||
|
||||
// Children carries list of identifiers of the objects generated by splitting the current.
|
||||
// Children carries list of identifiers of the objects generated by
|
||||
// splitting the current.
|
||||
repeated refs.ObjectID children = 4;
|
||||
|
||||
// Origin carries the header of the origin object.
|
||||
|
|
|
@ -8,7 +8,8 @@ option csharp_namespace = "NeoFS.API.Service";
|
|||
import "acl/types.proto";
|
||||
import "refs/types.proto";
|
||||
|
||||
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request.
|
||||
// RequestVerificationHeader is a set of signatures of every NeoFS Node that
|
||||
// processed request.
|
||||
message RequestVerificationHeader {
|
||||
message Signature {
|
||||
// Key is compressed public key used for signature.
|
||||
|
|
|
@ -22,8 +22,8 @@ message CreateRequest {
|
|||
// Carries a lifetime of the session.
|
||||
service.TokenLifetime lifetime = 2;
|
||||
|
||||
// Carries request meta information. Header data is used only to regulate message
|
||||
// transport and does not affect request execution.
|
||||
// Carries request meta information. Header data is used only to regulate
|
||||
// message transport and does not affect request execution.
|
||||
service.RequestMetaHeader meta_header = 98;
|
||||
|
||||
// Carries request verification information. This header is used to authenticate
|
||||
|
|
|
@ -10,14 +10,18 @@ import "refs/types.proto";
|
|||
// StorageGroup groups the information about the NeoFS storage group.
|
||||
// The storage group consists of objects from single container.
|
||||
message StorageGroup {
|
||||
// validation_data_size carries the total size of the payloads of the storage group members.
|
||||
// validation_data_size carries the total size of the payloads of the storage
|
||||
// group members.
|
||||
uint64 validation_data_size = 1;
|
||||
|
||||
// validation_hash carries homomorphic hash from the concatenation of the payloads of the storage group members.
|
||||
// The order of concatenation is the same as the order of the members in the Members field.
|
||||
// validation_hash carries homomorphic hash from the concatenation of the
|
||||
// payloads of the storage group members
|
||||
// The order of concatenation is the same as the order of the members in the
|
||||
// Members field.
|
||||
bytes validation_hash = 2;
|
||||
|
||||
// expiration_epoch carries last NeoFS epoch number of the storage group lifetime.
|
||||
// expiration_epoch carries last NeoFS epoch number of the storage group
|
||||
// lifetime.
|
||||
uint64 expiration_epoch = 3;
|
||||
|
||||
// Members carries the list of identifiers of the object storage group members.
|
||||
|
|
Loading…
Reference in a new issue