daemonset

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 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 DaemonSetController

type DaemonSetController struct {
	base.APIController
}

func (*DaemonSetController) Create

func (c *DaemonSetController) Create()

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

func (*DaemonSetController) Delete

func (c *DaemonSetController) Delete()

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

func (c *DaemonSetController) Get()

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

func (*DaemonSetController) GetNames

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

func (*DaemonSetController) List

func (c *DaemonSetController) List()

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

func (*DaemonSetController) Prepare

func (c *DaemonSetController) Prepare()

func (*DaemonSetController) URLMapping

func (c *DaemonSetController) URLMapping()

func (*DaemonSetController) Update

func (c *DaemonSetController) Update()

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

func (*DaemonSetController) UpdateOrders

func (c *DaemonSetController) UpdateOrders()

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

type DaemonSetTplController

type DaemonSetTplController struct {
	base.APIController
}

func (*DaemonSetTplController) Create

func (c *DaemonSetTplController) Create()

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

func (*DaemonSetTplController) Delete

func (c *DaemonSetTplController) Delete()

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

func (c *DaemonSetTplController) Get()

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

func (*DaemonSetTplController) List

func (c *DaemonSetTplController) List()

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

func (*DaemonSetTplController) Prepare

func (c *DaemonSetTplController) Prepare()

func (*DaemonSetTplController) URLMapping

func (c *DaemonSetTplController) URLMapping()

func (*DaemonSetTplController) Update

func (c *DaemonSetTplController) Update()

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

Jump to

Keyboard shortcuts

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