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 *ConversionRequest) DeepCopyInto(out *ConversionRequest) {
30 if in.Objects != nil {
31 in, out := &in.Objects, &out.Objects
32 *out = make([]runtime.RawExtension, len(*in))
34 (*in)[i].DeepCopyInto(&(*out)[i])
40 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionRequest.
41 func (in *ConversionRequest) DeepCopy() *ConversionRequest {
45 out := new(ConversionRequest)
50 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
51 func (in *ConversionResponse) DeepCopyInto(out *ConversionResponse) {
53 if in.ConvertedObjects != nil {
54 in, out := &in.ConvertedObjects, &out.ConvertedObjects
55 *out = make([]runtime.RawExtension, len(*in))
57 (*in)[i].DeepCopyInto(&(*out)[i])
60 in.Result.DeepCopyInto(&out.Result)
64 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionResponse.
65 func (in *ConversionResponse) DeepCopy() *ConversionResponse {
69 out := new(ConversionResponse)
74 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
75 func (in *ConversionReview) DeepCopyInto(out *ConversionReview) {
77 out.TypeMeta = in.TypeMeta
78 if in.Request != nil {
79 in, out := &in.Request, &out.Request
80 *out = new(ConversionRequest)
81 (*in).DeepCopyInto(*out)
83 if in.Response != nil {
84 in, out := &in.Response, &out.Response
85 *out = new(ConversionResponse)
86 (*in).DeepCopyInto(*out)
91 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConversionReview.
92 func (in *ConversionReview) DeepCopy() *ConversionReview {
96 out := new(ConversionReview)
101 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
102 func (in *ConversionReview) DeepCopyObject() runtime.Object {
103 if c := in.DeepCopy(); c != nil {
109 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
110 func (in *CustomResourceColumnDefinition) DeepCopyInto(out *CustomResourceColumnDefinition) {
115 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceColumnDefinition.
116 func (in *CustomResourceColumnDefinition) DeepCopy() *CustomResourceColumnDefinition {
120 out := new(CustomResourceColumnDefinition)
125 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
126 func (in *CustomResourceConversion) DeepCopyInto(out *CustomResourceConversion) {
128 if in.WebhookClientConfig != nil {
129 in, out := &in.WebhookClientConfig, &out.WebhookClientConfig
130 *out = new(WebhookClientConfig)
131 (*in).DeepCopyInto(*out)
136 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceConversion.
137 func (in *CustomResourceConversion) DeepCopy() *CustomResourceConversion {
141 out := new(CustomResourceConversion)
146 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
147 func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition) {
149 out.TypeMeta = in.TypeMeta
150 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
151 in.Spec.DeepCopyInto(&out.Spec)
152 in.Status.DeepCopyInto(&out.Status)
156 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
157 func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition {
161 out := new(CustomResourceDefinition)
166 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
167 func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object {
168 if c := in.DeepCopy(); c != nil {
174 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
175 func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDefinitionCondition) {
177 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
181 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition.
182 func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition {
186 out := new(CustomResourceDefinitionCondition)
191 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
192 func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefinitionList) {
194 out.TypeMeta = in.TypeMeta
195 out.ListMeta = in.ListMeta
197 in, out := &in.Items, &out.Items
198 *out = make([]CustomResourceDefinition, len(*in))
200 (*in)[i].DeepCopyInto(&(*out)[i])
206 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList.
207 func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList {
211 out := new(CustomResourceDefinitionList)
216 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
217 func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object {
218 if c := in.DeepCopy(); c != nil {
224 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
225 func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinitionNames) {
227 if in.ShortNames != nil {
228 in, out := &in.ShortNames, &out.ShortNames
229 *out = make([]string, len(*in))
232 if in.Categories != nil {
233 in, out := &in.Categories, &out.Categories
234 *out = make([]string, len(*in))
240 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames.
241 func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames {
245 out := new(CustomResourceDefinitionNames)
250 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
251 func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefinitionSpec) {
253 in.Names.DeepCopyInto(&out.Names)
254 if in.Validation != nil {
255 in, out := &in.Validation, &out.Validation
256 *out = new(CustomResourceValidation)
257 (*in).DeepCopyInto(*out)
259 if in.Subresources != nil {
260 in, out := &in.Subresources, &out.Subresources
261 *out = new(CustomResourceSubresources)
262 (*in).DeepCopyInto(*out)
264 if in.Versions != nil {
265 in, out := &in.Versions, &out.Versions
266 *out = make([]CustomResourceDefinitionVersion, len(*in))
268 (*in)[i].DeepCopyInto(&(*out)[i])
271 if in.AdditionalPrinterColumns != nil {
272 in, out := &in.AdditionalPrinterColumns, &out.AdditionalPrinterColumns
273 *out = make([]CustomResourceColumnDefinition, len(*in))
276 if in.Conversion != nil {
277 in, out := &in.Conversion, &out.Conversion
278 *out = new(CustomResourceConversion)
279 (*in).DeepCopyInto(*out)
284 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec.
285 func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec {
289 out := new(CustomResourceDefinitionSpec)
294 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
295 func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefinitionStatus) {
297 if in.Conditions != nil {
298 in, out := &in.Conditions, &out.Conditions
299 *out = make([]CustomResourceDefinitionCondition, len(*in))
301 (*in)[i].DeepCopyInto(&(*out)[i])
304 in.AcceptedNames.DeepCopyInto(&out.AcceptedNames)
305 if in.StoredVersions != nil {
306 in, out := &in.StoredVersions, &out.StoredVersions
307 *out = make([]string, len(*in))
313 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus.
314 func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus {
318 out := new(CustomResourceDefinitionStatus)
323 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
324 func (in *CustomResourceDefinitionVersion) DeepCopyInto(out *CustomResourceDefinitionVersion) {
326 if in.Schema != nil {
327 in, out := &in.Schema, &out.Schema
328 *out = new(CustomResourceValidation)
329 (*in).DeepCopyInto(*out)
331 if in.Subresources != nil {
332 in, out := &in.Subresources, &out.Subresources
333 *out = new(CustomResourceSubresources)
334 (*in).DeepCopyInto(*out)
336 if in.AdditionalPrinterColumns != nil {
337 in, out := &in.AdditionalPrinterColumns, &out.AdditionalPrinterColumns
338 *out = make([]CustomResourceColumnDefinition, len(*in))
344 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionVersion.
345 func (in *CustomResourceDefinitionVersion) DeepCopy() *CustomResourceDefinitionVersion {
349 out := new(CustomResourceDefinitionVersion)
354 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
355 func (in *CustomResourceSubresourceScale) DeepCopyInto(out *CustomResourceSubresourceScale) {
357 if in.LabelSelectorPath != nil {
358 in, out := &in.LabelSelectorPath, &out.LabelSelectorPath
365 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceScale.
366 func (in *CustomResourceSubresourceScale) DeepCopy() *CustomResourceSubresourceScale {
370 out := new(CustomResourceSubresourceScale)
375 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
376 func (in *CustomResourceSubresourceStatus) DeepCopyInto(out *CustomResourceSubresourceStatus) {
381 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresourceStatus.
382 func (in *CustomResourceSubresourceStatus) DeepCopy() *CustomResourceSubresourceStatus {
386 out := new(CustomResourceSubresourceStatus)
391 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
392 func (in *CustomResourceSubresources) DeepCopyInto(out *CustomResourceSubresources) {
394 if in.Status != nil {
395 in, out := &in.Status, &out.Status
396 *out = new(CustomResourceSubresourceStatus)
400 in, out := &in.Scale, &out.Scale
401 *out = new(CustomResourceSubresourceScale)
402 (*in).DeepCopyInto(*out)
407 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceSubresources.
408 func (in *CustomResourceSubresources) DeepCopy() *CustomResourceSubresources {
412 out := new(CustomResourceSubresources)
417 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
418 func (in *CustomResourceValidation) DeepCopyInto(out *CustomResourceValidation) {
420 if in.OpenAPIV3Schema != nil {
421 in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
422 *out = (*in).DeepCopy()
427 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceValidation.
428 func (in *CustomResourceValidation) DeepCopy() *CustomResourceValidation {
432 out := new(CustomResourceValidation)
437 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
438 func (in *ExternalDocumentation) DeepCopyInto(out *ExternalDocumentation) {
443 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentation.
444 func (in *ExternalDocumentation) DeepCopy() *ExternalDocumentation {
448 out := new(ExternalDocumentation)
453 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
454 func (in *JSON) DeepCopyInto(out *JSON) {
457 in, out := &in.Raw, &out.Raw
458 *out = make([]byte, len(*in))
464 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON.
465 func (in *JSON) DeepCopy() *JSON {
474 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
475 func (in JSONSchemaDefinitions) DeepCopyInto(out *JSONSchemaDefinitions) {
478 *out = make(JSONSchemaDefinitions, len(*in))
479 for key, val := range *in {
480 (*out)[key] = *val.DeepCopy()
486 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDefinitions.
487 func (in JSONSchemaDefinitions) DeepCopy() JSONSchemaDefinitions {
491 out := new(JSONSchemaDefinitions)
496 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
497 func (in JSONSchemaDependencies) DeepCopyInto(out *JSONSchemaDependencies) {
500 *out = make(JSONSchemaDependencies, len(*in))
501 for key, val := range *in {
502 (*out)[key] = *val.DeepCopy()
508 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaDependencies.
509 func (in JSONSchemaDependencies) DeepCopy() JSONSchemaDependencies {
513 out := new(JSONSchemaDependencies)
518 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
519 func (in *JSONSchemaProps) DeepCopyInto(out *JSONSchemaProps) {
520 clone := in.DeepCopy()
525 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
526 func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
528 if in.Schema != nil {
529 in, out := &in.Schema, &out.Schema
530 *out = (*in).DeepCopy()
532 if in.JSONSchemas != nil {
533 in, out := &in.JSONSchemas, &out.JSONSchemas
534 *out = make([]JSONSchemaProps, len(*in))
536 (*in)[i].DeepCopyInto(&(*out)[i])
542 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrArray.
543 func (in *JSONSchemaPropsOrArray) DeepCopy() *JSONSchemaPropsOrArray {
547 out := new(JSONSchemaPropsOrArray)
552 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
553 func (in *JSONSchemaPropsOrBool) DeepCopyInto(out *JSONSchemaPropsOrBool) {
555 if in.Schema != nil {
556 in, out := &in.Schema, &out.Schema
557 *out = (*in).DeepCopy()
562 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrBool.
563 func (in *JSONSchemaPropsOrBool) DeepCopy() *JSONSchemaPropsOrBool {
567 out := new(JSONSchemaPropsOrBool)
572 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
573 func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out *JSONSchemaPropsOrStringArray) {
575 if in.Schema != nil {
576 in, out := &in.Schema, &out.Schema
577 *out = (*in).DeepCopy()
579 if in.Property != nil {
580 in, out := &in.Property, &out.Property
581 *out = make([]string, len(*in))
587 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaPropsOrStringArray.
588 func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray {
592 out := new(JSONSchemaPropsOrStringArray)
597 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
598 func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
601 in, out := &in.Path, &out.Path
608 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
609 func (in *ServiceReference) DeepCopy() *ServiceReference {
613 out := new(ServiceReference)
618 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
619 func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
622 in, out := &in.URL, &out.URL
626 if in.Service != nil {
627 in, out := &in.Service, &out.Service
628 *out = new(ServiceReference)
629 (*in).DeepCopyInto(*out)
631 if in.CABundle != nil {
632 in, out := &in.CABundle, &out.CABundle
633 *out = make([]byte, len(*in))
639 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
640 func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
644 out := new(WebhookClientConfig)