Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteController ¶
type DeleteController struct {
beego.Controller
}
func (*DeleteController) Delete ¶
func (c *DeleteController) Delete()
@Title delete @Description delete the autoscaler @Param kind path string true "The type of target autoscaler configured for" @Param name path string true "The name of target autoscaler configured for" @Success 200 {string} {} @Failure 404 error reason @router /:kind/:name [delete]
type EditController ¶
type EditController struct {
beego.Controller
}
func (*EditController) Get ¶
func (c *EditController) Get()
@Title get @Description get the autoscaler @Param kind path string true "The type of target autoscaler configured for" @Param name path string true "The name of target autoscaler configured for" @Success 200 {object} guirestapi.deploy.autoscaler.ReplicationControllerAutoScaler @Failure 404 error reason @router /:kind/:name [get]
func (*EditController) Put ¶
func (c *EditController) Put()
@Title update @Description update the autoscaler @Param body body guirestapi.deploy.autoscaler.ReplicationControllerAutoScaler true "body for autoscaler" @Success 200 {string} {} @Failure 404 error reason @router / [put]
type ListController ¶
type ListController struct {
beego.Controller
}
func (*ListController) GetAll ¶
func (c *ListController) GetAll()
@Title get @Description get all autoscalers @Success 200 {string} []ReplicationControllerAutoScaler @Failure 404 error reason @router / [get]