cronjob

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeCronjobController

type KubeCronjobController struct {
	base.APIController
}

func (*KubeCronjobController) Create added in v1.6.0

func (c *KubeCronjobController) Create()

@Title deploy @Description deploy tpl @Param body body string true "The tpl content" @Success 200 return ok success @router /:cronjobId/tpls/:tplId/clusters/:cluster [post]

func (*KubeCronjobController) Delete added in v1.6.0

func (c *KubeCronjobController) Delete()

@Title Delete @Description delete the Cronjob @Param cluster path string true "the cluster want to delete" @Param namespace path string true "the namespace want to delete" @Param cronjob path string true "the cronjob name want to delete" @Success 200 {string} delete success! @router /:cronjob/namespaces/:namespace/clusters/:cluster [delete]

func (*KubeCronjobController) Get

func (c *KubeCronjobController) Get()

@Title Get @Description find Cronjob by cluster @Success 200 {object} models.Cronjob success @router /:cronjob/namespaces/:namespace/clusters/:cluster [get]

func (*KubeCronjobController) Prepare

func (c *KubeCronjobController) Prepare()

func (*KubeCronjobController) Suspend

func (c *KubeCronjobController) Suspend()

@Title Suspend CronJob @Description Suspend CronJob @Success 200 return ok success @router /:cronjobId/tpls/:tplId/clusters/:cluster/suspend [post]

func (*KubeCronjobController) URLMapping

func (c *KubeCronjobController) URLMapping()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL