ExtractCurrentCondition
ExtractCurrentCondition will return the first job condition for tensorflow/pytorch
def ExtractCurrentCondition(
jobConditions: []kubeflowv1.JobCondition
) - > kubeflowv1.JobCondition, error
ExtractCurrentCondition will return the first job condition for tensorflow/pytorch
Parameters
| Name | Type | Description |
|---|---|---|
| jobConditions | []kubeflowv1.JobCondition | A slice of kubeflowv1.JobCondition objects representing the conditions of a job. These conditions are sorted by LastTransitionTime in descending order to find the most recent one. |
Returns
| Type | Description |
|---|---|
kubeflowv1.JobCondition, error | The most recent job condition with a status of v1.ConditionTrue, or an error if no such condition is found. |