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 gluster cluster configuration @Param clusterName path string true "The name of gluster cluster configuration" @Success 200 {string} {} @Failure 404 error reason @router /:clusterName [delete]
type EditController ¶
type EditController struct {
beego.Controller
}
func (*EditController) Get ¶
func (c *EditController) Get()
@Title get @Description get the glusterfs cluster configuration @Param clusterName path string true "The name of glusterfs cluster configuration" @Success 200 {object} guirestapi.filesystem.glusterfs.cluster.GlusterfsCluster @Failure 404 error reason @router /:clusterName [get]
func (*EditController) Post ¶
func (c *EditController) Post()
@Title create @Description create gluster cluster configuration @Param body body guirestapi.filesystem.glusterfs.cluster.GlusterfsClusterInput true "body for glusterfs cluster configuration" @Success 200 {string} {} @Failure 404 error reason @router / [post]
func (*EditController) Put ¶
func (c *EditController) Put()
@Title update @Description update gluster cluster configuration @Param body body guirestapi.filesystem.glusterfs.cluster.GlusterfsClusterInput true "body for glusterfs cluster configuration" @Success 200 {string} {} @Failure 404 error reason @router / [put]
type GlusterfsCluster ¶
type GlusterfsClusterInput ¶
type ListController ¶
type ListController struct {
beego.Controller
}
func (*ListController) Get ¶
func (c *ListController) Get()
@Title get @Description get all glusterfs cluster configurations @Success 200 {string} []GlusterfsCluster @Failure 404 error reason @router / [get]