mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-07 23:30:25 +08:00
提供查询某集群未安装的节点数量的API
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -73,6 +73,9 @@ service NodeService {
|
|||||||
// 查找使用某个认证的所有节点
|
// 查找使用某个认证的所有节点
|
||||||
rpc findAllEnabledNodesWithGrantId (FindAllEnabledNodesWithGrantIdRequest) returns (FindAllEnabledNodesWithGrantIdResponse);
|
rpc findAllEnabledNodesWithGrantId (FindAllEnabledNodesWithGrantIdRequest) returns (FindAllEnabledNodesWithGrantIdResponse);
|
||||||
|
|
||||||
|
// 计算没有安装的节点数量
|
||||||
|
rpc countAllNotInstalledNodesWithClusterId (CountAllNotInstalledNodesWithClusterIdRequest) returns (RPCCountResponse);
|
||||||
|
|
||||||
// 列出所有未安装的节点
|
// 列出所有未安装的节点
|
||||||
rpc findAllNotInstalledNodesWithClusterId (FindAllNotInstalledNodesWithClusterIdRequest) returns (FindAllNotInstalledNodesWithClusterIdResponse);
|
rpc findAllNotInstalledNodesWithClusterId (FindAllNotInstalledNodesWithClusterIdRequest) returns (FindAllNotInstalledNodesWithClusterIdResponse);
|
||||||
|
|
||||||
@@ -303,6 +306,11 @@ message FindAllNotInstalledNodesWithClusterIdResponse {
|
|||||||
repeated Node nodes = 1;
|
repeated Node nodes = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 计算未安装的节点数量
|
||||||
|
message CountAllNotInstalledNodesWithClusterIdRequest {
|
||||||
|
int64 nodeClusterId = 1;
|
||||||
|
}
|
||||||
|
|
||||||
// 计算需要升级的节点数量
|
// 计算需要升级的节点数量
|
||||||
message CountAllUpgradeNodesWithClusterIdRequest {
|
message CountAllUpgradeNodesWithClusterIdRequest {
|
||||||
int64 nodeClusterId = 1;
|
int64 nodeClusterId = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user