deployment

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 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 DeploymentController

type DeploymentController struct {
	base.APIController
}

func (*DeploymentController) Create

func (c *DeploymentController) Create()

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

func (*DeploymentController) Delete

func (c *DeploymentController) Delete()

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

func (c *DeploymentController) Get()

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

func (*DeploymentController) GetNames

func (c *DeploymentController) 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.Deployment success @router /names [get]

func (*DeploymentController) List

func (c *DeploymentController) List()

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

func (*DeploymentController) Prepare

func (c *DeploymentController) Prepare()

func (*DeploymentController) URLMapping

func (c *DeploymentController) URLMapping()

func (*DeploymentController) Update

func (c *DeploymentController) Update()

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

func (*DeploymentController) UpdateOrders

func (c *DeploymentController) UpdateOrders()

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

type DeploymentTplController

type DeploymentTplController struct {
	base.APIController
}

func (*DeploymentTplController) Create

func (c *DeploymentTplController) Create()

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

func (*DeploymentTplController) Delete

func (c *DeploymentTplController) Delete()

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

func (c *DeploymentTplController) Get()

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

func (*DeploymentTplController) List

func (c *DeploymentTplController) List()

@Title GetAll @Description get all DeploymentTemplate @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param deploymentId query int false "deployment 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.DeploymentTemplate success @router / [get]

func (*DeploymentTplController) Prepare

func (c *DeploymentTplController) Prepare()

func (*DeploymentTplController) URLMapping

func (c *DeploymentTplController) URLMapping()

func (*DeploymentTplController) Update

func (c *DeploymentTplController) Update()

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

Jump to

Keyboard shortcuts

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