Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeDaemonSetController ¶
type KubeDaemonSetController struct {
base.APIController
}
func (*KubeDaemonSetController) Create ¶ added in v1.6.0
func (c *KubeDaemonSetController) Create()
@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:daemonSetId([0-9]+)/tpls/:tplId([0-9]+)/clusters/:cluster [post]
func (*KubeDaemonSetController) Delete ¶ added in v1.6.0
func (c *KubeDaemonSetController) Delete()
@Title Delete @Description delete the DaemonSet @Param cluster path string true "the cluster want to delete" @Param namespace path string true "the namespace want to delete" @Param daemonSet path string true "the daemonSet name want to delete" @Success 200 {string} delete success! @router /:daemonSet/namespaces/:namespace/clusters/:cluster [delete]
func (*KubeDaemonSetController) Get ¶
func (c *KubeDaemonSetController) Get()
@Title Get @Description find DaemonSet by cluster @Success 200 {object} models.DaemonSet success @router /:daemonSet/namespaces/:namespace/clusters/:cluster [get]
func (*KubeDaemonSetController) Prepare ¶
func (c *KubeDaemonSetController) Prepare()
func (*KubeDaemonSetController) URLMapping ¶
func (c *KubeDaemonSetController) URLMapping()