ingress

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 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 IngressController

type IngressController struct {
	base.APIController
}

func (*IngressController) Create

func (c *IngressController) Create()

@router / [post]

func (*IngressController) Delete

func (c *IngressController) Delete()

@router /:id([0-9]+) [delete]

func (*IngressController) Get

func (c *IngressController) Get()

@router /:id([0-9]+) [get]

func (*IngressController) GetNames

func (c *IngressController) GetNames()

@router /names [get]

func (*IngressController) List

func (c *IngressController) List()

@router / [get]

func (*IngressController) Prepare

func (c *IngressController) Prepare()

func (*IngressController) URLMapping

func (c *IngressController) URLMapping()

func (*IngressController) Update

func (c *IngressController) Update()

@router /:id([0-9]+) [put]

func (*IngressController) UpdateOrders

func (c *IngressController) UpdateOrders()

@router /updateorders [put]

type IngressTplController

type IngressTplController struct {
	base.APIController
}

func (*IngressTplController) Create

func (c *IngressTplController) Create()

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

func (*IngressTplController) Delete

func (c *IngressTplController) Delete()

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

func (c *IngressTplController) Get()

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

func (*IngressTplController) List

func (c *IngressTplController) List()

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

func (*IngressTplController) Prepare

func (c *IngressTplController) Prepare()

func (*IngressTplController) URLMapping

func (c *IngressTplController) URLMapping()

func (*IngressTplController) Update

func (c *IngressTplController) Update()

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

Jump to

Keyboard shortcuts

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