Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterJob ¶
type KubeJobController ¶
type KubeJobController struct {
base.APIController
}
func (*KubeJobController) DeleteJob ¶
func (c *KubeJobController) DeleteJob()
@Title DeleteJob @Description Delete job by name @Param name query string true "the job name." @Param cluster query string true "the cluster name." @Param namespace path string true "the namespace name." @Success 200 {object} models.Deployment success @router /namespaces/:namespace/clusters/:cluster [delete]
func (*KubeJobController) ListJobByCronJob ¶
func (c *KubeJobController) ListJobByCronJob()
@Title ListJobByCronJob @Description find jobs by cronjob @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param name query string true "the cronjob name." @Param cluster query string true "the cluster name." @Success 200 {object} models.Deployment success @router /namespaces/:namespace/clusters/:cluster [get]
func (*KubeJobController) Prepare ¶
func (c *KubeJobController) Prepare()
func (*KubeJobController) URLMapping ¶
func (c *KubeJobController) URLMapping()