Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateController ¶
type CreateController struct {
beego.Controller
}
func (*CreateController) Get ¶
func (c *CreateController) 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 /createinformation/:clusterName [get]
func (*CreateController) Post ¶
func (c *CreateController) Post()
@Title create @Description create gluster volume @Param body body guirestapi.filesystem.glusterfs.cluster.GlusterfsVolumeInput true "body for glusterfs volume" @Success 200 {string} {} @Failure 404 error reason @router / [post]
type DeleteController ¶
type DeleteController struct {
beego.Controller
}
func (*DeleteController) Delete ¶
func (c *DeleteController) Delete()
@Title delete @Description delete the gluster volume @Param glusterfsVolume path string true "The name of gluster volume" @Param clusterName path string true "The name of gluster cluster configuration" @Success 200 {string} {} @Failure 404 error reason @router /:clusterName/:glusterfsVolume [delete]
type GlusterfsVolume ¶
type GlusterfsVolumeInput ¶
type ListController ¶
type ListController struct {
beego.Controller
}
func (*ListController) Get ¶
func (c *ListController) Get()
@Title get @Description get all glusterfs cluster configurations @Param clusterName path string true "The name of gluster cluster configuration" @Success 200 {string} []GlusterfsVolume @Failure 404 error reason @router /:clusterName [get]