Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for failedIndexes (0.26 sec)

  1. pkg/registry/batch/job/strategy_test.go

    					BackoffLimitPerIndex: ptr.To[int32](1),
    				},
    				Status: batch.JobStatus{
    					FailedIndexes: ptr.To("invalid format"),
    				},
    			},
    			wantErrs: field.ErrorList{
    				{Type: field.ErrorTypeInvalid, Field: "status.failedIndexes"},
    			},
    		},
    		"invalid format for FailedIndexes, but allowed": {
    			enableJobManagedBy: true,
    			job: &batch.Job{
    				ObjectMeta: validObjectMeta,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    					UncountedTerminatedPods: &batch.UncountedTerminatedPods{
    						Failed: []types.UID{"a1"},
    					},
    					FailedIndexes: ptr.To(""),
    				},
    				{
    					Active:                  1,
    					Failed:                  1,
    					UncountedTerminatedPods: &batch.UncountedTerminatedPods{},
    					FailedIndexes:           ptr.To(""),
    				},
    			},
    			wantFailedPodsMetric: 1,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1/generated.pb.go

    	_ = l
    	if m.Terminating != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.Terminating))
    		i--
    		dAtA[i] = 0x58
    	}
    	if m.FailedIndexes != nil {
    		i -= len(*m.FailedIndexes)
    		copy(dAtA[i:], *m.FailedIndexes)
    		i = encodeVarintGenerated(dAtA, i, uint64(len(*m.FailedIndexes)))
    		i--
    		dAtA[i] = 0x52
    	}
    	if m.Ready != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.Ready))
    		i--
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  4. pkg/apis/batch/validation/validation_test.go

    			completions:         20,
    			wantError:           errors.New("failedIndexes and completedIndexes overlap at index: 8"),
    		},
    		"overlapping intervals, corrupted completed interval skipped": {
    			completedIndexesStr: "0,2-4,x,6-8,12-19",
    			failedIndexesStr:    "1,8,9-10",
    			completions:         20,
    			wantError:           errors.New("failedIndexes and completedIndexes overlap at index: 8"),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
Back to top