package jobStatus

JobStatus represents the current state of a Job.

Index

Fields

fn withActive

withActive(active)

The number of actively running pods.

fn withCompletionTime

withCompletionTime(completionTime)

Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

fn withConditions

withConditions(conditions)

The latest available observations of an object’s current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

fn withConditionsMixin

withConditionsMixin(conditions)

The latest available observations of an object’s current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

Note: This function appends passed data to existing values

fn withFailed

withFailed(failed)

The number of pods which reached phase Failed.

fn withStartTime

withStartTime(startTime)

Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

fn withSucceeded

withSucceeded(succeeded)

The number of pods which reached phase Succeeded.