Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CRONJOB (0.12 sec)

  1. pkg/apis/batch/validation/validation_test.go

    				},
    			},
    		},
    	}
    
    	testCases := map[string]struct {
    		cronJob   *batch.CronJob
    		createErr string
    		update    func(*batch.CronJob)
    		updateErr string
    	}{
    		"update removing TZ should work": {
    			cronJob:   invalidCronJob,
    			createErr: "cannot use TZ or CRON_TZ in schedule",
    			update: func(cj *batch.CronJob) {
    				cj.Spec.Schedule = validSchedule
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/batch/v1/generated.pb.go

    const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    
    func (m *CronJob) Reset()      { *m = CronJob{} }
    func (*CronJob) ProtoMessage() {}
    func (*CronJob) Descriptor() ([]byte, []int) {
    	return fileDescriptor_79228dc2c4001a22, []int{0}
    }
    func (m *CronJob) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *CronJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    	timeZone := "LOCAL"
    	completions := int32(2)
    	suspend := false
    	tests := []struct {
    		cronjob  batch.CronJob
    		options  printers.GenerateOptions
    		expected []metav1.TableRow
    	}{
    		// Basic cron job; does not print containers, images, or labels.
    		{
    			cronjob: batch.CronJob{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "cronjob1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers.go

    		r, err := printJob(&list.Items[i], options)
    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func printCronJob(obj *batch.CronJob, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	lastScheduleTime := "<none>"
    	if obj.Status.LastScheduleTime != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.5.md

      * You do not need to adjust this flag on Kubelet:  there was no authorization for the Kubelet APIs in 1.4.
    * batch/v2alpha1.ScheduledJob has been renamed, use batch/v2alpha1.CronJob instead ([#36021](https://github.com/kubernetes/kubernetes/pull/36021), [@soltysh](https://github.com/soltysh))
    * PetSet has been renamed to StatefulSet.
      If you have existing PetSets, **you must perform extra migration steps** both
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    				BlockOwnerDeletion: ptr.To(true),
    			},
    			wantFinalizerRemoved: true,
    		},
    		"controlled_by_cronjob": {
    			owner: &metav1.OwnerReference{
    				APIVersion:         "batch/v1",
    				Kind:               "CronJob",
    				Name:               "cj",
    				UID:                "111",
    				Controller:         ptr.To(true),
    				BlockOwnerDeletion: ptr.To(true),
    			},
    			wantFinalizerRemoved: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top