cronjob

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 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 CronjobController

type CronjobController struct {
	base.APIController
}

func (*CronjobController) Create

func (c *CronjobController) Create()

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

func (*CronjobController) Delete

func (c *CronjobController) Delete()

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

func (c *CronjobController) Get()

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

func (*CronjobController) GetNames

func (c *CronjobController) GetNames()

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

func (*CronjobController) List

func (c *CronjobController) List()

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

func (*CronjobController) Prepare

func (c *CronjobController) Prepare()

func (*CronjobController) URLMapping

func (c *CronjobController) URLMapping()

func (*CronjobController) Update

func (c *CronjobController) Update()

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

func (*CronjobController) UpdateOrders

func (c *CronjobController) UpdateOrders()

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

type CronjobTplController

type CronjobTplController struct {
	base.APIController
}

func (*CronjobTplController) Create

func (c *CronjobTplController) Create()

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

func (*CronjobTplController) Delete

func (c *CronjobTplController) Delete()

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

func (c *CronjobTplController) Get()

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

func (*CronjobTplController) List

func (c *CronjobTplController) List()

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

func (*CronjobTplController) Prepare

func (c *CronjobTplController) Prepare()

func (*CronjobTplController) URLMapping

func (c *CronjobTplController) URLMapping()

func (*CronjobTplController) Update

func (c *CronjobTplController) Update()

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

Jump to

Keyboard shortcuts

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