[域名解析]优化解析状态显示

This commit is contained in:
GoEdgeLab
2020-12-23 16:49:57 +08:00
parent 3fb504cec5
commit cb38ad9b2b
6 changed files with 805 additions and 348 deletions

View File

@@ -62,6 +62,9 @@ service NodeClusterService {
// 计算使用某个DNS域名的集群数量
rpc countAllEnabledNodeClustersWithDNSDomainId (CountAllEnabledNodeClustersWithDNSDomainIdRequest) returns (RPCCountResponse);
// 查找使用某个域名的所有集群
rpc findAllEnabledNodeClustersWithDNSDomainId (FindAllEnabledNodeClustersWithDNSDomainIdRequest) returns (FindAllEnabledNodeClustersWithDNSDomainIdResponse);
// 检查集群域名是否已经被使用
rpc checkNodeClusterDNSName (CheckNodeClusterDNSNameRequest) returns (CheckNodeClusterDNSNameResponse);
@@ -247,6 +250,15 @@ message CountAllEnabledNodeClustersWithDNSDomainIdRequest {
int64 dnsDomainId = 1;
}
// 查找使用某个域名的所有集群
message FindAllEnabledNodeClustersWithDNSDomainIdRequest {
int64 dnsDomainId = 1;
}
message FindAllEnabledNodeClustersWithDNSDomainIdResponse {
repeated NodeCluster nodeClusters = 1;
}
// 检查集群域名是否已经被使用
message CheckNodeClusterDNSNameRequest {
int64 nodeClusterId = 1;