Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for failedJobsHistoryLimit (0.5 sec)

  1. pkg/apis/batch/fuzzer/fuzzer.go

    			sj.Schedule = c.RandString()
    			successfulJobsHistoryLimit := int32(c.Rand.Int31())
    			sj.SuccessfulJobsHistoryLimit = &successfulJobsHistoryLimit
    			failedJobsHistoryLimit := int32(c.Rand.Int31())
    			sj.FailedJobsHistoryLimit = &failedJobsHistoryLimit
    		},
    		func(cp *batch.ConcurrencyPolicy, c fuzz.Continue) {
    			policies := []batch.ConcurrencyPolicy{batch.AllowConcurrent, batch.ForbidConcurrent, batch.ReplaceConcurrent}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pkg/apis/batch/v1/defaults_test.go

    		}
    		if *actual.Spec.FailedJobsHistoryLimit != *expected.Spec.FailedJobsHistoryLimit {
    			t.Errorf("%s: got different failedJobsHistoryLimit than expected: %v %v", name, *actual.Spec.FailedJobsHistoryLimit, *expected.Spec.FailedJobsHistoryLimit)
    		}
    	}
    }
    
    func completionModePtr(m batchv1.CompletionMode) *batchv1.CompletionMode {
    	return &m
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1beta1/generated.pb.go

    		i -= len(*m.TimeZone)
    		copy(dAtA[i:], *m.TimeZone)
    		i = encodeVarintGenerated(dAtA, i, uint64(len(*m.TimeZone)))
    		i--
    		dAtA[i] = 0x42
    	}
    	if m.FailedJobsHistoryLimit != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.FailedJobsHistoryLimit))
    		i--
    		dAtA[i] = 0x38
    	}
    	if m.SuccessfulJobsHistoryLimit != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.SuccessfulJobsHistoryLimit))
    		i--
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go

    	if in.SuccessfulJobsHistoryLimit != nil {
    		in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
    		*out = new(int32)
    		**out = **in
    	}
    	if in.FailedJobsHistoryLimit != nil {
    		in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. pkg/apis/batch/zz_generated.deepcopy.go

    	if in.SuccessfulJobsHistoryLimit != nil {
    		in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
    		*out = new(int32)
    		**out = **in
    	}
    	if in.FailedJobsHistoryLimit != nil {
    		in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. pkg/apis/batch/v1/zz_generated.conversion.go

    		return err
    	}
    	out.SuccessfulJobsHistoryLimit = (*int32)(unsafe.Pointer(in.SuccessfulJobsHistoryLimit))
    	out.FailedJobsHistoryLimit = (*int32)(unsafe.Pointer(in.FailedJobsHistoryLimit))
    	return nil
    }
    
    // Convert_v1_CronJobSpec_To_batch_CronJobSpec is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1beta1/generated.proto

      // The number of failed finished jobs to retain.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 1.
      // +optional
      optional int32 failedJobsHistoryLimit = 7;
    }
    
    // CronJobStatus represents the current state of a cron job.
    message CronJobStatus {
      // A list of pointers to currently running jobs.
      // +optional
      // +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // The number of failed finished jobs to retain.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 1.
      // +optional
      optional int32 failedJobsHistoryLimit = 7;
    }
    
    // CronJobStatus represents the current state of a cron job.
    message CronJobStatus {
      // A list of pointers to currently running jobs.
      // +optional
      // +listType=atomic
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. pkg/controller/cronjob/cronjob_controllerv2.go

    		jm.removeOldestJobs(ctx, cj,
    			successfulJobs,
    			*cj.Spec.SuccessfulJobsHistoryLimit) {
    		updateStatus = true
    	}
    
    	if cj.Spec.FailedJobsHistoryLimit != nil &&
    		jm.removeOldestJobs(ctx, cj,
    			failedJobs,
    			*cj.Spec.FailedJobsHistoryLimit) {
    		updateStatus = true
    	}
    
    	return updateStatus
    }
    
    func (jm *ControllerV2) getFinishedStatus(j *batchv1.Job) (bool, batchv1.JobConditionType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. pkg/apis/batch/validation/validation.go

    	}
    	if spec.FailedJobsHistoryLimit != nil {
    		// zero is a valid SuccessfulJobsHistoryLimit
    		allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(*spec.FailedJobsHistoryLimit), fldPath.Child("failedJobsHistoryLimit"))...)
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top