pvc

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubePersistentVolumeClaimController

type KubePersistentVolumeClaimController struct {
	base.APIController
}

func (*KubePersistentVolumeClaimController) Create added in v1.6.0

@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:pvcId/tpls/:tplId/clusters/:cluster [post]

func (*KubePersistentVolumeClaimController) Prepare

func (*KubePersistentVolumeClaimController) URLMapping

func (c *KubePersistentVolumeClaimController) URLMapping()

type RobinPersistentVolumeClaimController

type RobinPersistentVolumeClaimController struct {
	base.APIController
}

func (*RobinPersistentVolumeClaimController) ActiveImage

func (c *RobinPersistentVolumeClaimController) ActiveImage()

@Title Active Image @Description active rbd images @router /:pvc/rbd/namespaces/:namespace/clusters/:cluster [post]

func (*RobinPersistentVolumeClaimController) CreateSnapshot

func (c *RobinPersistentVolumeClaimController) CreateSnapshot()

@Title create snapshot @Description create snapshot @router /:pvc/snapshot/:version/namespaces/:namespace/clusters/:cluster [post]

func (*RobinPersistentVolumeClaimController) DeleteAllSnapshot

func (c *RobinPersistentVolumeClaimController) DeleteAllSnapshot()

@Title delete all snapshot @Description delete all snapshot @router /:pvc/snapshot/namespaces/:namespace/clusters/:cluster [delete]

func (*RobinPersistentVolumeClaimController) DeleteSnapshot

func (c *RobinPersistentVolumeClaimController) DeleteSnapshot()

@Title delete snapshot @Description delete snapshot @router /:pvc/snapshot/:version/namespaces/:namespace/clusters/:cluster [delete]

func (*RobinPersistentVolumeClaimController) GetPvcStatus

func (c *RobinPersistentVolumeClaimController) GetPvcStatus()

@Title Get pvc status @Description find PersistentVolumeClaim by cluster @router /:pvc/status/namespaces/:namespace/clusters/:cluster [get]

func (*RobinPersistentVolumeClaimController) InActiveImage

func (c *RobinPersistentVolumeClaimController) InActiveImage()

@Title InActive Image @Description inActive rbd images @router /:pvc/rbd/namespaces/:namespace/clusters/:cluster [delete]

func (*RobinPersistentVolumeClaimController) ListSnapshot

func (c *RobinPersistentVolumeClaimController) ListSnapshot()

@Title list snapshot @Description list snapshot @router /:pvc/snapshot/namespaces/:namespace/clusters/:cluster [get]

func (*RobinPersistentVolumeClaimController) LoginInfo

func (c *RobinPersistentVolumeClaimController) LoginInfo()

@Title get user info @Description get user info @router /:pvc/user/namespaces/:namespace/clusters/:cluster [get]

func (*RobinPersistentVolumeClaimController) OfflineImageUser

func (c *RobinPersistentVolumeClaimController) OfflineImageUser()

@Title offline image user @Description offline image user @router /:pvc/user/namespaces/:namespace/clusters/:cluster [delete]

func (*RobinPersistentVolumeClaimController) Prepare

func (*RobinPersistentVolumeClaimController) RollbackSnapshot

func (c *RobinPersistentVolumeClaimController) RollbackSnapshot()

@Title rollback to snapshot version @Description rollback to snapshot version @router /:pvc/snapshot/:version/namespaces/:namespace/clusters/:cluster [put]

func (*RobinPersistentVolumeClaimController) URLMapping

func (c *RobinPersistentVolumeClaimController) URLMapping()

func (*RobinPersistentVolumeClaimController) Verify

@Title verify file @Description verify file @router /:pvc/verify/namespaces/:namespace/clusters/:cluster [get]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL