zz_generated.deepcopy.go 10.4 KB
Newer Older
L
liqingping 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
// +build !ignore_autogenerated

/*
Copyright 2021 The SensePhoenix authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Code generated by controller-gen. DO NOT EDIT.

package v1alpha1

import (
L
liqingping 已提交
24
	"k8s.io/api/core/v1"
25
	"k8s.io/apimachinery/pkg/runtime"
L
liqingping 已提交
26 27 28
)

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29
func (in *AggregatorConfig) DeepCopyInto(out *AggregatorConfig) {
L
liqingping 已提交
30 31 32
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33
	in.Spec.DeepCopyInto(&out.Spec)
L
liqingping 已提交
34 35
}

36 37
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregatorConfig.
func (in *AggregatorConfig) DeepCopy() *AggregatorConfig {
L
liqingping 已提交
38 39 40
	if in == nil {
		return nil
	}
41
	out := new(AggregatorConfig)
L
liqingping 已提交
42 43 44 45 46
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
47
func (in *AggregatorConfig) DeepCopyObject() runtime.Object {
L
liqingping 已提交
48 49 50 51 52 53 54
	if c := in.DeepCopy(); c != nil {
		return c
	}
	return nil
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
55
func (in *AggregatorConfigList) DeepCopyInto(out *AggregatorConfigList) {
L
liqingping 已提交
56 57 58 59 60
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
61
		*out = make([]AggregatorConfig, len(*in))
L
liqingping 已提交
62 63 64 65 66 67
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
}

68 69
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregatorConfigList.
func (in *AggregatorConfigList) DeepCopy() *AggregatorConfigList {
L
liqingping 已提交
70 71 72
	if in == nil {
		return nil
	}
73
	out := new(AggregatorConfigList)
L
liqingping 已提交
74 75 76 77 78
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
79
func (in *AggregatorConfigList) DeepCopyObject() runtime.Object {
L
liqingping 已提交
80 81 82 83 84 85 86
	if c := in.DeepCopy(); c != nil {
		return c
	}
	return nil
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
87
func (in *AggregatorConfigSpec) DeepCopyInto(out *AggregatorConfigSpec) {
L
liqingping 已提交
88
	*out = *in
89
	in.Aggregator.DeepCopyInto(&out.Aggregator)
L
liqingping 已提交
90 91
}

92 93
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregatorConfigSpec.
func (in *AggregatorConfigSpec) DeepCopy() *AggregatorConfigSpec {
L
liqingping 已提交
94 95 96
	if in == nil {
		return nil
	}
97
	out := new(AggregatorConfigSpec)
L
liqingping 已提交
98 99 100 101 102
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
103
func (in *AggregatorConfigStatus) DeepCopyInto(out *AggregatorConfigStatus) {
L
liqingping 已提交
104
	*out = *in
105 106
	if in.Actors != nil {
		in, out := &in.Actors, &out.Actors
107
		*out = new(AggregatorReplicaStatus)
108 109 110 111
		**out = **in
	}
	if in.Learners != nil {
		in, out := &in.Learners, &out.Learners
112
		*out = new(AggregatorReplicaStatus)
113 114
		**out = **in
	}
L
liqingping 已提交
115 116
}

117 118
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregatorConfigStatus.
func (in *AggregatorConfigStatus) DeepCopy() *AggregatorConfigStatus {
L
liqingping 已提交
119 120 121
	if in == nil {
		return nil
	}
122
	out := new(AggregatorConfigStatus)
123 124 125 126
	in.DeepCopyInto(out)
	return out
}

127
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
128
func (in *AggregatorReplicaStatus) DeepCopyInto(out *AggregatorReplicaStatus) {
129 130 131
	*out = *in
}

132 133
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregatorReplicaStatus.
func (in *AggregatorReplicaStatus) DeepCopy() *AggregatorReplicaStatus {
134 135 136
	if in == nil {
		return nil
	}
137
	out := new(AggregatorReplicaStatus)
138 139 140 141
	in.DeepCopyInto(out)
	return out
}

142
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
143
func (in *AggregatorSpec) DeepCopyInto(out *AggregatorSpec) {
144 145 146 147
	*out = *in
	in.Template.DeepCopyInto(&out.Template)
}

148 149
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregatorSpec.
func (in *AggregatorSpec) DeepCopy() *AggregatorSpec {
150 151 152
	if in == nil {
		return nil
	}
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
	out := new(AggregatorSpec)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CollectorSpec) DeepCopyInto(out *CollectorSpec) {
	*out = *in
	in.Template.DeepCopyInto(&out.Template)
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollectorSpec.
func (in *CollectorSpec) DeepCopy() *CollectorSpec {
	if in == nil {
		return nil
	}
	out := new(CollectorSpec)
170 171 172 173
	in.DeepCopyInto(out)
	return out
}

174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CoordinatorSpec) DeepCopyInto(out *CoordinatorSpec) {
	*out = *in
	in.Template.DeepCopyInto(&out.Template)
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoordinatorSpec.
func (in *CoordinatorSpec) DeepCopy() *CoordinatorSpec {
	if in == nil {
		return nil
	}
	out := new(CoordinatorSpec)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
191
func (in *LearnerSpec) DeepCopyInto(out *LearnerSpec) {
192 193 194 195
	*out = *in
	in.Template.DeepCopyInto(&out.Template)
}

196 197
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearnerSpec.
func (in *LearnerSpec) DeepCopy() *LearnerSpec {
198 199 200
	if in == nil {
		return nil
	}
201
	out := new(LearnerSpec)
L
liqingping 已提交
202 203 204 205 206
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
207
func (in *NerveXJob) DeepCopyInto(out *NerveXJob) {
L
liqingping 已提交
208 209 210
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
211 212
	in.Spec.DeepCopyInto(&out.Spec)
	in.Status.DeepCopyInto(&out.Status)
L
liqingping 已提交
213 214
}

215 216
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NerveXJob.
func (in *NerveXJob) DeepCopy() *NerveXJob {
L
liqingping 已提交
217 218 219
	if in == nil {
		return nil
	}
220
	out := new(NerveXJob)
L
liqingping 已提交
221 222 223 224 225
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
226
func (in *NerveXJob) DeepCopyObject() runtime.Object {
L
liqingping 已提交
227 228 229 230 231 232
	if c := in.DeepCopy(); c != nil {
		return c
	}
	return nil
}

233
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
234
func (in *NerveXJobCondition) DeepCopyInto(out *NerveXJobCondition) {
235 236 237 238 239
	*out = *in
	in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
}

240 241
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NerveXJobCondition.
func (in *NerveXJobCondition) DeepCopy() *NerveXJobCondition {
242 243 244
	if in == nil {
		return nil
	}
245
	out := new(NerveXJobCondition)
246 247 248 249
	in.DeepCopyInto(out)
	return out
}

L
liqingping 已提交
250
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
251
func (in *NerveXJobList) DeepCopyInto(out *NerveXJobList) {
L
liqingping 已提交
252 253 254 255 256
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
257
		*out = make([]NerveXJob, len(*in))
L
liqingping 已提交
258 259 260 261 262 263
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
}

264 265
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NerveXJobList.
func (in *NerveXJobList) DeepCopy() *NerveXJobList {
L
liqingping 已提交
266 267 268
	if in == nil {
		return nil
	}
269
	out := new(NerveXJobList)
L
liqingping 已提交
270 271 272 273 274
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
275
func (in *NerveXJobList) DeepCopyObject() runtime.Object {
L
liqingping 已提交
276 277 278 279 280 281 282
	if c := in.DeepCopy(); c != nil {
		return c
	}
	return nil
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
283
func (in *NerveXJobSpec) DeepCopyInto(out *NerveXJobSpec) {
L
liqingping 已提交
284
	*out = *in
L
liqingping 已提交
285 286 287 288 289 290 291
	if in.Volumes != nil {
		in, out := &in.Volumes, &out.Volumes
		*out = make([]v1.Volume, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
292
	in.Coordinator.DeepCopyInto(&out.Coordinator)
293 294
	in.Collector.DeepCopyInto(&out.Collector)
	in.Learner.DeepCopyInto(&out.Learner)
L
liqingping 已提交
295 296
}

297 298
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NerveXJobSpec.
func (in *NerveXJobSpec) DeepCopy() *NerveXJobSpec {
L
liqingping 已提交
299 300 301
	if in == nil {
		return nil
	}
302
	out := new(NerveXJobSpec)
L
liqingping 已提交
303 304 305 306 307
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
308
func (in *NerveXJobStatus) DeepCopyInto(out *NerveXJobStatus) {
L
liqingping 已提交
309
	*out = *in
310 311
	if in.Conditions != nil {
		in, out := &in.Conditions, &out.Conditions
312
		*out = make([]NerveXJobCondition, len(*in))
313 314 315 316
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
	if in.ReplicaStatus != nil {
		in, out := &in.ReplicaStatus, &out.ReplicaStatus
		*out = make(map[ReplicaType]*ReplicaStatus, len(*in))
		for key, val := range *in {
			var outVal *ReplicaStatus
			if val == nil {
				(*out)[key] = nil
			} else {
				in, out := &val, &outVal
				*out = new(ReplicaStatus)
				**out = **in
			}
			(*out)[key] = outVal
		}
	}
L
liqingping 已提交
332 333
}

334 335
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NerveXJobStatus.
func (in *NerveXJobStatus) DeepCopy() *NerveXJobStatus {
L
liqingping 已提交
336 337 338
	if in == nil {
		return nil
	}
339
	out := new(NerveXJobStatus)
L
liqingping 已提交
340 341 342
	in.DeepCopyInto(out)
	return out
}
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ReplicaStatus) DeepCopyInto(out *ReplicaStatus) {
	*out = *in
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaStatus.
func (in *ReplicaStatus) DeepCopy() *ReplicaStatus {
	if in == nil {
		return nil
	}
	out := new(ReplicaStatus)
	in.DeepCopyInto(out)
	return out
}