statefulset

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatefulsetController

type StatefulsetController struct {
	base.APIController
}

func (*StatefulsetController) Create

func (c *StatefulsetController) Create()

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

func (*StatefulsetController) Delete

func (c *StatefulsetController) Delete()

@Title Delete @Description delete the Statefulset @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([0-9]+) [delete]

func (*StatefulsetController) Get

func (c *StatefulsetController) Get()

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

func (*StatefulsetController) GetNames

func (c *StatefulsetController) GetNames()

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

func (*StatefulsetController) List

func (c *StatefulsetController) List()

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

func (*StatefulsetController) Prepare

func (c *StatefulsetController) Prepare()

func (*StatefulsetController) URLMapping

func (c *StatefulsetController) URLMapping()

func (*StatefulsetController) Update

func (c *StatefulsetController) Update()

@Title Update @Description update the Statefulset @Param id path int true "The id you want to update" @Param body body models.Statefulset true "The body" @Success 200 models.Statefulset success @router /:id([0-9]+) [put]

func (*StatefulsetController) UpdateOrders

func (c *StatefulsetController) UpdateOrders()

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

type StatefulsetTplController

type StatefulsetTplController struct {
	base.APIController
}

func (*StatefulsetTplController) Create

func (c *StatefulsetTplController) Create()

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

func (*StatefulsetTplController) Delete

func (c *StatefulsetTplController) Delete()

@Title Delete @Description delete the StatefulsetTemplate @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 (*StatefulsetTplController) Get

func (c *StatefulsetTplController) Get()

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

func (*StatefulsetTplController) List

func (c *StatefulsetTplController) List()

@Title GetAll @Description get all StatefulsetTemplate @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param statefulsetId query int false "statefulset id" @Param isOnline query bool false "only show online tpls,default false" @Param name query string false "name filter" @Param deleted query bool false "is deleted" @Success 200 {object} []models.StatefulsetTemplate success @router / [get]

func (*StatefulsetTplController) Prepare

func (c *StatefulsetTplController) Prepare()

func (*StatefulsetTplController) URLMapping

func (c *StatefulsetTplController) URLMapping()

func (*StatefulsetTplController) Update

func (c *StatefulsetTplController) Update()

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

Jump to

Keyboard shortcuts

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