Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeStatefulsetController ¶
type KubeStatefulsetController struct {
base.APIController
}
func (*KubeStatefulsetController) Create ¶ added in v1.6.0
func (c *KubeStatefulsetController) Create()
@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:statefulsetId([0-9]+)/tpls/:tplId([0-9]+)/clusters/:cluster [post]
func (*KubeStatefulsetController) Get ¶
func (c *KubeStatefulsetController) Get()
@Title Get @Description find Statefulset by cluster @Success 200 {object} models.Statefulset success @router /:statefulset/namespaces/:namespace/clusters/:cluster [get]
func (*KubeStatefulsetController) Prepare ¶
func (c *KubeStatefulsetController) Prepare()
func (*KubeStatefulsetController) URLMapping ¶
func (c *KubeStatefulsetController) URLMapping()
Click to show internal directories.
Click to hide internal directories.