集群可以设置systemd系统服务

This commit is contained in:
GoEdgeLab
2021-01-11 18:15:53 +08:00
parent e954e57f3d
commit 18f0f13cd0
12 changed files with 247 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
Tea.context(function () {
this.isRequesting = true
this.results = []
this.$delay(function () {
this.reload()
}, 2000)
this.reload = function () {
this.isRequesting = true
this.$post("$")
.params({
clusterId: this.clusterId
})
.success(function (resp) {
this.results = resp.data.results
})
.done(function () {
this.isRequesting = false
})
}
})