- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for failedPos (0.17 sec)
-
pkg/apis/batch/validation/validation.go
failedIndexesIntervals := strings.Split(failedIndexesStr, ",") var completedPos, failedPos int cX, cY, cErr := parseIndexInterval(completedIndexesIntervals[completedPos], completions) fX, fY, fErr := parseIndexInterval(failedIndexesIntervals[failedPos], completions) for completedPos < len(completedIndexesIntervals) && failedPos < len(failedIndexesIntervals) { if cErr != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracerTest.kt
assertEquals(listOf(ErrorReason.UnresolvedReference::class), resolver.trace.expressionResolution(failedLhs.lhs).errors?.map { it.errorReason::class }) val failedRhs = result.errors.first { it.errorReason is ErrorReason.UnresolvedAssignmentRhs }.element as Assignment assertNull(resolver.trace.assignmentResolution(failedRhs).result)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 23:16:59 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy_test.go
count := batch.PodFailurePolicyActionCount testCases := map[string]struct { enableJobBackoffLimitPerIndex bool podFailurePolicy *batch.PodFailurePolicy failedPod *v1.Pod wantJobFailureMessage *string wantCountFailed bool wantAction *batch.PodFailurePolicyAction }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy.go
containerStatus.Name, failedPod.Namespace, failedPod.Name, containerStatus.State.Terminated.ExitCode, podFailurePolicyRule.Action, index) return &msg, true, &failJob } } } else if podFailurePolicyRule.OnPodConditions != nil { if podCondition := matchOnPodConditions(&failedPod.Status, podFailurePolicyRule.OnPodConditions); podCondition != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 20:44:11 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/kubelet/runonce.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
// This means that there is no status update so the counters for // failedPods and succeededPods cannot be incremented. podControllerError error pendingPods int activePods int readyPods int succeededPods int failedPods int terminatingPods int podsWithIndexes []indexPhase
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/cronjob/cronjob_controllerv2.go
} updateStatus := false failedJobs := []*batchv1.Job{} successfulJobs := []*batchv1.Job{} for _, job := range js { isFinished, finishedStatus := jm.getFinishedStatus(job) if isFinished && finishedStatus == batchv1.JobComplete { successfulJobs = append(successfulJobs, job) } else if isFinished && finishedStatus == batchv1.JobFailed { failedJobs = append(failedJobs, job) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
wg.Wait() return successfulDeletes, errorFromChannel(errCh) } func nonIgnoredFailedPodsCount(jobCtx *syncJobCtx, failedPods []*v1.Pod) int { result := len(failedPods) if feature.DefaultFeatureGate.Enabled(features.JobPodFailurePolicy) && jobCtx.job.Spec.PodFailurePolicy != nil { for _, p := range failedPods { _, countFailed, _ := matchPodFailurePolicy(jobCtx.job.Spec.PodFailurePolicy, p) if !countFailed { result--
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/kubelet/kubelet_test.go
emptyPod := podWithUIDNameNsSpec("2", "emptypod", "foo", emptyPodSpec) missingPod := podWithUIDNameNsSpec("3", "missingpod", "foo", missingPodSpec) failedPod := podWithUIDNameNsSpec("4", "failedpod", "foo", failedPodSpec) kl.HandlePodAdditions([]*v1.Pod{fittingPod, emptyPod, missingPod, failedPod}) // Check pod status stored in the status map. checkPodStatus(t, kl, fittingPod, v1.PodPending)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
ContainerStatuses: []api.ContainerStatus{ {Ready: true, RestartCount: 3, State: api.ContainerState{Running: &api.ContainerStateRunning{}}}, {RestartCount: 3}, }, }, } failedPod := &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "test2", Labels: map[string]string{"b": "2"}}, Spec: api.PodSpec{Containers: make([]api.Container, 2)}, Status: api.PodStatus{ Phase: "Failed",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0)