Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 138 for cronjob1 (0.15 sec)

  1. staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go

    func (in *CronJob) DeepCopyInto(out *CronJob) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
    func (in *CronJob) DeepCopy() *CronJob {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/fake.go

    			{Group: "", Resource: "services"},
    			{Group: "apps", Resource: "statefulsets"},
    			{Group: "autoscaling", Resource: "horizontalpodautoscalers"},
    			{Group: "batch", Resource: "jobs"},
    			{Group: "batch", Resource: "cronjobs"},
    			{Group: "extensions", Resource: "daemonsets"},
    			{Group: "extensions", Resource: "deployments"},
    			{Group: "extensions", Resource: "replicasets"},
    		},
    	},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  3. pkg/apis/batch/v1/defaults_test.go

    	}
    	return obj3
    }
    
    func TestSetDefaultCronJob(t *testing.T) {
    	tests := map[string]struct {
    		original *batchv1.CronJob
    		expected *batchv1.CronJob
    	}{
    		"empty batchv1.CronJob should default batchv1.ConcurrencyPolicy and Suspend": {
    			original: &batchv1.CronJob{},
    			expected: &batchv1.CronJob{
    				Spec: batchv1.CronJobSpec{
    					ConcurrencyPolicy:          batchv1.AllowConcurrent,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. plugin/pkg/admission/security/podsecurity/admission_test.go

    		apps.Resource("statefulsets"):           &apps.StatefulSet{},
    		apps.Resource("daemonsets"):             &apps.DaemonSet{},
    		batch.Resource("jobs"):                  &batch.Job{},
    		batch.Resource("cronjobs"):              &batch.CronJob{},
    	}
    	for _, r := range extractor.PodSpecResources() {
    		internalType, ok := internalTypes[r]
    		if !ok {
    			t.Errorf("no internal type registered for %s", r.String())
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:47 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  5. pkg/apis/batch/zz_generated.deepcopy.go

    func (in *CronJob) DeepCopyInto(out *CronJob) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
    func (in *CronJob) DeepCopy() *CronJob {
    	if in == nil {
    		return nil
    	}
    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/controller/cronjob/config/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // +k8s:deepcopy-gen=package
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 10 22:32:06 UTC 2020
    - 676 bytes
    - Viewed (0)
  7. pkg/apis/batch/v1beta1/conversion.go

    )
    
    func addConversionFuncs(scheme *runtime.Scheme) error {
    	var err error
    	// Add field label conversions for kinds having selectable nothing but ObjectMeta fields.
    	for _, k := range []string{"Job", "JobTemplate", "CronJob"} {
    		kind := k // don't close over range variables
    		err = scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.WithKind(kind),
    			func(label, value string) (string, string, error) {
    				switch label {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 03 19:47:20 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__batch__v1_openapi.json

            "x-kubernetes-group-version-kind": {
              "group": "batch",
              "kind": "CronJob",
              "version": "v1"
            }
          }
        },
        "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}": {
          "delete": {
            "description": "delete a CronJob",
            "operationId": "deleteBatchV1NamespacedCronJob",
            "parameters": [
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  9. pkg/apis/batch/v1beta1/defaults.go

    	batchv1beta1 "k8s.io/api/batch/v1beta1"
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_CronJob(obj *batchv1beta1.CronJob) {
    	if obj.Spec.ConcurrencyPolicy == "" {
    		obj.Spec.ConcurrencyPolicy = batchv1beta1.AllowConcurrent
    	}
    	if obj.Spec.Suspend == nil {
    		obj.Spec.Suspend = new(bool)
    	}
    	if obj.Spec.SuccessfulJobsHistoryLimit == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 15 12:56:50 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  10. pkg/controller/cronjob/metrics/metrics.go

    var (
    	CronJobCreationSkew = metrics.NewHistogram(
    		&metrics.HistogramOpts{
    			Subsystem:      CronJobControllerSubsystem,
    			Name:           "job_creation_skew_duration_seconds",
    			Help:           "Time between when a cronjob is scheduled to be run, and when the corresponding job is created",
    			StabilityLevel: metrics.STABLE,
    			Buckets:        metrics.ExponentialBuckets(1, 2, 10),
    		},
    	)
    )
    
    var registerMetrics sync.Once
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 04 12:55:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top