Documentation ¶
Index ¶
- type IngressController
- func (c *IngressController) Create()
- func (c *IngressController) Delete()
- func (c *IngressController) Get()
- func (c *IngressController) GetNames()
- func (c *IngressController) List()
- func (c *IngressController) Prepare()
- func (c *IngressController) URLMapping()
- func (c *IngressController) Update()
- func (c *IngressController) UpdateOrders()
- type IngressTplController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressController ¶
type IngressController struct {
base.APIController
}
func (*IngressController) Create ¶
func (c *IngressController) Create()
func (*IngressController) Delete ¶
func (c *IngressController) Delete()
func (*IngressController) Get ¶
func (c *IngressController) Get()
func (*IngressController) GetNames ¶
func (c *IngressController) GetNames()
func (*IngressController) List ¶
func (c *IngressController) List()
func (*IngressController) Prepare ¶
func (c *IngressController) Prepare()
func (*IngressController) URLMapping ¶
func (c *IngressController) URLMapping()
func (*IngressController) Update ¶
func (c *IngressController) Update()
func (*IngressController) UpdateOrders ¶
func (c *IngressController) UpdateOrders()
type IngressTplController ¶
type IngressTplController struct {
base.APIController
}
func (*IngressTplController) Create ¶
func (c *IngressTplController) Create()
@Title Create @Description create ingressTpl @Param body body models.ingressTemplate true "The ingressTpl content" @Success 200 return models.ingressTemplate success @router / [post]
func (*IngressTplController) Delete ¶
func (c *IngressTplController) Delete()
@Title Delete @Description delete the ingressTpl @Param id path int true "The id you want to delete" @Param logical query bool false "is logical deletion,default true" @Success 200 {string} delete success! @router /:id([0-9]+) [delete]
func (*IngressTplController) Get ¶
func (c *IngressTplController) Get()
@Title Get @Description find Object by id @Param id path int true "the id you want to get" @Success 200 {object} models.ingressTemplate success @router /:id([0-9]+) [get]
func (*IngressTplController) List ¶
func (c *IngressTplController) List()
@Title GetAll @Description get all ingressTpl @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param name query string false "name filter" @Param deleted query bool false "is deleted, default list all" @Success 200 {object} []models.ingressTemplate success @router / [get]
func (*IngressTplController) Prepare ¶
func (c *IngressTplController) Prepare()
func (*IngressTplController) URLMapping ¶
func (c *IngressTplController) URLMapping()
func (*IngressTplController) Update ¶
func (c *IngressTplController) Update()
@Title Update @Description update the ingrTpl @Param id path int true "The id you want to update" @Param body body models.ingrTemplate true "The body" @Success 200 models.ingrTemplate success @router /:id([0-9]+) [put]