util

package
v1.32.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FinishedCondition

func FinishedCondition(j *batch.Job) (bool, batch.JobConditionType)

FinishedCondition returns true if a job is finished as well as the condition type indicating that. Returns false and no condition type otherwise

func IsJobFinished

func IsJobFinished(j *batch.Job) bool

IsJobFinished checks whether the given Job has finished execution. It does not discriminate between successful and failed terminations.

func IsJobSucceeded

func IsJobSucceeded(j *batch.Job) bool

IsJobSucceeded returns whether a job has completed successfully.

Types

This section is empty.

Jump to

Keyboard shortcuts

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