Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / k8s.io / api / batch / v1 / zz_generated.deepcopy.go
1 // +build !ignore_autogenerated
2
3 /*
4 Copyright The Kubernetes Authors.
5
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
9
10     http://www.apache.org/licenses/LICENSE-2.0
11
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.
17 */
18
19 // Code generated by deepcopy-gen. DO NOT EDIT.
20
21 package v1
22
23 import (
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.
29 func (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.
39 func (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.
49 func (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.
57 func (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.
65 func (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.
75 func (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.
90 func (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.
100 func (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.
108 func (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.
150 func (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.
160 func (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.
181 func (in *JobStatus) DeepCopy() *JobStatus {
182         if in == nil {
183                 return nil
184         }
185         out := new(JobStatus)
186         in.DeepCopyInto(out)
187         return out
188 }