Documentation ¶
Index ¶
- type ApplicationSel
- type EnvironmentSel
- type ProjectSel
- type SelsHandler
- func (h *SelsHandler) ApplicationSels(c *gin.Context)
- func (h *SelsHandler) EnvironmentSels(c *gin.Context)
- func (h *SelsHandler) ProjectSels(c *gin.Context)
- func (h *SelsHandler) RegistRouter(rg *gin.RouterGroup)
- func (h *SelsHandler) TenantSels(c *gin.Context)
- func (h *SelsHandler) UserSels(c *gin.Context)
- type TenantSel
- type UserSel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationSel ¶
type EnvironmentSel ¶
type ProjectSel ¶
type SelsHandler ¶
type SelsHandler struct {
base.BaseHandler
}
func (*SelsHandler) ApplicationSels ¶
func (h *SelsHandler) ApplicationSels(c *gin.Context)
@Tags Sels @Summary application sels @Description application sels @Accept json @Produce json @Param project_id query string false "project_id" @Success 200 {object} handlers.ResponseStruct{Data=handlers.PageData{List=[]ApplicationSel}} "data" @Router /v1/sels/applications [get] @Security JWT
func (*SelsHandler) EnvironmentSels ¶
func (h *SelsHandler) EnvironmentSels(c *gin.Context)
@Tags Sels @Summary environment sels @Description environment sels @Accept json @Produce json @Param tenant_id query string false "tenant_id" @Success 200 {object} handlers.ResponseStruct{Data=handlers.PageData{List=[]EnvironmentSel}} "data" @Router /v1/sels/environments [get] @Security JWT
func (*SelsHandler) ProjectSels ¶
func (h *SelsHandler) ProjectSels(c *gin.Context)
@Tags Sels @Summary project sels @Description project sels @Accept json @Produce json @Param tenant_id query string false "tenant_id" @Success 200 {object} handlers.ResponseStruct{Data=handlers.PageData{List=[]ProjectSel}} "data" @Router /v1/sels/projects [get] @Security JWT
func (*SelsHandler) RegistRouter ¶
func (h *SelsHandler) RegistRouter(rg *gin.RouterGroup)
func (*SelsHandler) TenantSels ¶
func (h *SelsHandler) TenantSels(c *gin.Context)
@Tags Sels @Summary tenant sels @Description tenant sels @Accept json @Produce json @Param all query string false "是否全部,默认(false),只有激活的" @Success 200 {object} handlers.ResponseStruct{Data=handlers.PageData{List=[]TenantSel}} "data" @Router /v1/sels/tenants [get] @Security JWT
func (*SelsHandler) UserSels ¶
func (h *SelsHandler) UserSels(c *gin.Context)
@Tags Sels @Summary user sels @Description user sels @Accept json @Produce json @Param tenant_id query string false "tenant_id" @Param all query string false "all" @Success 200 {object} handlers.ResponseStruct{Data=handlers.PageData{List=[]UserSel}} "data" @Router /v1/sels/users [get] @Security JWT