job

package
v0.0.0-...-9f47d3d Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobClient

type JobClient struct {
	// contains filtered or unexported fields
}

func New

func New(k8s *kubernetes.KubeClient, image, imagePullSecret, clusterId string, timeout int64) JobClient

func (JobClient) StartJob

func (j JobClient) StartJob(pods []libk8s.PodInfo) (*batchv1.Job, error)

func (JobClient) WaitForJob

func (j JobClient) WaitForJob(job *batchv1.Job) bool

Jump to

Keyboard shortcuts

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