集群可以设置systemd系统服务

This commit is contained in:
GoEdgeLab
2021-01-11 18:16:04 +08:00
parent af5584c768
commit fe652e6979
8 changed files with 186 additions and 5 deletions

View File

@@ -24,6 +24,7 @@ type NodeCluster struct {
CachePolicyId uint32 `field:"cachePolicyId"` // 缓存策略ID
HttpFirewallPolicyId uint32 `field:"httpFirewallPolicyId"` // WAF策略ID
AccessLog string `field:"accessLog"` // 访问日志设置
SystemServices string `field:"systemServices"` // 系统服务设置
}
type NodeClusterOperator struct {
@@ -49,6 +50,7 @@ type NodeClusterOperator struct {
CachePolicyId interface{} // 缓存策略ID
HttpFirewallPolicyId interface{} // WAF策略ID
AccessLog interface{} // 访问日志设置
SystemServices interface{} // 系统服务设置
}
func NewNodeClusterOperator() *NodeClusterOperator {