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