Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for failedJobsHistoryLimit (0.24 sec)

  1. 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)
  2. pkg/apis/batch/v1beta1/zz_generated.conversion.go

    		return err
    	}
    	out.SuccessfulJobsHistoryLimit = (*int32)(unsafe.Pointer(in.SuccessfulJobsHistoryLimit))
    	out.FailedJobsHistoryLimit = (*int32)(unsafe.Pointer(in.FailedJobsHistoryLimit))
    	return nil
    }
    
    // Convert_v1beta1_CronJobSpec_To_batch_CronJobSpec is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 20:39:47 UTC 2023
    - 11.6K 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. 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)
  8. staging/src/k8s.io/api/batch/v1/types.go

    	// The number of failed finished jobs to retain. Value must be non-negative integer.
    	// Defaults to 1.
    	// +optional
    	FailedJobsHistoryLimit *int32 `json:"failedJobsHistoryLimit,omitempty" protobuf:"varint,7,opt,name=failedJobsHistoryLimit"`
    }
    
    // ConcurrencyPolicy describes how the job will be handled.
    // Only one of the following concurrent policies may be specified.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/batch.v1beta1.CronJob.yaml

        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      concurrencyPolicy: concurrencyPolicyValue
      failedJobsHistoryLimit: 7
      jobTemplate:
        metadata:
          annotations:
            annotationsKey: annotationsValue
          creationTimestamp: "2008-01-01T01:01:01Z"
          deletionGracePeriodSeconds: 10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/batch.v1.CronJob.yaml

        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      concurrencyPolicy: concurrencyPolicyValue
      failedJobsHistoryLimit: 7
      jobTemplate:
        metadata:
          annotations:
            annotationsKey: annotationsValue
          creationTimestamp: "2008-01-01T01:01:01Z"
          deletionGracePeriodSeconds: 10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top