job

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: Apache-2.0 Imports: 7 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) GetPodsEvent

func (c *KubeJobController) GetPodsEvent()

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

func (*KubeJobController) ListAllClusterByCronjob

func (c *KubeJobController) ListAllClusterByCronjob()

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

func (*KubeJobController) ListByCronjob

func (c *KubeJobController) ListByCronjob()

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

func (*KubeJobController) Prepare

func (c *KubeJobController) Prepare()

func (*KubeJobController) URLMapping

func (c *KubeJobController) URLMapping()

Jump to

Keyboard shortcuts

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