2020-09-13 19:27:47 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
option go_package = "./pb";
|
|
|
|
|
|
|
|
|
|
package pb;
|
|
|
|
|
|
|
|
|
|
message NodeCluster {
|
|
|
|
|
int64 id = 1;
|
|
|
|
|
string name = 2;
|
|
|
|
|
int64 createdAt = 3;
|
2021-05-25 17:49:05 +08:00
|
|
|
int64 nodeGrantId = 4;
|
2020-09-13 19:27:47 +08:00
|
|
|
string installDir = 5;
|
2020-10-17 11:14:44 +08:00
|
|
|
string uniqueId = 6;
|
|
|
|
|
string secret = 7;
|
2020-11-13 18:23:06 +08:00
|
|
|
string dnsName = 8;
|
|
|
|
|
int64 dnsDomainId = 9;
|
2023-03-18 16:04:27 +08:00
|
|
|
string dnsDefaultRoute = 22; // DNS默认线路
|
2020-12-17 15:51:09 +08:00
|
|
|
int64 httpCachePolicyId = 10;
|
|
|
|
|
int64 httpFirewallPolicyId = 11;
|
2021-07-31 22:23:16 +08:00
|
|
|
bool isOn = 12;
|
2021-10-12 11:45:28 +08:00
|
|
|
string timeZone = 13;
|
2021-12-09 18:49:44 +08:00
|
|
|
int32 nodeMaxThreads = 14;
|
2022-01-03 16:28:02 +08:00
|
|
|
bool autoOpenPorts = 16;
|
2022-03-17 11:13:04 +08:00
|
|
|
bool isPinned = 17;
|
2022-09-15 15:57:16 +08:00
|
|
|
bytes clockJSON = 18;
|
2022-09-17 15:11:25 +08:00
|
|
|
bool autoRemoteStart = 19;
|
2022-09-18 09:26:01 +08:00
|
|
|
bool autoInstallNftables = 20;
|
2022-10-26 19:23:29 +08:00
|
|
|
bytes sshParamsJSON = 21;
|
2023-10-08 16:01:21 +08:00
|
|
|
bool autoSystemTuning = 23; // 是否自动调节系统参数
|
2024-04-04 17:05:09 +08:00
|
|
|
bool autoTrimDisks = 24; // 是否自动TRIM硬盘
|
2024-04-30 19:08:51 +08:00
|
|
|
int32 maxConcurrentReads = 25; // 最大并发读
|
|
|
|
|
int32 maxConcurrentWrites = 26; // 最大并发写
|
2020-09-13 19:27:47 +08:00
|
|
|
}
|