knative.dev/pkg@v0.0.0-20260602142205-ac97e43f6622/webhook/resourcesemantics/conversion/internal/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2022 The Knative Authors
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package internal
    23  
    24  import (
    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 *ErrorResource) DeepCopyInto(out *ErrorResource) {
    30  	*out = *in
    31  	in.V1Resource.DeepCopyInto(&out.V1Resource)
    32  	return
    33  }
    34  
    35  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorResource.
    36  func (in *ErrorResource) DeepCopy() *ErrorResource {
    37  	if in == nil {
    38  		return nil
    39  	}
    40  	out := new(ErrorResource)
    41  	in.DeepCopyInto(out)
    42  	return out
    43  }
    44  
    45  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    46  func (in *ErrorResource) DeepCopyObject() runtime.Object {
    47  	if c := in.DeepCopy(); c != nil {
    48  		return c
    49  	}
    50  	return nil
    51  }
    52  
    53  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    54  func (in *V1Resource) DeepCopyInto(out *V1Resource) {
    55  	*out = *in
    56  	out.TypeMeta = in.TypeMeta
    57  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    58  	out.Spec = in.Spec
    59  	return
    60  }
    61  
    62  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V1Resource.
    63  func (in *V1Resource) DeepCopy() *V1Resource {
    64  	if in == nil {
    65  		return nil
    66  	}
    67  	out := new(V1Resource)
    68  	in.DeepCopyInto(out)
    69  	return out
    70  }
    71  
    72  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    73  func (in *V1Resource) DeepCopyObject() runtime.Object {
    74  	if c := in.DeepCopy(); c != nil {
    75  		return c
    76  	}
    77  	return nil
    78  }
    79  
    80  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    81  func (in *V2Resource) DeepCopyInto(out *V2Resource) {
    82  	*out = *in
    83  	out.TypeMeta = in.TypeMeta
    84  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    85  	out.Spec = in.Spec
    86  	return
    87  }
    88  
    89  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V2Resource.
    90  func (in *V2Resource) DeepCopy() *V2Resource {
    91  	if in == nil {
    92  		return nil
    93  	}
    94  	out := new(V2Resource)
    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 *V2Resource) 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 *V3Resource) DeepCopyInto(out *V3Resource) {
   109  	*out = *in
   110  	out.TypeMeta = in.TypeMeta
   111  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   112  	out.Spec = in.Spec
   113  	return
   114  }
   115  
   116  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V3Resource.
   117  func (in *V3Resource) DeepCopy() *V3Resource {
   118  	if in == nil {
   119  		return nil
   120  	}
   121  	out := new(V3Resource)
   122  	in.DeepCopyInto(out)
   123  	return out
   124  }
   125  
   126  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   127  func (in *V3Resource) DeepCopyObject() runtime.Object {
   128  	if c := in.DeepCopy(); c != nil {
   129  		return c
   130  	}
   131  	return nil
   132  }