service

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 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 KubeServiceController

type KubeServiceController struct {
	base.APIController
}

func (*KubeServiceController) Deploy

func (c *KubeServiceController) Deploy()

@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:serviceId/tpls/:tplId/clusters/:cluster [post]

func (*KubeServiceController) Get

func (c *KubeServiceController) Get()

@Title Get @Description find Service by cluster @Success 200 {object} models.Service success @router /:service/namespaces/:namespace/clusters/:cluster [get]

func (*KubeServiceController) Offline

func (c *KubeServiceController) Offline()

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

func (*KubeServiceController) Prepare

func (c *KubeServiceController) Prepare()

func (*KubeServiceController) URLMapping

func (c *KubeServiceController) URLMapping()

Jump to

Keyboard shortcuts

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