实现集群自定义页面

This commit is contained in:
GoEdgeLab
2023-05-22 17:30:08 +08:00
parent 10c2478ec0
commit 933329cd51
8 changed files with 1720 additions and 987 deletions

View File

@@ -173,6 +173,9 @@ service NodeService {
// 查找节点的UAM策略
rpc findNodeUAMPolicies(FindNodeUAMPoliciesRequest) returns (FindNodeUAMPoliciesResponse);
// 查找节点的自定义页面策略
rpc findNodeHTTPPagesPolicies(FindNodeHTTPPagesPoliciesRequest) returns (FindNodeHTTPPagesPoliciesResponse);
// 查找节点调度信息
rpc findNodeScheduleInfo(FindNodeScheduleInfoRequest) returns (FindNodeScheduleInfoResponse);
@@ -698,6 +701,20 @@ message FindNodeUAMPoliciesResponse {
}
}
// 查找节点的自定义页面策略
message FindNodeHTTPPagesPoliciesRequest {
int64 nodeId = 1; // 节点ID
}
message FindNodeHTTPPagesPoliciesResponse {
repeated HTTPPagesPolicy httpPagesPolicies = 1; // 自定义页面策略列表
message HTTPPagesPolicy {
int64 nodeClusterId = 1; // 集群ID
bytes httpPagesPolicyJSON = 2; // 自定义页面策略配置
}
}
// 查找节点调度信息
message FindNodeScheduleInfoRequest {
int64 nodeId = 1; // 节点ID