configmap

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 ConfigMapController

type ConfigMapController struct {
	base.APIController
}

func (*ConfigMapController) Create

func (c *ConfigMapController) Create()

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

func (*ConfigMapController) Delete

func (c *ConfigMapController) Delete()

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

func (c *ConfigMapController) Get()

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

func (*ConfigMapController) GetNames

func (c *ConfigMapController) GetNames()

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

func (*ConfigMapController) List

func (c *ConfigMapController) List()

@Title GetAll @Description get all ConfigMap @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.ConfigMap success @router / [get]

func (*ConfigMapController) Prepare

func (c *ConfigMapController) Prepare()

func (*ConfigMapController) URLMapping

func (c *ConfigMapController) URLMapping()

func (*ConfigMapController) Update

func (c *ConfigMapController) Update()

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

func (*ConfigMapController) UpdateOrders

func (c *ConfigMapController) UpdateOrders()

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

type ConfigMapTplController

type ConfigMapTplController struct {
	base.APIController
}

func (*ConfigMapTplController) Create

func (c *ConfigMapTplController) Create()

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

func (*ConfigMapTplController) Delete

func (c *ConfigMapTplController) Delete()

@Title Delete @Description delete the ConfigMapTemplate @Param tplId 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 (*ConfigMapTplController) Get

func (c *ConfigMapTplController) Get()

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

func (*ConfigMapTplController) List

func (c *ConfigMapTplController) List()

@Title GetAll @Description get all ConfigMapTemplate @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.ConfigMapTemplate success @router / [get]

func (*ConfigMapTplController) Prepare

func (c *ConfigMapTplController) Prepare()

func (*ConfigMapTplController) URLMapping

func (c *ConfigMapTplController) URLMapping()

func (*ConfigMapTplController) Update

func (c *ConfigMapTplController) Update()

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

Jump to

Keyboard shortcuts

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