blob: bf0da8bf486d63f52627206b5eed1ea023276258 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v2alpha1
22
23import (
24 v1 "k8s.io/api/core/v1"
25 runtime "k8s.io/apimachinery/pkg/runtime"
26)
27
28// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29func (in *CronJob) DeepCopyInto(out *CronJob) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 in.Spec.DeepCopyInto(&out.Spec)
34 in.Status.DeepCopyInto(&out.Status)
35 return
36}
37
38// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
39func (in *CronJob) DeepCopy() *CronJob {
40 if in == nil {
41 return nil
42 }
43 out := new(CronJob)
44 in.DeepCopyInto(out)
45 return out
46}
47
48// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
49func (in *CronJob) DeepCopyObject() runtime.Object {
50 if c := in.DeepCopy(); c != nil {
51 return c
52 }
53 return nil
54}
55
56// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
57func (in *CronJobList) DeepCopyInto(out *CronJobList) {
58 *out = *in
59 out.TypeMeta = in.TypeMeta
60 out.ListMeta = in.ListMeta
61 if in.Items != nil {
62 in, out := &in.Items, &out.Items
63 *out = make([]CronJob, len(*in))
64 for i := range *in {
65 (*in)[i].DeepCopyInto(&(*out)[i])
66 }
67 }
68 return
69}
70
71// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
72func (in *CronJobList) DeepCopy() *CronJobList {
73 if in == nil {
74 return nil
75 }
76 out := new(CronJobList)
77 in.DeepCopyInto(out)
78 return out
79}
80
81// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
82func (in *CronJobList) DeepCopyObject() runtime.Object {
83 if c := in.DeepCopy(); c != nil {
84 return c
85 }
86 return nil
87}
88
89// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
90func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
91 *out = *in
92 if in.StartingDeadlineSeconds != nil {
93 in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
94 if *in == nil {
95 *out = nil
96 } else {
97 *out = new(int64)
98 **out = **in
99 }
100 }
101 if in.Suspend != nil {
102 in, out := &in.Suspend, &out.Suspend
103 if *in == nil {
104 *out = nil
105 } else {
106 *out = new(bool)
107 **out = **in
108 }
109 }
110 in.JobTemplate.DeepCopyInto(&out.JobTemplate)
111 if in.SuccessfulJobsHistoryLimit != nil {
112 in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
113 if *in == nil {
114 *out = nil
115 } else {
116 *out = new(int32)
117 **out = **in
118 }
119 }
120 if in.FailedJobsHistoryLimit != nil {
121 in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
122 if *in == nil {
123 *out = nil
124 } else {
125 *out = new(int32)
126 **out = **in
127 }
128 }
129 return
130}
131
132// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
133func (in *CronJobSpec) DeepCopy() *CronJobSpec {
134 if in == nil {
135 return nil
136 }
137 out := new(CronJobSpec)
138 in.DeepCopyInto(out)
139 return out
140}
141
142// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
143func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
144 *out = *in
145 if in.Active != nil {
146 in, out := &in.Active, &out.Active
147 *out = make([]v1.ObjectReference, len(*in))
148 copy(*out, *in)
149 }
150 if in.LastScheduleTime != nil {
151 in, out := &in.LastScheduleTime, &out.LastScheduleTime
152 if *in == nil {
153 *out = nil
154 } else {
155 *out = (*in).DeepCopy()
156 }
157 }
158 return
159}
160
161// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
162func (in *CronJobStatus) DeepCopy() *CronJobStatus {
163 if in == nil {
164 return nil
165 }
166 out := new(CronJobStatus)
167 in.DeepCopyInto(out)
168 return out
169}
170
171// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
172func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
173 *out = *in
174 out.TypeMeta = in.TypeMeta
175 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
176 in.Template.DeepCopyInto(&out.Template)
177 return
178}
179
180// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
181func (in *JobTemplate) DeepCopy() *JobTemplate {
182 if in == nil {
183 return nil
184 }
185 out := new(JobTemplate)
186 in.DeepCopyInto(out)
187 return out
188}
189
190// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
191func (in *JobTemplate) DeepCopyObject() runtime.Object {
192 if c := in.DeepCopy(); c != nil {
193 return c
194 }
195 return nil
196}
197
198// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
199func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
200 *out = *in
201 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
202 in.Spec.DeepCopyInto(&out.Spec)
203 return
204}
205
206// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
207func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
208 if in == nil {
209 return nil
210 }
211 out := new(JobTemplateSpec)
212 in.DeepCopyInto(out)
213 return out
214}