1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 v1 "k8s.io/api/core/v1"
25 runtime "k8s.io/apimachinery/pkg/runtime"
28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29 func (in *CronJob) DeepCopyInto(out *CronJob) {
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 in.Spec.DeepCopyInto(&out.Spec)
34 in.Status.DeepCopyInto(&out.Status)
38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
39 func (in *CronJob) DeepCopy() *CronJob {
48 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
49 func (in *CronJob) DeepCopyObject() runtime.Object {
50 if c := in.DeepCopy(); c != nil {
56 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
57 func (in *CronJobList) DeepCopyInto(out *CronJobList) {
59 out.TypeMeta = in.TypeMeta
60 out.ListMeta = in.ListMeta
62 in, out := &in.Items, &out.Items
63 *out = make([]CronJob, len(*in))
65 (*in)[i].DeepCopyInto(&(*out)[i])
71 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
72 func (in *CronJobList) DeepCopy() *CronJobList {
76 out := new(CronJobList)
81 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
82 func (in *CronJobList) DeepCopyObject() runtime.Object {
83 if c := in.DeepCopy(); c != nil {
89 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
90 func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
92 if in.StartingDeadlineSeconds != nil {
93 in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
97 if in.Suspend != nil {
98 in, out := &in.Suspend, &out.Suspend
102 in.JobTemplate.DeepCopyInto(&out.JobTemplate)
103 if in.SuccessfulJobsHistoryLimit != nil {
104 in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
108 if in.FailedJobsHistoryLimit != nil {
109 in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
116 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
117 func (in *CronJobSpec) DeepCopy() *CronJobSpec {
121 out := new(CronJobSpec)
126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
127 func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
129 if in.Active != nil {
130 in, out := &in.Active, &out.Active
131 *out = make([]v1.ObjectReference, len(*in))
134 if in.LastScheduleTime != nil {
135 in, out := &in.LastScheduleTime, &out.LastScheduleTime
136 *out = (*in).DeepCopy()
141 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
142 func (in *CronJobStatus) DeepCopy() *CronJobStatus {
146 out := new(CronJobStatus)
151 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
152 func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
154 out.TypeMeta = in.TypeMeta
155 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
156 in.Template.DeepCopyInto(&out.Template)
160 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
161 func (in *JobTemplate) DeepCopy() *JobTemplate {
165 out := new(JobTemplate)
170 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
171 func (in *JobTemplate) DeepCopyObject() runtime.Object {
172 if c := in.DeepCopy(); c != nil {
178 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
179 func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
181 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
182 in.Spec.DeepCopyInto(&out.Spec)
186 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
187 func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
191 out := new(JobTemplateSpec)