mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-30 14:56:35 +08:00
实现CPU线程数和修改节点的启用状态
This commit is contained in:
@@ -19,6 +19,8 @@ message Node {
|
||||
int64 version = 9;
|
||||
int64 latestVersion = 10;
|
||||
repeated int64 connectedAPINodeIds = 11;
|
||||
int32 maxCPU = 12;
|
||||
bool isOn = 13;
|
||||
|
||||
NodeCluster cluster = 32;
|
||||
NodeLogin login = 33;
|
||||
|
||||
@@ -113,6 +113,8 @@ message UpdateNodeRequest {
|
||||
string name = 2;
|
||||
int64 clusterId = 3;
|
||||
NodeLogin Login = 4;
|
||||
int32 maxCPU = 5;
|
||||
bool isOn = 6;
|
||||
}
|
||||
|
||||
// 查找节点
|
||||
|
||||
Reference in New Issue
Block a user