mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
init InspectService method
This commit is contained in:
1 parent
6a4a7f2e6a
commit
6eb373e4de
10 files changed
+561
-110
No files matched your search
@@ -12,6 +12,7 @@ service Machine {
|
||||
rpc JoinCluster(JoinClusterRequest) returns (google.protobuf.Empty);
|
||||
rpc Token(google.protobuf.Empty) returns (TokenResponse);
|
||||
rpc Inspect(google.protobuf.Empty) returns (MachineInfo);
|
||||
rpc InspectService(InspectServiceRequest) returns (InspectServiceResponse);
|
||||
}
|
||||
|
||||
message MachineInfo {
|
||||
@@ -44,3 +45,23 @@ message JoinClusterRequest {
|
||||
message TokenResponse {
|
||||
string token = 1;
|
||||
}
|
||||
|
||||
message Service {
|
||||
string id = 1;
|
||||
string name = 2;
|
||||
|
||||
message Container {
|
||||
string machine_id = 1;
|
||||
bytes container = 2;
|
||||
}
|
||||
|
||||
repeated Container containers = 3;
|
||||
}
|
||||
|
||||
message InspectServiceRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message InspectServiceResponse {
|
||||
Service service = 1;
|
||||
}
|
||||
Reference in new issue
Block a user