- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for JobSuspended (0.23 sec)
-
pkg/controller/job/util/utils_test.go
}, wantJobFinished: false, wantConditionType: "", }, "Job has multiple conditions, one of them being complete and condition true": { conditions: []batch.JobCondition{ { Type: batch.JobSuspended, Status: v1.ConditionFalse, }, { Type: batch.JobComplete, Status: v1.ConditionTrue, }, { Type: batch.JobFailed, Status: v1.ConditionFalse, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 09:27:46 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
wantType: batch.JobSuspended, wantStatus: v1.ConditionTrue, wantReason: "foo", expectList: []batch.JobCondition{*newCondition(batch.JobSuspended, v1.ConditionTrue, "foo", "", realClock.Now())}, expectUpdate: true, }, { name: "append false condition", haveList: []batch.JobCondition{}, wantType: batch.JobSuspended, wantStatus: v1.ConditionFalse,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
// Job can be in the suspended state only if it is NOT completed. var isUpdated bool job.Status.Conditions, isUpdated = ensureJobConditionStatus(job.Status.Conditions, batch.JobSuspended, v1.ConditionTrue, "JobSuspended", "Job suspended", jm.clock.Now()) if isUpdated { suspendCondChanged = true jm.recorder.Event(&job, v1.EventTypeNormal, "Suspended", "Job suspended") } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
pkg/apis/batch/types.go
Failed []types.UID } // JobConditionType is a valid value for JobCondition.Type type JobConditionType string // These are valid conditions of a job. const ( // JobSuspended means the job has been suspended. JobSuspended JobConditionType = "Suspended" // JobComplete means the job has completed its execution. JobComplete JobConditionType = "Complete" // JobFailed means the job has failed its execution.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 33K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
} type JobConditionType string // These are built-in conditions of a job. const ( // JobSuspended means the job has been suspended. JobSuspended JobConditionType = "Suspended" // JobComplete means the job has completed its execution. JobComplete JobConditionType = "Complete" // JobFailed means the job has failed its execution.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
status = "Failed" } else if obj.ObjectMeta.DeletionTimestamp != nil { status = "Terminating" } else if hasJobCondition(obj.Status.Conditions, batch.JobSuspended) { status = "Suspended" } else if hasJobCondition(obj.Status.Conditions, batch.JobFailureTarget) { status = "FailureTarget" } else { status = "Running" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
}, Spec: batch.JobSpec{ Completions: nil, }, Status: batch.JobStatus{ Succeeded: 0, Conditions: []batch.JobCondition{ { Type: batch.JobSuspended, Status: api.ConditionTrue, }, }, }, }, options: printers.GenerateOptions{}, // Columns: Name, Status, Completions, Duration, Age
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0)