1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in *CustomResourceColumnDefinition) DeepCopyInto(out *CustomResourceColumnDefinition) {
33 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceColumnDefinition.
34 func (in *CustomResourceColumnDefinition) DeepCopy() *CustomResourceColumnDefinition {
38 out := new(CustomResourceColumnDefinition)
43 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
44 func (in *CustomResourceConversion) DeepCopyInto(out *CustomResourceConversion) {
46 if in.WebhookClientConfig != nil {
47 in, out := &in.WebhookClientConfig, &out.WebhookClientConfig
48 *out = new(WebhookClientConfig)
49 (*in).DeepCopyInto(*out)
54 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceConversion.
55 func (in *CustomResourceConversion) DeepCopy() *CustomResourceConversion {
59 out := new(CustomResourceConversion)
64 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
65 func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition) {
67 out.TypeMeta = in.TypeMeta
68 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
69 in.Spec.DeepCopyInto(&out.Spec)
70 in.Status.DeepCopyInto(&out.Status)
74 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
75 func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition {
79 out := new(CustomResourceDefinition)
84 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
85 func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object {
86 if c := in.DeepCopy(); c != nil {
92 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
93 func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDefinitionCondition) {
95 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
99 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition.
100 func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition {
104 out := new(CustomResourceDefinitionCondition)
109 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
110 func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefinitionList) {
112 out.TypeMeta = in.TypeMeta
113 out.ListMeta = in.ListMeta
115 in, out := &in.Items, &out.Items
116 *out = make([]CustomResourceDefinition, len(*in))
118 (*in)[i].DeepCopyInto(&(*out)[i])
124 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.
125 func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList {
129 out := new(CustomResourceDefinitionList)
134 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
135 func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object {
136 if c := in.DeepCopy(); c != nil {
142 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
143 func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinitionNames) {
145 if in.ShortNames != nil {
146 in, out := &in.ShortNames, &out.ShortNames
147 *out = make([]string, len(*in))
150 if in.Categories != nil {
151 in, out := &in.Categories, &out.Categories
152 *out = make([]string, len(*in))
158 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames.
159 func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames {
163 out := new(CustomResourceDefinitionNames)
168 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
169 func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefinitionSpec) {
171 in.Names.DeepCopyInto(&out.Names)
172 if in.Validation != nil {
173 in, out := &in.Validation, &out.Validation
174 *out = new(CustomResourceValidation)
175 (*in).DeepCopyInto(*out)
177 if in.Subresources != nil {
178 in, out := &in.Subresources, &out.Subresources
179 *out = new(CustomResourceSubresources)
180 (*in).DeepCopyInto(*out)
182 if in.Versions != nil {
183 in, out := &in.Versions, &out.Versions
184 *out = make([]CustomResourceDefinitionVersion, len(*in))
186 (*in)[i].DeepCopyInto(&(*out)[i])
189 if in.AdditionalPrinterColumns != nil {
190 in, out := &in.AdditionalPrinterColumns, &out.AdditionalPrinterColumns
191 *out = make([]CustomResourceColumnDefinition, len(*in))
194 if in.Conversion != nil {
195 in, out := &in.Conversion, &out.Conversion
196 *out = new(CustomResourceConversion)
197 (*in).DeepCopyInto(*out)
202 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec.
203 func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec {
207 out := new(CustomResourceDefinitionSpec)
212 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
213 func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefinitionStatus) {
215 if in.Conditions != nil {
216 in, out := &in.Conditions, &out.Conditions
217 *out = make([]CustomResourceDefinitionCondition, len(*in))
219 (*in)[i].DeepCopyInto(&(*out)[i])
222 in.AcceptedNames.DeepCopyInto(&out.AcceptedNames)
223 if in.StoredVersions != nil {
224 in, out := &in.StoredVersions, &out.StoredVersions
225 *out = make([]string, len(*in))
231 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus.
232 func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus {
236 out := new(CustomResourceDefinitionStatus)
241 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
242 func (in *CustomResourceDefinitionVersion) DeepCopyInto(out *CustomResourceDefinitionVersion) {
244 if in.Schema != nil {
245 in, out := &in.Schema, &out.Schema
246 *out = new(CustomResourceValidation)
247 (*in).DeepCopyInto(*out)
249 if in.Subresources != nil {
250 in, out := &in.Subresources, &out.Subresources
251 *out = new(CustomResourceSubresources)
252 (*in).DeepCopyInto(*out)
254 if in.AdditionalPrinterColumns != nil {
255 in, out := &in.AdditionalPrinterColumns, &out.AdditionalPrinterColumns
256 *out = make([]CustomResourceColumnDefinition, len(*in))
262 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionVersion.
263 func (in *CustomResourceDefinitionVersion) DeepCopy() *CustomResourceDefinitionVersion {
267 out := new(CustomResourceDefinitionVersion)
272 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
273 func (in *CustomResourceSubresourceScale) DeepCopyInto(out *CustomResourceSubresourceScale) {
275 if in.LabelSelectorPath != nil {
276 in, out := &in.LabelSelectorPath, &out.LabelSelectorPath
283 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceScale.
284 func (in *CustomResourceSubresourceScale) DeepCopy() *CustomResourceSubresourceScale {
288 out := new(CustomResourceSubresourceScale)
293 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
294 func (in *CustomResourceSubresourceStatus) DeepCopyInto(out *CustomResourceSubresourceStatus) {
299 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceStatus.
300 func (in *CustomResourceSubresourceStatus) DeepCopy() *CustomResourceSubresourceStatus {
304 out := new(CustomResourceSubresourceStatus)
309 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
310 func (in *CustomResourceSubresources) DeepCopyInto(out *CustomResourceSubresources) {
312 if in.Status != nil {
313 in, out := &in.Status, &out.Status
314 *out = new(CustomResourceSubresourceStatus)
318 in, out := &in.Scale, &out.Scale
319 *out = new(CustomResourceSubresourceScale)
320 (*in).DeepCopyInto(*out)
325 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresources.
326 func (in *CustomResourceSubresources) DeepCopy() *CustomResourceSubresources {
330 out := new(CustomResourceSubresources)
335 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
336 func (in *CustomResourceValidation) DeepCopyInto(out *CustomResourceValidation) {
338 if in.OpenAPIV3Schema != nil {
339 in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
340 *out = (*in).DeepCopy()
345 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceValidation.
346 func (in *CustomResourceValidation) DeepCopy() *CustomResourceValidation {
350 out := new(CustomResourceValidation)
355 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
356 func (in *ExternalDocumentation) DeepCopyInto(out *ExternalDocumentation) {
361 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentation.
362 func (in *ExternalDocumentation) DeepCopy() *ExternalDocumentation {
366 out := new(ExternalDocumentation)
371 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
372 func (in JSONSchemaDefinitions) DeepCopyInto(out *JSONSchemaDefinitions) {
375 *out = make(JSONSchemaDefinitions, len(*in))
376 for key, val := range *in {
377 (*out)[key] = *val.DeepCopy()
383 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDefinitions.
384 func (in JSONSchemaDefinitions) DeepCopy() JSONSchemaDefinitions {
388 out := new(JSONSchemaDefinitions)
393 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
394 func (in JSONSchemaDependencies) DeepCopyInto(out *JSONSchemaDependencies) {
397 *out = make(JSONSchemaDependencies, len(*in))
398 for key, val := range *in {
399 (*out)[key] = *val.DeepCopy()
405 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDependencies.
406 func (in JSONSchemaDependencies) DeepCopy() JSONSchemaDependencies {
410 out := new(JSONSchemaDependencies)
415 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
416 func (in *JSONSchemaProps) DeepCopyInto(out *JSONSchemaProps) {
417 clone := in.DeepCopy()
422 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
423 func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
425 if in.Schema != nil {
426 in, out := &in.Schema, &out.Schema
427 *out = (*in).DeepCopy()
429 if in.JSONSchemas != nil {
430 in, out := &in.JSONSchemas, &out.JSONSchemas
431 *out = make([]JSONSchemaProps, len(*in))
433 (*in)[i].DeepCopyInto(&(*out)[i])
439 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrArray.
440 func (in *JSONSchemaPropsOrArray) DeepCopy() *JSONSchemaPropsOrArray {
444 out := new(JSONSchemaPropsOrArray)
449 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
450 func (in *JSONSchemaPropsOrBool) DeepCopyInto(out *JSONSchemaPropsOrBool) {
452 if in.Schema != nil {
453 in, out := &in.Schema, &out.Schema
454 *out = (*in).DeepCopy()
459 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrBool.
460 func (in *JSONSchemaPropsOrBool) DeepCopy() *JSONSchemaPropsOrBool {
464 out := new(JSONSchemaPropsOrBool)
469 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
470 func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out *JSONSchemaPropsOrStringArray) {
472 if in.Schema != nil {
473 in, out := &in.Schema, &out.Schema
474 *out = (*in).DeepCopy()
476 if in.Property != nil {
477 in, out := &in.Property, &out.Property
478 *out = make([]string, len(*in))
484 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrStringArray.
485 func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray {
489 out := new(JSONSchemaPropsOrStringArray)
494 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
495 func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
498 in, out := &in.Path, &out.Path
505 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
506 func (in *ServiceReference) DeepCopy() *ServiceReference {
510 out := new(ServiceReference)
515 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
516 func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
519 in, out := &in.URL, &out.URL
523 if in.Service != nil {
524 in, out := &in.Service, &out.Service
525 *out = new(ServiceReference)
526 (*in).DeepCopyInto(*out)
528 if in.CABundle != nil {
529 in, out := &in.CABundle, &out.CABundle
530 *out = make([]byte, len(*in))
536 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
537 func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
541 out := new(WebhookClientConfig)