feat: add stub for Reset method in machine API

This commit is contained in:
Pasha Sviderski
2025-07-03 21:28:05 +10:00
parent 5c8beb8bd3
commit 535b91fe52
4 changed files with 176 additions and 57 deletions
+6
View File
@@ -14,6 +14,9 @@ service Machine {
rpc JoinCluster(JoinClusterRequest) returns (google.protobuf.Empty);
rpc Token(google.protobuf.Empty) returns (TokenResponse);
rpc Inspect(google.protobuf.Empty) returns (MachineInfo);
// Reset restores the machine to a clean state, removing all cluster-related сonfiguration and data.
rpc Reset(ResetRequest) returns (google.protobuf.Empty);
rpc InspectService(InspectServiceRequest) returns (InspectServiceResponse);
}
@@ -61,6 +64,9 @@ message TokenResponse {
string token = 1;
}
message ResetRequest {
}
message Service {
string id = 1;
string name = 2;