github.com/cilium/cilium@v1.16.2/pkg/azure/types/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // SPDX-License-Identifier: Apache-2.0
     5  // Copyright Authors of Cilium
     6  
     7  // Code generated by deepcopy-gen. DO NOT EDIT.
     8  
     9  package types
    10  
    11  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    12  func (in *AzureInterface) DeepCopyInto(out *AzureInterface) {
    13  	*out = *in
    14  	if in.Addresses != nil {
    15  		in, out := &in.Addresses, &out.Addresses
    16  		*out = make([]AzureAddress, len(*in))
    17  		copy(*out, *in)
    18  	}
    19  	return
    20  }
    21  
    22  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureInterface.
    23  func (in *AzureInterface) DeepCopy() *AzureInterface {
    24  	if in == nil {
    25  		return nil
    26  	}
    27  	out := new(AzureInterface)
    28  	in.DeepCopyInto(out)
    29  	return out
    30  }
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *AzureSpec) DeepCopyInto(out *AzureSpec) {
    34  	*out = *in
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSpec.
    39  func (in *AzureSpec) DeepCopy() *AzureSpec {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(AzureSpec)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    49  func (in *AzureStatus) DeepCopyInto(out *AzureStatus) {
    50  	*out = *in
    51  	if in.Interfaces != nil {
    52  		in, out := &in.Interfaces, &out.Interfaces
    53  		*out = make([]AzureInterface, len(*in))
    54  		for i := range *in {
    55  			(*in)[i].DeepCopyInto(&(*out)[i])
    56  		}
    57  	}
    58  	return
    59  }
    60  
    61  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStatus.
    62  func (in *AzureStatus) DeepCopy() *AzureStatus {
    63  	if in == nil {
    64  		return nil
    65  	}
    66  	out := new(AzureStatus)
    67  	in.DeepCopyInto(out)
    68  	return out
    69  }