实现DNS节点远程安装

This commit is contained in:
GoEdgeLab
2021-08-11 20:59:58 +08:00
parent 8349a4a279
commit fea5247c84
10 changed files with 185 additions and 26 deletions

View File

@@ -21,6 +21,7 @@ func init() {
GetPost("/createNode", new(CreateNodeAction)).
Post("/deleteNode", new(DeleteNodeAction)).
Get("/upgradeRemote", new(UpgradeRemoteAction)).
GetPost("/updateNodeSSH", new(UpdateNodeSSHAction)).
// 节点相关
Prefix("/ns/clusters/cluster/node").
@@ -30,7 +31,6 @@ func init() {
GetPost("/install", new(node.InstallAction)).
Post("/status", new(node.StatusAction)).
Post("/updateInstallStatus", new(node.UpdateInstallStatusAction)).
EndAll()
})
}