ingress

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeIngressController

type KubeIngressController struct {
	base.APIController
}

func (*KubeIngressController) Deploy

func (c *KubeIngressController) Deploy()

@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:ingressId([0-9]+)/tpls/:tplId([0-9]+)/clusters/:cluster [post]

func (*KubeIngressController) Get

func (c *KubeIngressController) Get()

@Title Get @Description find Deployment by cluster @Param cluster path string true "the cluster name" @Param namespace path string true "the namespace name" @Success 200 {object} models.Deployment success @router /:ingress/namespaces/:namespace/clusters/:cluster [get]

func (*KubeIngressController) GetDetail added in v1.3.0

func (c *KubeIngressController) GetDetail()

func (*KubeIngressController) List added in v1.3.0

func (c *KubeIngressController) List()

@Title List ingress @Description get all ingress in a kubernetes cluster @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param filter query string false "column filter, ex. filter=name=test" @Param sortby query string false "column sorted by, ex. sortby=-id, '-' representation desc, and sortby=id representation asc" @Param cluster path string true "the cluster name" @Param namespace path string true "the namespace name" @Success 200 {object} common.Page success @router /namespaces/:namespace/clusters/:cluster [get]

func (*KubeIngressController) Offline

func (c *KubeIngressController) Offline()

@Title Delete @Description delete the Ingress @Param cluster path string true "the cluster want to delete" @Param namespace path string true "the namespace want to delete" @Param deployment path string true "the deployment name want to delete" @Success 200 {string} delete success! @router /:ingress/namespaces/:namespace/clusters/:cluster [delete]

func (*KubeIngressController) Prepare

func (c *KubeIngressController) Prepare()

func (*KubeIngressController) URLMapping

func (c *KubeIngressController) URLMapping()

Jump to

Keyboard shortcuts

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