blob: 3e5250f378be6961605019b539398a5aa2ef6996 [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 v1
22
23import (
24 meta_v1 "k8s.io/apimachinery/pkg/apis/meta/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 *Job) DeepCopyInto(out *Job) {
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 Job.
39func (in *Job) DeepCopy() *Job {
40 if in == nil {
41 return nil
42 }
43 out := new(Job)
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 *Job) 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 *JobCondition) DeepCopyInto(out *JobCondition) {
58 *out = *in
59 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
60 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
61 return
62}
63
64// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
65func (in *JobCondition) DeepCopy() *JobCondition {
66 if in == nil {
67 return nil
68 }
69 out := new(JobCondition)
70 in.DeepCopyInto(out)
71 return out
72}
73
74// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
75func (in *JobList) DeepCopyInto(out *JobList) {
76 *out = *in
77 out.TypeMeta = in.TypeMeta
78 out.ListMeta = in.ListMeta
79 if in.Items != nil {
80 in, out := &in.Items, &out.Items
81 *out = make([]Job, len(*in))
82 for i := range *in {
83 (*in)[i].DeepCopyInto(&(*out)[i])
84 }
85 }
86 return
87}
88
89// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
90func (in *JobList) DeepCopy() *JobList {
91 if in == nil {
92 return nil
93 }
94 out := new(JobList)
95 in.DeepCopyInto(out)
96 return out
97}
98
99// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
100func (in *JobList) DeepCopyObject() runtime.Object {
101 if c := in.DeepCopy(); c != nil {
102 return c
103 }
104 return nil
105}
106
107// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
108func (in *JobSpec) DeepCopyInto(out *JobSpec) {
109 *out = *in
110 if in.Parallelism != nil {
111 in, out := &in.Parallelism, &out.Parallelism
112 if *in == nil {
113 *out = nil
114 } else {
115 *out = new(int32)
116 **out = **in
117 }
118 }
119 if in.Completions != nil {
120 in, out := &in.Completions, &out.Completions
121 if *in == nil {
122 *out = nil
123 } else {
124 *out = new(int32)
125 **out = **in
126 }
127 }
128 if in.ActiveDeadlineSeconds != nil {
129 in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
130 if *in == nil {
131 *out = nil
132 } else {
133 *out = new(int64)
134 **out = **in
135 }
136 }
137 if in.BackoffLimit != nil {
138 in, out := &in.BackoffLimit, &out.BackoffLimit
139 if *in == nil {
140 *out = nil
141 } else {
142 *out = new(int32)
143 **out = **in
144 }
145 }
146 if in.Selector != nil {
147 in, out := &in.Selector, &out.Selector
148 if *in == nil {
149 *out = nil
150 } else {
151 *out = new(meta_v1.LabelSelector)
152 (*in).DeepCopyInto(*out)
153 }
154 }
155 if in.ManualSelector != nil {
156 in, out := &in.ManualSelector, &out.ManualSelector
157 if *in == nil {
158 *out = nil
159 } else {
160 *out = new(bool)
161 **out = **in
162 }
163 }
164 in.Template.DeepCopyInto(&out.Template)
165 return
166}
167
168// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
169func (in *JobSpec) DeepCopy() *JobSpec {
170 if in == nil {
171 return nil
172 }
173 out := new(JobSpec)
174 in.DeepCopyInto(out)
175 return out
176}
177
178// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
179func (in *JobStatus) DeepCopyInto(out *JobStatus) {
180 *out = *in
181 if in.Conditions != nil {
182 in, out := &in.Conditions, &out.Conditions
183 *out = make([]JobCondition, len(*in))
184 for i := range *in {
185 (*in)[i].DeepCopyInto(&(*out)[i])
186 }
187 }
188 if in.StartTime != nil {
189 in, out := &in.StartTime, &out.StartTime
190 if *in == nil {
191 *out = nil
192 } else {
193 *out = (*in).DeepCopy()
194 }
195 }
196 if in.CompletionTime != nil {
197 in, out := &in.CompletionTime, &out.CompletionTime
198 if *in == nil {
199 *out = nil
200 } else {
201 *out = (*in).DeepCopy()
202 }
203 }
204 return
205}
206
207// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
208func (in *JobStatus) DeepCopy() *JobStatus {
209 if in == nil {
210 return nil
211 }
212 out := new(JobStatus)
213 in.DeepCopyInto(out)
214 return out
215}