# Functions
IsFailed checks if the job is failed.
IsSucceeded checks if the job is succeeded.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pformat returns a pretty format output of any value that can be marshaled to JSON.
RandString generates a random string of the desired length.
UpdateJobConditions adds to the jobStatus a new condition if needed, with the conditionType, reason, and message.
# Constants
EnvKubeflowNamespace is a environment variable for namespace when deployed on kubernetes.
JobCreatedReason is added in a job when it is created.
JobFailedReason is added in a job when it is failed.
JobFailedValidationReason is added in a job when it failed validation.
JobRestartingReason is added in a job when it is restarting.
JobRunningReason is added in a job when it is running.
JobSucceededReason is added in a job when it is succeeded.