pvc

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersistentVolumeClaimController

type PersistentVolumeClaimController struct {
	base.APIController
}

func (*PersistentVolumeClaimController) Create

func (c *PersistentVolumeClaimController) Create()

@Title Create @Description create PersistentVolumeClaim @Param body body models.PersistentVolumeClaim true "The PersistentVolumeClaim content" @Success 200 return models.PersistentVolumeClaim success @router / [post]

func (*PersistentVolumeClaimController) Delete

func (c *PersistentVolumeClaimController) Delete()

@Title Delete @Description delete the PersistentVolumeClaim @Param id path int true "The id you want to delete" @Param logical query bool false "is logical deletion,default true" @Success 200 {string} delete success! @router /:id [delete]

func (*PersistentVolumeClaimController) Get

@Title Get @Description find Object by id @Param id path int true "the id you want to get" @Success 200 {object} models.PersistentVolumeClaim success @router /:id([0-9]+) [get]

func (*PersistentVolumeClaimController) GetNames

func (c *PersistentVolumeClaimController) GetNames()

@Title List/ @Description get all id and names @Param deleted query bool false "is deleted,default false." @Success 200 {object} []models.PersistentVolumeClaim success @router /names [get]

func (*PersistentVolumeClaimController) List

@Title GetAll @Description get all PersistentVolumeClaim @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param name query string false "name filter" @Param deleted query bool false "is deleted, default list all" @Success 200 {object} []models.PersistentVolumeClaim success @router / [get]

func (*PersistentVolumeClaimController) Prepare

func (c *PersistentVolumeClaimController) Prepare()

func (*PersistentVolumeClaimController) URLMapping

func (c *PersistentVolumeClaimController) URLMapping()

func (*PersistentVolumeClaimController) Update

func (c *PersistentVolumeClaimController) Update()

@Title Update @Description update the PersistentVolumeClaim @Param id path int true "The id you want to update" @Param body body models.PersistentVolumeClaim true "The body" @Success 200 models.PersistentVolumeClaim success @router /:id [put]

func (*PersistentVolumeClaimController) UpdateOrders

func (c *PersistentVolumeClaimController) UpdateOrders()

@Title UpdateOrders @Description batch update the Orders @Param body body []models.PersistentVolumeClaim true "The body" @Success 200 models.Deployment success @router /updateorders [put]

type PersistentVolumeClaimTplController

type PersistentVolumeClaimTplController struct {
	base.APIController
}

func (*PersistentVolumeClaimTplController) Create

@Title Create @Description create PersistentVolumeClaimTemplate @Param body body models.PersistentVolumeClaimTemplate true "The PersistentVolumeClaimTemplate content" @Success 200 return models.PersistentVolumeClaimTemplate success @router / [post]

func (*PersistentVolumeClaimTplController) Delete

@Title Delete @Description delete the PersistentVolumeClaimTemplate @Param id path int true "The id you want to delete" @Param logical query bool false "is logical deletion,default true" @Success 200 {string} delete success! @router /:id [delete]

func (*PersistentVolumeClaimTplController) Get

@Title Get @Description find Object by id @Param id path int true "the id you want to get" @Success 200 {object} models.PersistentVolumeClaimTemplate success @router /:id([0-9]+) [get]

func (*PersistentVolumeClaimTplController) List

@Title GetAll @Description get all PersistentVolumeClaimTemplate @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param name query string false "name filter" @Param deleted query bool false "is deleted" @Success 200 {object} []models.PersistentVolumeClaimTemplate success @router / [get]

func (*PersistentVolumeClaimTplController) Prepare

func (*PersistentVolumeClaimTplController) URLMapping

func (c *PersistentVolumeClaimTplController) URLMapping()

func (*PersistentVolumeClaimTplController) Update

@Title Update @Description update the PersistentVolumeClaimTemplate @Param id path int true "The id you want to update" @Param body body models.PersistentVolumeClaimTemplate true "The body" @Success 200 models.PersistentVolumeClaimTemplate success @router /:id [put]

Jump to

Keyboard shortcuts

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