sigs.k8s.io/cluster-api@v1.7.1/exp/ipam/api/v1beta1/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 v1beta1
    22  
    23  import (
    24  	"k8s.io/apimachinery/pkg/runtime"
    25  	apiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *IPAddress) DeepCopyInto(out *IPAddress) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddress.
    37  func (in *IPAddress) DeepCopy() *IPAddress {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(IPAddress)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    47  func (in *IPAddress) DeepCopyObject() runtime.Object {
    48  	if c := in.DeepCopy(); c != nil {
    49  		return c
    50  	}
    51  	return nil
    52  }
    53  
    54  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    55  func (in *IPAddressClaim) DeepCopyInto(out *IPAddressClaim) {
    56  	*out = *in
    57  	out.TypeMeta = in.TypeMeta
    58  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    59  	in.Spec.DeepCopyInto(&out.Spec)
    60  	in.Status.DeepCopyInto(&out.Status)
    61  }
    62  
    63  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressClaim.
    64  func (in *IPAddressClaim) DeepCopy() *IPAddressClaim {
    65  	if in == nil {
    66  		return nil
    67  	}
    68  	out := new(IPAddressClaim)
    69  	in.DeepCopyInto(out)
    70  	return out
    71  }
    72  
    73  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    74  func (in *IPAddressClaim) DeepCopyObject() runtime.Object {
    75  	if c := in.DeepCopy(); c != nil {
    76  		return c
    77  	}
    78  	return nil
    79  }
    80  
    81  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    82  func (in *IPAddressClaimList) DeepCopyInto(out *IPAddressClaimList) {
    83  	*out = *in
    84  	out.TypeMeta = in.TypeMeta
    85  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    86  	if in.Items != nil {
    87  		in, out := &in.Items, &out.Items
    88  		*out = make([]IPAddressClaim, len(*in))
    89  		for i := range *in {
    90  			(*in)[i].DeepCopyInto(&(*out)[i])
    91  		}
    92  	}
    93  }
    94  
    95  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressClaimList.
    96  func (in *IPAddressClaimList) DeepCopy() *IPAddressClaimList {
    97  	if in == nil {
    98  		return nil
    99  	}
   100  	out := new(IPAddressClaimList)
   101  	in.DeepCopyInto(out)
   102  	return out
   103  }
   104  
   105  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   106  func (in *IPAddressClaimList) DeepCopyObject() runtime.Object {
   107  	if c := in.DeepCopy(); c != nil {
   108  		return c
   109  	}
   110  	return nil
   111  }
   112  
   113  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   114  func (in *IPAddressClaimSpec) DeepCopyInto(out *IPAddressClaimSpec) {
   115  	*out = *in
   116  	in.PoolRef.DeepCopyInto(&out.PoolRef)
   117  }
   118  
   119  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressClaimSpec.
   120  func (in *IPAddressClaimSpec) DeepCopy() *IPAddressClaimSpec {
   121  	if in == nil {
   122  		return nil
   123  	}
   124  	out := new(IPAddressClaimSpec)
   125  	in.DeepCopyInto(out)
   126  	return out
   127  }
   128  
   129  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   130  func (in *IPAddressClaimStatus) DeepCopyInto(out *IPAddressClaimStatus) {
   131  	*out = *in
   132  	out.AddressRef = in.AddressRef
   133  	if in.Conditions != nil {
   134  		in, out := &in.Conditions, &out.Conditions
   135  		*out = make(apiv1beta1.Conditions, len(*in))
   136  		for i := range *in {
   137  			(*in)[i].DeepCopyInto(&(*out)[i])
   138  		}
   139  	}
   140  }
   141  
   142  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressClaimStatus.
   143  func (in *IPAddressClaimStatus) DeepCopy() *IPAddressClaimStatus {
   144  	if in == nil {
   145  		return nil
   146  	}
   147  	out := new(IPAddressClaimStatus)
   148  	in.DeepCopyInto(out)
   149  	return out
   150  }
   151  
   152  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   153  func (in *IPAddressList) DeepCopyInto(out *IPAddressList) {
   154  	*out = *in
   155  	out.TypeMeta = in.TypeMeta
   156  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   157  	if in.Items != nil {
   158  		in, out := &in.Items, &out.Items
   159  		*out = make([]IPAddress, len(*in))
   160  		for i := range *in {
   161  			(*in)[i].DeepCopyInto(&(*out)[i])
   162  		}
   163  	}
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressList.
   167  func (in *IPAddressList) DeepCopy() *IPAddressList {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(IPAddressList)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  
   176  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   177  func (in *IPAddressList) DeepCopyObject() runtime.Object {
   178  	if c := in.DeepCopy(); c != nil {
   179  		return c
   180  	}
   181  	return nil
   182  }
   183  
   184  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   185  func (in *IPAddressSpec) DeepCopyInto(out *IPAddressSpec) {
   186  	*out = *in
   187  	out.ClaimRef = in.ClaimRef
   188  	in.PoolRef.DeepCopyInto(&out.PoolRef)
   189  }
   190  
   191  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressSpec.
   192  func (in *IPAddressSpec) DeepCopy() *IPAddressSpec {
   193  	if in == nil {
   194  		return nil
   195  	}
   196  	out := new(IPAddressSpec)
   197  	in.DeepCopyInto(out)
   198  	return out
   199  }