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 job conditions to evaluate. These conditions are sorted by LastTransitionTime in descending order to find the most recent 'True' condition. |
Returns
| Type | Description |
|---|---|
kubeflowv1.JobCondition, error | The most recent job condition with a status of 'True', or an error if no such condition is found. |