mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 11:36:35 +08:00
增加服务分组管理
This commit is contained in:
@@ -78,6 +78,9 @@ service ServerService {
|
||||
|
||||
// 计算运行在某个集群上的所有服务数量
|
||||
rpc countAllEnabledServersWithNodeClusterId (CountAllEnabledServersWithNodeClusterIdRequest) returns (CountAllEnabledServersWithNodeClusterIdResponse);
|
||||
|
||||
// 计算使用某个分组的服务数量
|
||||
rpc countAllEnabledServersWithGroupId (CountAllEnabledServersWithGroupIdRequest) returns (CountAllEnabledServersWithGroupIdResponse);
|
||||
}
|
||||
|
||||
// 创建服务
|
||||
@@ -280,4 +283,14 @@ message CountAllEnabledServersWithNodeClusterIdRequest {
|
||||
|
||||
message CountAllEnabledServersWithNodeClusterIdResponse {
|
||||
int64 count = 1;
|
||||
}
|
||||
}
|
||||
|
||||
// 计算使用某个分组的服务数量
|
||||
message CountAllEnabledServersWithGroupIdRequest {
|
||||
int64 groupId = 1;
|
||||
}
|
||||
|
||||
message CountAllEnabledServersWithGroupIdResponse {
|
||||
int64 count = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user