Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScmUrl = "url" ScmUsername = "username" ScmPassword = "password" ScmToken = "scmToken" ScmUid = "uid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct { web.JwtController Username string Password string Url string ScmToken string Uid int }
func (*BaseController) Before ¶
func (c *BaseController) Before(ctx *web.Context)
type CicdController ¶
type CicdController struct {
BaseController
}
Operations about object
func (*CicdController) Before ¶
func (c *CicdController) Before(ctx *web.Context)
func (*CicdController) PostRun ¶
func (c *CicdController) PostRun(ctx *web.Context)
@Title Deploy @Description deploy application by the pipeline @Param body @Success 200 {string} @Failure 403 body is empty @router / [post]
type CicdResponse ¶
type ConfigMapController ¶
type ConfigMapController struct {
BaseController
}
Operations about object
func (*ConfigMapController) Before ¶
func (c *ConfigMapController) Before(ctx *web.Context)
func (*ConfigMapController) PostAdd ¶
func (c *ConfigMapController) PostAdd(ctx *web.Context)
func (*ConfigMapController) PostDelete ¶
func (c *ConfigMapController) PostDelete(ctx *web.Context)
func (*ConfigMapController) PostGet ¶
func (c *ConfigMapController) PostGet(ctx *web.Context)
type DestinationController ¶
type DestinationController struct {
BaseController
}
Operations about object
func (*DestinationController) Before ¶
func (c *DestinationController) Before(ctx *web.Context)
func (*DestinationController) PostAdd ¶
func (c *DestinationController) PostAdd(ctx *web.Context)
type EgressController ¶
type EgressController struct {
BaseController
}
Operations about object
func (*EgressController) Before ¶
func (c *EgressController) Before(ctx *web.Context)
func (*EgressController) PostAdd ¶
func (c *EgressController) PostAdd(ctx *web.Context)
type IstioController ¶
type IstioController struct {
BaseController
}
Operations about object
func (*IstioController) PostDelete ¶
func (c *IstioController) PostDelete(ctx *web.Context)
func (*IstioController) PostGet ¶
func (c *IstioController) PostGet(ctx *web.Context)
type RouteruleController ¶
type RouteruleController struct {
BaseController
}
Operations about object
func (*RouteruleController) Before ¶
func (c *RouteruleController) Before(ctx *web.Context)
func (*RouteruleController) PostAdd ¶
func (c *RouteruleController) PostAdd(ctx *web.Context)
type UserController ¶
type UserController struct {
web.Controller
}
Operations about object
func (*UserController) PostLogin ¶
func (c *UserController) PostLogin(ctx *web.Context)
@Title Login @Description login @Param body @Success 200 {string} @Failure 403 body is empty @router / [post]
type UserRequest ¶
Click to show internal directories.
Click to hide internal directories.