sigs.k8s.io/cluster-api@v1.7.1/cmd/clusterctl/internal/test/providers/infrastructure/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 infrastructure
    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 *GenericClusterInfrastructureIdentity) DeepCopyInto(out *GenericClusterInfrastructureIdentity) {
    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 GenericClusterInfrastructureIdentity.
    35  func (in *GenericClusterInfrastructureIdentity) DeepCopy() *GenericClusterInfrastructureIdentity {
    36  	if in == nil {
    37  		return nil
    38  	}
    39  	out := new(GenericClusterInfrastructureIdentity)
    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 *GenericClusterInfrastructureIdentity) 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 *GenericClusterInfrastructureIdentityList) DeepCopyInto(out *GenericClusterInfrastructureIdentityList) {
    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([]GenericClusterInfrastructureIdentity, 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 GenericClusterInfrastructureIdentityList.
    67  func (in *GenericClusterInfrastructureIdentityList) DeepCopy() *GenericClusterInfrastructureIdentityList {
    68  	if in == nil {
    69  		return nil
    70  	}
    71  	out := new(GenericClusterInfrastructureIdentityList)
    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 *GenericClusterInfrastructureIdentityList) 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 *GenericInfrastructureCluster) DeepCopyInto(out *GenericInfrastructureCluster) {
    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 GenericInfrastructureCluster.
    92  func (in *GenericInfrastructureCluster) DeepCopy() *GenericInfrastructureCluster {
    93  	if in == nil {
    94  		return nil
    95  	}
    96  	out := new(GenericInfrastructureCluster)
    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 *GenericInfrastructureCluster) 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 *GenericInfrastructureClusterList) DeepCopyInto(out *GenericInfrastructureClusterList) {
   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([]GenericInfrastructureCluster, 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 GenericInfrastructureClusterList.
   124  func (in *GenericInfrastructureClusterList) DeepCopy() *GenericInfrastructureClusterList {
   125  	if in == nil {
   126  		return nil
   127  	}
   128  	out := new(GenericInfrastructureClusterList)
   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 *GenericInfrastructureClusterList) DeepCopyObject() runtime.Object {
   135  	if c := in.DeepCopy(); c != nil {
   136  		return c
   137  	}
   138  	return nil
   139  }
   140  
   141  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   142  func (in *GenericInfrastructureMachine) DeepCopyInto(out *GenericInfrastructureMachine) {
   143  	*out = *in
   144  	out.TypeMeta = in.TypeMeta
   145  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   146  }
   147  
   148  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericInfrastructureMachine.
   149  func (in *GenericInfrastructureMachine) DeepCopy() *GenericInfrastructureMachine {
   150  	if in == nil {
   151  		return nil
   152  	}
   153  	out := new(GenericInfrastructureMachine)
   154  	in.DeepCopyInto(out)
   155  	return out
   156  }
   157  
   158  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   159  func (in *GenericInfrastructureMachine) DeepCopyObject() runtime.Object {
   160  	if c := in.DeepCopy(); c != nil {
   161  		return c
   162  	}
   163  	return nil
   164  }
   165  
   166  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   167  func (in *GenericInfrastructureMachineList) DeepCopyInto(out *GenericInfrastructureMachineList) {
   168  	*out = *in
   169  	out.TypeMeta = in.TypeMeta
   170  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   171  	if in.Items != nil {
   172  		in, out := &in.Items, &out.Items
   173  		*out = make([]GenericInfrastructureMachine, len(*in))
   174  		for i := range *in {
   175  			(*in)[i].DeepCopyInto(&(*out)[i])
   176  		}
   177  	}
   178  }
   179  
   180  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericInfrastructureMachineList.
   181  func (in *GenericInfrastructureMachineList) DeepCopy() *GenericInfrastructureMachineList {
   182  	if in == nil {
   183  		return nil
   184  	}
   185  	out := new(GenericInfrastructureMachineList)
   186  	in.DeepCopyInto(out)
   187  	return out
   188  }
   189  
   190  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   191  func (in *GenericInfrastructureMachineList) DeepCopyObject() runtime.Object {
   192  	if c := in.DeepCopy(); c != nil {
   193  		return c
   194  	}
   195  	return nil
   196  }
   197  
   198  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   199  func (in *GenericInfrastructureMachineTemplate) DeepCopyInto(out *GenericInfrastructureMachineTemplate) {
   200  	*out = *in
   201  	out.TypeMeta = in.TypeMeta
   202  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   203  }
   204  
   205  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericInfrastructureMachineTemplate.
   206  func (in *GenericInfrastructureMachineTemplate) DeepCopy() *GenericInfrastructureMachineTemplate {
   207  	if in == nil {
   208  		return nil
   209  	}
   210  	out := new(GenericInfrastructureMachineTemplate)
   211  	in.DeepCopyInto(out)
   212  	return out
   213  }
   214  
   215  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   216  func (in *GenericInfrastructureMachineTemplate) DeepCopyObject() runtime.Object {
   217  	if c := in.DeepCopy(); c != nil {
   218  		return c
   219  	}
   220  	return nil
   221  }
   222  
   223  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   224  func (in *GenericInfrastructureMachineTemplateList) DeepCopyInto(out *GenericInfrastructureMachineTemplateList) {
   225  	*out = *in
   226  	out.TypeMeta = in.TypeMeta
   227  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   228  	if in.Items != nil {
   229  		in, out := &in.Items, &out.Items
   230  		*out = make([]GenericInfrastructureMachineTemplate, len(*in))
   231  		for i := range *in {
   232  			(*in)[i].DeepCopyInto(&(*out)[i])
   233  		}
   234  	}
   235  }
   236  
   237  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericInfrastructureMachineTemplateList.
   238  func (in *GenericInfrastructureMachineTemplateList) DeepCopy() *GenericInfrastructureMachineTemplateList {
   239  	if in == nil {
   240  		return nil
   241  	}
   242  	out := new(GenericInfrastructureMachineTemplateList)
   243  	in.DeepCopyInto(out)
   244  	return out
   245  }
   246  
   247  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   248  func (in *GenericInfrastructureMachineTemplateList) DeepCopyObject() runtime.Object {
   249  	if c := in.DeepCopy(); c != nil {
   250  		return c
   251  	}
   252  	return nil
   253  }