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) Deploy ¶
func (c *KubeDaemonSetController) Deploy()
@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) 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) Offline ¶
func (c *KubeDaemonSetController) Offline()
@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) Prepare ¶
func (c *KubeDaemonSetController) Prepare()
func (*KubeDaemonSetController) URLMapping ¶
func (c *KubeDaemonSetController) URLMapping()