Documentation ¶
Index ¶
- Variables
- func Fill(parentID uint64, m map[uint64][]ms.RouteItem) []ms.RouteItem
- type APIController
- func (c *APIController) CheckMD5()
- func (c *APIController) CheckTime()
- func (c *APIController) GetAllItems()
- func (c *APIController) GetConfs()
- func (c *APIController) GetConfsWithMd5()
- func (c *APIController) GetEnvs()
- func (c *APIController) GetHosts()
- func (c *APIController) GetItemsTree()
- func (c *APIController) GetServs()
- func (c *APIController) UpdateEnv()
- func (c *APIController) UpdateGroup()
- func (c *APIController) UpdateHost()
- func (c *APIController) UpdateItem()
- func (c *APIController) UpdateServsConf()
- func (c *APIController) UpdateUserGroup()
- type JSONRetMsg
- type MainController
- type ReleaseController
- type ThirdController
Constants ¶
This section is empty.
Variables ¶
View Source
var (
E *casbin.Enforcer
)
Functions ¶
Types ¶
type APIController ¶
type APIController struct { beego.Controller JSONRetMsg }
APIController for backstage api
func (*APIController) CheckMD5 ¶
func (c *APIController) CheckMD5()
func (*APIController) CheckTime ¶
func (c *APIController) CheckTime()
func (*APIController) GetConfsWithMd5 ¶
func (c *APIController) GetConfsWithMd5()
GetConfsWithMd5 returns with md5
func (*APIController) GetServs ¶
func (c *APIController) GetServs()
func (*APIController) UpdateServsConf ¶
func (c *APIController) UpdateServsConf()
UpdateServsConf update conf
func (*APIController) UpdateUserGroup ¶
func (c *APIController) UpdateUserGroup()
GetItems return items
type JSONRetMsg ¶
type JSONRetMsg struct {
// contains filtered or unexported fields
}
JSONRetMsg represent return data
func (*JSONRetMsg) GenRetJSON ¶
func (r *JSONRetMsg) GenRetJSON() map[string]interface{}
GenRetJSON m to jsonM
type MainController ¶
type MainController struct {
beego.Controller
}
MainController main controller
func (*MainController) Home ¶
func (c *MainController) Home()
Home goes to index.html file from ./../dist
type ReleaseController ¶
type ReleaseController struct { beego.Controller JSONRetMsg }
ReleaseController struct
type ThirdController ¶
type ThirdController struct { beego.Controller JSONRetMsg }
ThirdController for backstage api
Click to show internal directories.
Click to hide internal directories.