github.com/banzaicloud/operator-tools@v0.28.10/pkg/resources/zz_generated.deepcopy.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  // Copyright © 2020 Banzai Cloud
     4  //
     5  // Licensed under the Apache License, Version 2.0 (the "License");
     6  // you may not use this file except in compliance with the License.
     7  // You may obtain a copy of the License at
     8  //
     9  //    http://www.apache.org/licenses/LICENSE-2.0
    10  //
    11  // Unless required by applicable law or agreed to in writing, software
    12  // distributed under the License is distributed on an "AS IS" BASIS,
    13  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14  // See the License for the specific language governing permissions and
    15  // limitations under the License.
    16  
    17  // Code generated by controller-gen. DO NOT EDIT.
    18  
    19  package resources
    20  
    21  import ()
    22  
    23  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    24  func (in *K8SResourceOverlay) DeepCopyInto(out *K8SResourceOverlay) {
    25  	*out = *in
    26  	if in.GVK != nil {
    27  		in, out := &in.GVK, &out.GVK
    28  		*out = new(GroupVersionKind)
    29  		**out = **in
    30  	}
    31  	out.ObjectKey = in.ObjectKey
    32  	if in.Patches != nil {
    33  		in, out := &in.Patches, &out.Patches
    34  		*out = make([]K8SResourceOverlayPatch, len(*in))
    35  		for i := range *in {
    36  			(*in)[i].DeepCopyInto(&(*out)[i])
    37  		}
    38  	}
    39  }
    40  
    41  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SResourceOverlay.
    42  func (in *K8SResourceOverlay) DeepCopy() *K8SResourceOverlay {
    43  	if in == nil {
    44  		return nil
    45  	}
    46  	out := new(K8SResourceOverlay)
    47  	in.DeepCopyInto(out)
    48  	return out
    49  }
    50  
    51  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    52  func (in *K8SResourceOverlayPatch) DeepCopyInto(out *K8SResourceOverlayPatch) {
    53  	*out = *in
    54  	if in.Path != nil {
    55  		in, out := &in.Path, &out.Path
    56  		*out = new(string)
    57  		**out = **in
    58  	}
    59  	if in.Value != nil {
    60  		in, out := &in.Value, &out.Value
    61  		*out = new(string)
    62  		**out = **in
    63  	}
    64  }
    65  
    66  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SResourceOverlayPatch.
    67  func (in *K8SResourceOverlayPatch) DeepCopy() *K8SResourceOverlayPatch {
    68  	if in == nil {
    69  		return nil
    70  	}
    71  	out := new(K8SResourceOverlayPatch)
    72  	in.DeepCopyInto(out)
    73  	return out
    74  }