Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for CronJobSpec (0.15 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go

    	FailedJobsHistoryLimit     *int32                             `json:"failedJobsHistoryLimit,omitempty"`
    }
    
    // CronJobSpecApplyConfiguration constructs an declarative configuration of the CronJobSpec type for use with
    // apply.
    func CronJobSpec() *CronJobSpecApplyConfiguration {
    	return &CronJobSpecApplyConfiguration{}
    }
    
    // WithSchedule sets the Schedule field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 16:40:46 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go

    	FailedJobsHistoryLimit     *int32                             `json:"failedJobsHistoryLimit,omitempty"`
    }
    
    // CronJobSpecApplyConfiguration constructs an declarative configuration of the CronJobSpec type for use with
    // apply.
    func CronJobSpec() *CronJobSpecApplyConfiguration {
    	return &CronJobSpecApplyConfiguration{}
    }
    
    // WithSchedule sets the Schedule field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 16:40:46 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  3. pkg/apis/batch/v1beta1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.CronJobSpec)(nil), (*batch.CronJobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_CronJobSpec_To_batch_CronJobSpec(a.(*v1beta1.CronJobSpec), b.(*batch.CronJobSpec), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*batch.CronJobSpec)(nil), (*v1beta1.CronJobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 20:39:47 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go

    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
    func (in *CronJobSpec) DeepCopy() *CronJobSpec {
    	if in == nil {
    		return nil
    	}
    	out := new(CronJobSpec)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 21:43:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. pkg/controller/cronjob/utils_test.go

    	cj := batchv1.CronJob{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "mycronjob",
    			Namespace: "snazzycats",
    			UID:       types.UID("1a2b3c"),
    		},
    		Spec: batchv1.CronJobSpec{
    			Schedule:          "* * * * ?",
    			ConcurrencyPolicy: batchv1.AllowConcurrent,
    			JobTemplate: batchv1.JobTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					CreationTimestamp: metav1.Time{Time: scheduledTime},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. pkg/registry/batch/cronjob/strategy_test.go

    			Containers:    []api.Container{{Name: "abc", Image: "image", ImagePullPolicy: "IfNotPresent", TerminationMessagePolicy: api.TerminationMessageReadFile}},
    		},
    	}
    	validCronjobSpec = batch.CronJobSpec{
    		Schedule:          "5 5 * * ?",
    		ConcurrencyPolicy: batch.AllowConcurrent,
    		TimeZone:          ptr.To("Asia/Shanghai"),
    		JobTemplate: batch.JobTemplateSpec{
    			Spec: batch.JobSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1beta1/generated.pb.go

    var xxx_messageInfo_CronJobList proto.InternalMessageInfo
    
    func (m *CronJobSpec) Reset()      { *m = CronJobSpec{} }
    func (*CronJobSpec) ProtoMessage() {}
    func (*CronJobSpec) Descriptor() ([]byte, []int) {
    	return fileDescriptor_ed95843ae7b4086b, []int{2}
    }
    func (m *CronJobSpec) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *CronJobSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. pkg/apis/batch/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.CronJobSpec)(nil), (*batch.CronJobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_CronJobSpec_To_batch_CronJobSpec(a.(*v1.CronJobSpec), b.(*batch.CronJobSpec), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*batch.CronJobSpec)(nil), (*v1.CronJobSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  9. pkg/apis/batch/v1beta1/defaults_test.go

    			original: &batchv1beta1.CronJob{
    				Spec: batchv1beta1.CronJobSpec{
    					ConcurrencyPolicy:          batchv1beta1.ForbidConcurrent,
    					Suspend:                    newBool(true),
    					SuccessfulJobsHistoryLimit: utilpointer.Int32(5),
    					FailedJobsHistoryLimit:     utilpointer.Int32(5),
    				},
    			},
    			expected: &batchv1beta1.CronJob{
    				Spec: batchv1beta1.CronJobSpec{
    					ConcurrencyPolicy:          batchv1beta1.ForbidConcurrent,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:14:37 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. pkg/apis/batch/validation/validation_test.go

    	validPodTemplateSpec.Labels = map[string]string{}
    
    	type testCase struct {
    		old       *batch.CronJobSpec
    		new       *batch.CronJobSpec
    		expectErr bool
    	}
    
    	cases := map[string]testCase{
    		"no validation because timeZone is nil for old and new": {
    			old: &batch.CronJobSpec{
    				Schedule:          "0 * * * *",
    				TimeZone:          nil,
    				ConcurrencyPolicy: batch.AllowConcurrent,
    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