[集群]增加TOA相关设置

This commit is contained in:
GoEdgeLab
2020-12-02 14:25:14 +08:00
parent 0c8e3e5c47
commit c83a05a123
6 changed files with 151 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ package settings
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/clusters/cluster/settings/dns"
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/clusters/cluster/settings/toa"
clusters "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/clusters/clusterutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/iwind/TeaGo"
@@ -18,7 +19,12 @@ func init() {
GetPost("/healthRunPopup", new(HealthRunPopupAction)).
// DNS
GetPost("/dns", new(dns.IndexAction)).
Prefix("/clusters/cluster/settings/dns").
GetPost("", new(dns.IndexAction)).
// TOA
Prefix("/clusters/cluster/settings/toa").
GetPost("", new(toa.IndexAction)).
EndAll()
})