Archived
节点如果没有设置DNS线路就使用默认线路
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
message DNSIssue {
|
||||
string target = 1;
|
||||
int64 targetId = 2;
|
||||
string type = 3;
|
||||
string description = 4;
|
||||
map<string, string> params = 5;
|
||||
bool mustFix = 6; // 是否必须修复
|
||||
}
|
||||
@@ -3,6 +3,8 @@ option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_dns_issue.proto";
|
||||
|
||||
service DNSService {
|
||||
// 查找问题
|
||||
rpc findAllDNSIssues (FindAllDNSIssuesRequest) returns (FindAllDNSIssuesResponse);
|
||||
@@ -17,10 +19,3 @@ message FindAllDNSIssuesResponse {
|
||||
repeated DNSIssue issues = 1;
|
||||
}
|
||||
|
||||
message DNSIssue {
|
||||
string target = 1;
|
||||
int64 targetId = 2;
|
||||
string type = 3;
|
||||
string description = 4;
|
||||
map<string, string> params = 5;
|
||||
}
|
||||
@@ -244,6 +244,7 @@ message FindEnabledNodeClusterDNSResponse {
|
||||
string name = 1;
|
||||
DNSDomain domain = 2;
|
||||
DNSProvider provider = 3;
|
||||
string defaultRoute = 6;
|
||||
bool nodesAutoSync = 4;
|
||||
bool serversAutoSync = 5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user