Documentation ¶
Index ¶
- type PersistentVolumeClaimController
- func (c *PersistentVolumeClaimController) Create()
- func (c *PersistentVolumeClaimController) Delete()
- func (c *PersistentVolumeClaimController) Get()
- func (c *PersistentVolumeClaimController) GetNames()
- func (c *PersistentVolumeClaimController) List()
- func (c *PersistentVolumeClaimController) Prepare()
- func (c *PersistentVolumeClaimController) URLMapping()
- func (c *PersistentVolumeClaimController) Update()
- func (c *PersistentVolumeClaimController) UpdateOrders()
- type PersistentVolumeClaimTplController
- func (c *PersistentVolumeClaimTplController) Create()
- func (c *PersistentVolumeClaimTplController) Delete()
- func (c *PersistentVolumeClaimTplController) Get()
- func (c *PersistentVolumeClaimTplController) List()
- func (c *PersistentVolumeClaimTplController) Prepare()
- func (c *PersistentVolumeClaimTplController) URLMapping()
- func (c *PersistentVolumeClaimTplController) Update()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentVolumeClaimController ¶
type PersistentVolumeClaimController struct {
base.APIController
}
func (*PersistentVolumeClaimController) Create ¶
func (c *PersistentVolumeClaimController) Create()
@Title Create @Description create PersistentVolumeClaim @Param body body models.PersistentVolumeClaim true "The PersistentVolumeClaim content" @Success 200 return models.PersistentVolumeClaim success @router / [post]
func (*PersistentVolumeClaimController) Delete ¶
func (c *PersistentVolumeClaimController) Delete()
@Title Delete @Description delete the PersistentVolumeClaim @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 [delete]
func (*PersistentVolumeClaimController) Get ¶
func (c *PersistentVolumeClaimController) Get()
@Title Get @Description find Object by id @Param id path int true "the id you want to get" @Success 200 {object} models.PersistentVolumeClaim success @router /:id([0-9]+) [get]
func (*PersistentVolumeClaimController) GetNames ¶
func (c *PersistentVolumeClaimController) GetNames()
@Title List/ @Description get all id and names @Param deleted query bool false "is deleted,default false." @Success 200 {object} []models.PersistentVolumeClaim success @router /names [get]
func (*PersistentVolumeClaimController) List ¶
func (c *PersistentVolumeClaimController) List()
@Title GetAll @Description get all PersistentVolumeClaim @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.PersistentVolumeClaim success @router / [get]
func (*PersistentVolumeClaimController) Prepare ¶
func (c *PersistentVolumeClaimController) Prepare()
func (*PersistentVolumeClaimController) URLMapping ¶
func (c *PersistentVolumeClaimController) URLMapping()
func (*PersistentVolumeClaimController) Update ¶
func (c *PersistentVolumeClaimController) Update()
@Title Update @Description update the PersistentVolumeClaim @Param id path int true "The id you want to update" @Param body body models.PersistentVolumeClaim true "The body" @Success 200 models.PersistentVolumeClaim success @router /:id [put]
func (*PersistentVolumeClaimController) UpdateOrders ¶
func (c *PersistentVolumeClaimController) UpdateOrders()
@Title UpdateOrders @Description batch update the Orders @Param body body []models.PersistentVolumeClaim true "The body" @Success 200 models.Deployment success @router /updateorders [put]
type PersistentVolumeClaimTplController ¶
type PersistentVolumeClaimTplController struct {
base.APIController
}
func (*PersistentVolumeClaimTplController) Create ¶
func (c *PersistentVolumeClaimTplController) Create()
@Title Create @Description create PersistentVolumeClaimTemplate @Param body body models.PersistentVolumeClaimTemplate true "The PersistentVolumeClaimTemplate content" @Success 200 return models.PersistentVolumeClaimTemplate success @router / [post]
func (*PersistentVolumeClaimTplController) Delete ¶
func (c *PersistentVolumeClaimTplController) Delete()
@Title Delete @Description delete the PersistentVolumeClaimTemplate @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 [delete]
func (*PersistentVolumeClaimTplController) Get ¶
func (c *PersistentVolumeClaimTplController) Get()
@Title Get @Description find Object by id @Param id path int true "the id you want to get" @Success 200 {object} models.PersistentVolumeClaimTemplate success @router /:id([0-9]+) [get]
func (*PersistentVolumeClaimTplController) List ¶
func (c *PersistentVolumeClaimTplController) List()
@Title GetAll @Description get all PersistentVolumeClaimTemplate @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" @Success 200 {object} []models.PersistentVolumeClaimTemplate success @router / [get]
func (*PersistentVolumeClaimTplController) Prepare ¶
func (c *PersistentVolumeClaimTplController) Prepare()
func (*PersistentVolumeClaimTplController) URLMapping ¶
func (c *PersistentVolumeClaimTplController) URLMapping()
func (*PersistentVolumeClaimTplController) Update ¶
func (c *PersistentVolumeClaimTplController) Update()
@Title Update @Description update the PersistentVolumeClaimTemplate @Param id path int true "The id you want to update" @Param body body models.PersistentVolumeClaimTemplate true "The body" @Success 200 models.PersistentVolumeClaimTemplate success @router /:id [put]