Documentation ¶
Index ¶
- type KubePersistentVolumeController
- func (c *KubePersistentVolumeController) Create()
- func (c *KubePersistentVolumeController) Delete()
- func (c *KubePersistentVolumeController) Get()
- func (c *KubePersistentVolumeController) List()
- func (c *KubePersistentVolumeController) Prepare()
- func (c *KubePersistentVolumeController) URLMapping()
- func (c *KubePersistentVolumeController) Update()
- type RobinPersistentVolumeController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubePersistentVolumeController ¶
type KubePersistentVolumeController struct {
base.APIController
}
func (*KubePersistentVolumeController) Create ¶
func (c *KubePersistentVolumeController) Create()
@Title Create @Description create PersistentVolume @router /clusters/:cluster [post]
func (*KubePersistentVolumeController) Delete ¶
func (c *KubePersistentVolumeController) Delete()
@Title Delete @Description delete the PersistentVolume @Success 200 {string} delete success! @router /:name/clusters/:cluster [delete]
func (*KubePersistentVolumeController) Get ¶
func (c *KubePersistentVolumeController) Get()
@Title get pv @Description find pv by cluster @router /:name/clusters/:cluster [get]
func (*KubePersistentVolumeController) List ¶
func (c *KubePersistentVolumeController) List()
@Title List pv @Description find pv by cluster @router /clusters/:cluster [get]
func (*KubePersistentVolumeController) Prepare ¶
func (c *KubePersistentVolumeController) Prepare()
func (*KubePersistentVolumeController) URLMapping ¶
func (c *KubePersistentVolumeController) URLMapping()
func (*KubePersistentVolumeController) Update ¶
func (c *KubePersistentVolumeController) Update()
@Title Update @Description update the PersistentVolume @router /:name/clusters/:cluster [put]
type RobinPersistentVolumeController ¶
type RobinPersistentVolumeController struct {
base.APIController
}
func (*RobinPersistentVolumeController) CreateRbdImage ¶
func (c *RobinPersistentVolumeController) CreateRbdImage()
@Title Create @Description create rbd images @router /rbd.images/clusters/:cluster [post]
func (*RobinPersistentVolumeController) ListRbdImages ¶
func (c *RobinPersistentVolumeController) ListRbdImages()
@Title List RBD @Description find rbd images by cluster @router /rbd.images/clusters/:cluster [get]
func (*RobinPersistentVolumeController) Prepare ¶
func (c *RobinPersistentVolumeController) Prepare()
func (*RobinPersistentVolumeController) URLMapping ¶
func (c *RobinPersistentVolumeController) URLMapping()