Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for failedJobsHistoryLimit (0.94 sec)

  1. pkg/apis/batch/v1beta1/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 roundTrip(t *testing.T, obj runtime.Object) runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:14:37 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go

    	SuccessfulJobsHistoryLimit *int32                             `json:"successfulJobsHistoryLimit,omitempty"`
    	FailedJobsHistoryLimit     *int32                             `json:"failedJobsHistoryLimit,omitempty"`
    }
    
    // CronJobSpecApplyConfiguration constructs an declarative configuration of the CronJobSpec type for use with
    // apply.
    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/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)
  4. pkg/apis/batch/v1beta1/defaults.go

    	}
    	if obj.Spec.SuccessfulJobsHistoryLimit == nil {
    		obj.Spec.SuccessfulJobsHistoryLimit = new(int32)
    		*obj.Spec.SuccessfulJobsHistoryLimit = 3
    	}
    	if obj.Spec.FailedJobsHistoryLimit == nil {
    		obj.Spec.FailedJobsHistoryLimit = new(int32)
    		*obj.Spec.FailedJobsHistoryLimit = 1
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 15 12:56:50 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go

    	SuccessfulJobsHistoryLimit *int32                             `json:"successfulJobsHistoryLimit,omitempty"`
    	FailedJobsHistoryLimit     *int32                             `json:"failedJobsHistoryLimit,omitempty"`
    }
    
    // CronJobSpecApplyConfiguration constructs an declarative configuration of the CronJobSpec type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 16:40:46 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/batch/v1beta1/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: Wed Mar 01 21:43:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/api/batch/v1beta1/types.go

    	// The number of failed finished jobs to retain.
    	// This is a pointer to distinguish between explicit zero and not specified.
    	// 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: Tue Mar 07 11:58:57 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. pkg/apis/batch/v1/defaults.go

    		obj.Spec.Suspend = utilpointer.Bool(false)
    	}
    	if obj.Spec.SuccessfulJobsHistoryLimit == nil {
    		obj.Spec.SuccessfulJobsHistoryLimit = utilpointer.Int32(3)
    	}
    	if obj.Spec.FailedJobsHistoryLimit == nil {
    		obj.Spec.FailedJobsHistoryLimit = utilpointer.Int32(1)
    	}
    }
    
    func podReplacementPolicyPtr(obj batchv1.PodReplacementPolicy) *batchv1.PodReplacementPolicy {
    	return &obj
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 20:51:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. 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)
Back to top