blob: 88cb01678beccc17eaa64783f897425ece017476 [file] [log] [blame]
sslobodrd046be82019-01-16 10:02:22 -05001// +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 metav1 "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 *out = new(int32)
113 **out = **in
114 }
115 if in.Completions != nil {
116 in, out := &in.Completions, &out.Completions
117 *out = new(int32)
118 **out = **in
119 }
120 if in.ActiveDeadlineSeconds != nil {
121 in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
122 *out = new(int64)
123 **out = **in
124 }
125 if in.BackoffLimit != nil {
126 in, out := &in.BackoffLimit, &out.BackoffLimit
127 *out = new(int32)
128 **out = **in
129 }
130 if in.Selector != nil {
131 in, out := &in.Selector, &out.Selector
132 *out = new(metav1.LabelSelector)
133 (*in).DeepCopyInto(*out)
134 }
135 if in.ManualSelector != nil {
136 in, out := &in.ManualSelector, &out.ManualSelector
137 *out = new(bool)
138 **out = **in
139 }
140 in.Template.DeepCopyInto(&out.Template)
141 if in.TTLSecondsAfterFinished != nil {
142 in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
143 *out = new(int32)
144 **out = **in
145 }
146 return
147}
148
149// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
150func (in *JobSpec) DeepCopy() *JobSpec {
151 if in == nil {
152 return nil
153 }
154 out := new(JobSpec)
155 in.DeepCopyInto(out)
156 return out
157}
158
159// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
160func (in *JobStatus) DeepCopyInto(out *JobStatus) {
161 *out = *in
162 if in.Conditions != nil {
163 in, out := &in.Conditions, &out.Conditions
164 *out = make([]JobCondition, len(*in))
165 for i := range *in {
166 (*in)[i].DeepCopyInto(&(*out)[i])
167 }
168 }
169 if in.StartTime != nil {
170 in, out := &in.StartTime, &out.StartTime
171 *out = (*in).DeepCopy()
172 }
173 if in.CompletionTime != nil {
174 in, out := &in.CompletionTime, &out.CompletionTime
175 *out = (*in).DeepCopy()
176 }
177 return
178}
179
180// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
181func (in *JobStatus) DeepCopy() *JobStatus {
182 if in == nil {
183 return nil
184 }
185 out := new(JobStatus)
186 in.DeepCopyInto(out)
187 return out
188}