job

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsJobActive

func IsJobActive(r v1.Job) bool

IsJobActive returns true if the job has not completed or terminated yet

func NewLauncher

func NewLauncher(kubeClient kubernetes.Interface, ns string, selector string, runner cmdrunner.CommandRunner) (launcher.Interface, error)

NewLauncher creates a new launcher for Jobs using the given kubernetes client and namespace if nil is passed in the kubernetes client will be lazily created

func OverlayJob added in v0.0.159

func OverlayJob(job *v1.Job, overlay *v1.Job) error

OverlayJob applies the given overlay to the job

Types

This section is empty.

Jump to

Keyboard shortcuts

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