forked from TrueCloudLab/frostfs-node
[#1250] *: Reformat proto filets with clang-format
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
c09c870df4
commit
3d514c9418
4 changed files with 99 additions and 109 deletions
|
@ -6,7 +6,8 @@ import "pkg/services/control/ir/types.proto";
|
||||||
|
|
||||||
option go_package = "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/ir/control";
|
option go_package = "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/ir/control";
|
||||||
|
|
||||||
// `ControlService` provides an interface for internal work with the Inner Ring node.
|
// `ControlService` provides an interface for internal work with the Inner Ring
|
||||||
|
// node.
|
||||||
service ControlService {
|
service ControlService {
|
||||||
// Performs health check of the IR node.
|
// Performs health check of the IR node.
|
||||||
rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse);
|
rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse);
|
||||||
|
@ -14,7 +15,8 @@ service ControlService {
|
||||||
rpc TickEpoch(TickEpochRequest) returns (TickEpochResponse);
|
rpc TickEpoch(TickEpochRequest) returns (TickEpochResponse);
|
||||||
// Forces a node removal to be signaled by the IR node with high probability.
|
// Forces a node removal to be signaled by the IR node with high probability.
|
||||||
rpc RemoveNode(RemoveNodeRequest) returns (RemoveNodeResponse);
|
rpc RemoveNode(RemoveNodeRequest) returns (RemoveNodeResponse);
|
||||||
// Forces a container removal to be signaled by the IR node with high probability.
|
// Forces a container removal to be signaled by the IR node with high
|
||||||
|
// probability.
|
||||||
rpc RemoveContainer(RemoveContainerRequest) returns (RemoveContainerResponse);
|
rpc RemoveContainer(RemoveContainerRequest) returns (RemoveContainerResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,6 @@ message AddResponse {
|
||||||
Signature signature = 2;
|
Signature signature = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
message AddByPathRequest {
|
message AddByPathRequest {
|
||||||
message Body {
|
message Body {
|
||||||
// Container ID in V2 format.
|
// Container ID in V2 format.
|
||||||
|
@ -122,7 +121,6 @@ message AddByPathResponse {
|
||||||
Signature signature = 2;
|
Signature signature = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
message RemoveRequest {
|
message RemoveRequest {
|
||||||
message Body {
|
message Body {
|
||||||
// Container ID in V2 format.
|
// Container ID in V2 format.
|
||||||
|
@ -142,8 +140,7 @@ message RemoveRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
message RemoveResponse {
|
message RemoveResponse {
|
||||||
message Body {
|
message Body {}
|
||||||
}
|
|
||||||
|
|
||||||
// Response body.
|
// Response body.
|
||||||
Body body = 1;
|
Body body = 1;
|
||||||
|
@ -151,7 +148,6 @@ message RemoveResponse {
|
||||||
Signature signature = 2;
|
Signature signature = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
message MoveRequest {
|
message MoveRequest {
|
||||||
message Body {
|
message Body {
|
||||||
// TODO import neo.fs.v2.refs.ContainerID directly.
|
// TODO import neo.fs.v2.refs.ContainerID directly.
|
||||||
|
@ -176,8 +172,7 @@ message MoveRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
message MoveResponse {
|
message MoveResponse {
|
||||||
message Body {
|
message Body {}
|
||||||
}
|
|
||||||
|
|
||||||
// Response body.
|
// Response body.
|
||||||
Body body = 1;
|
Body body = 1;
|
||||||
|
@ -185,7 +180,6 @@ message MoveResponse {
|
||||||
Signature signature = 2;
|
Signature signature = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
message GetNodeByPathRequest {
|
message GetNodeByPathRequest {
|
||||||
message Body {
|
message Body {
|
||||||
// Container ID in V2 format.
|
// Container ID in V2 format.
|
||||||
|
@ -235,7 +229,6 @@ message GetNodeByPathResponse {
|
||||||
Signature signature = 2;
|
Signature signature = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
message GetSubTreeRequest {
|
message GetSubTreeRequest {
|
||||||
message Body {
|
message Body {
|
||||||
message Order {
|
message Order {
|
||||||
|
@ -307,7 +300,6 @@ message TreeListResponse {
|
||||||
Signature signature = 2;
|
Signature signature = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
message ApplyRequest {
|
message ApplyRequest {
|
||||||
message Body {
|
message Body {
|
||||||
// Container ID in V2 format.
|
// Container ID in V2 format.
|
||||||
|
@ -325,8 +317,7 @@ message ApplyRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
message ApplyResponse {
|
message ApplyResponse {
|
||||||
message Body {
|
message Body {}
|
||||||
}
|
|
||||||
|
|
||||||
// Response body.
|
// Response body.
|
||||||
Body body = 1;
|
Body body = 1;
|
||||||
|
@ -334,7 +325,6 @@ message ApplyResponse {
|
||||||
Signature signature = 2;
|
Signature signature = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
message GetOpLogRequest {
|
message GetOpLogRequest {
|
||||||
message Body {
|
message Body {
|
||||||
// Container ID in V2 format.
|
// Container ID in V2 format.
|
||||||
|
@ -366,8 +356,7 @@ message GetOpLogResponse {
|
||||||
};
|
};
|
||||||
|
|
||||||
message HealthcheckResponse {
|
message HealthcheckResponse {
|
||||||
message Body {
|
message Body {}
|
||||||
}
|
|
||||||
|
|
||||||
// Response body.
|
// Response body.
|
||||||
Body body = 1;
|
Body body = 1;
|
||||||
|
@ -376,8 +365,7 @@ message HealthcheckResponse {
|
||||||
};
|
};
|
||||||
|
|
||||||
message HealthcheckRequest {
|
message HealthcheckRequest {
|
||||||
message Body {
|
message Body {}
|
||||||
}
|
|
||||||
|
|
||||||
// Request body.
|
// Request body.
|
||||||
Body body = 1;
|
Body body = 1;
|
||||||
|
|
Loading…
Reference in a new issue