sigs.k8s.io/cluster-api@v1.7.1/cmd/clusterctl/internal/test/providers/external/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright The Kubernetes Authors.
     5  
     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
     9  
    10      http://www.apache.org/licenses/LICENSE-2.0
    11  
    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.
    17  */
    18  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package external
    22  
    23  import (
    24  	runtime "k8s.io/apimachinery/pkg/runtime"
    25  )
    26  
    27  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    28  func (in *GenericClusterExternalObject) DeepCopyInto(out *GenericClusterExternalObject) {
    29  	*out = *in
    30  	out.TypeMeta = in.TypeMeta
    31  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    32  }
    33  
    34  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericClusterExternalObject.
    35  func (in *GenericClusterExternalObject) DeepCopy() *GenericClusterExternalObject {
    36  	if in == nil {
    37  		return nil
    38  	}
    39  	out := new(GenericClusterExternalObject)
    40  	in.DeepCopyInto(out)
    41  	return out
    42  }
    43  
    44  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    45  func (in *GenericClusterExternalObject) DeepCopyObject() runtime.Object {
    46  	if c := in.DeepCopy(); c != nil {
    47  		return c
    48  	}
    49  	return nil
    50  }
    51  
    52  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    53  func (in *GenericClusterExternalObjectList) DeepCopyInto(out *GenericClusterExternalObjectList) {
    54  	*out = *in
    55  	out.TypeMeta = in.TypeMeta
    56  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    57  	if in.Items != nil {
    58  		in, out := &in.Items, &out.Items
    59  		*out = make([]GenericExternalObject, len(*in))
    60  		for i := range *in {
    61  			(*in)[i].DeepCopyInto(&(*out)[i])
    62  		}
    63  	}
    64  }
    65  
    66  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericClusterExternalObjectList.
    67  func (in *GenericClusterExternalObjectList) DeepCopy() *GenericClusterExternalObjectList {
    68  	if in == nil {
    69  		return nil
    70  	}
    71  	out := new(GenericClusterExternalObjectList)
    72  	in.DeepCopyInto(out)
    73  	return out
    74  }
    75  
    76  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    77  func (in *GenericClusterExternalObjectList) DeepCopyObject() runtime.Object {
    78  	if c := in.DeepCopy(); c != nil {
    79  		return c
    80  	}
    81  	return nil
    82  }
    83  
    84  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    85  func (in *GenericExternalObject) DeepCopyInto(out *GenericExternalObject) {
    86  	*out = *in
    87  	out.TypeMeta = in.TypeMeta
    88  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    89  }
    90  
    91  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericExternalObject.
    92  func (in *GenericExternalObject) DeepCopy() *GenericExternalObject {
    93  	if in == nil {
    94  		return nil
    95  	}
    96  	out := new(GenericExternalObject)
    97  	in.DeepCopyInto(out)
    98  	return out
    99  }
   100  
   101  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   102  func (in *GenericExternalObject) DeepCopyObject() runtime.Object {
   103  	if c := in.DeepCopy(); c != nil {
   104  		return c
   105  	}
   106  	return nil
   107  }
   108  
   109  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   110  func (in *GenericExternalObjectList) DeepCopyInto(out *GenericExternalObjectList) {
   111  	*out = *in
   112  	out.TypeMeta = in.TypeMeta
   113  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   114  	if in.Items != nil {
   115  		in, out := &in.Items, &out.Items
   116  		*out = make([]GenericExternalObject, len(*in))
   117  		for i := range *in {
   118  			(*in)[i].DeepCopyInto(&(*out)[i])
   119  		}
   120  	}
   121  }
   122  
   123  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericExternalObjectList.
   124  func (in *GenericExternalObjectList) DeepCopy() *GenericExternalObjectList {
   125  	if in == nil {
   126  		return nil
   127  	}
   128  	out := new(GenericExternalObjectList)
   129  	in.DeepCopyInto(out)
   130  	return out
   131  }
   132  
   133  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   134  func (in *GenericExternalObjectList) DeepCopyObject() runtime.Object {
   135  	if c := in.DeepCopy(); c != nil {
   136  		return c
   137  	}
   138  	return nil
   139  }