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) Create ¶ added in v1.6.0
func (c *KubeServiceController) Create()
@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 GetDetail @Description find Deployment by cluster @Param cluster path string true "the cluster name" @Param namespace path string true "the namespace name" @Success 200 {object} service.ServiceDetail success @router /:service/detail/namespaces/:namespace/clusters/:cluster [get]
func (*KubeServiceController) Prepare ¶
func (c *KubeServiceController) Prepare()
func (*KubeServiceController) URLMapping ¶
func (c *KubeServiceController) URLMapping()
Click to show internal directories.
Click to hide internal directories.