job

package
Version: v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterJob

type ClusterJob struct {
	Job     batchv1.Job `json:"kubeJob"`
	Cluster string      `json:"cluster"`
}

type KubeJobController

type KubeJobController struct {
	base.APIController
}

func (*KubeJobController) ListJobByCronJob added in v1.6.0

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()

Source Files

Jump to

Keyboard shortcuts

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