...

Source file src/edge-infra.dev/pkg/sds/patching/k8s/apis/ienpatch/v1/zz_generated.deepcopy.go

Documentation: edge-infra.dev/pkg/sds/patching/k8s/apis/ienpatch/v1

     1  //go:build !ignore_autogenerated
     2  
     3  // Code generated by controller-gen. DO NOT EDIT.
     4  
     5  package v1
     6  
     7  import (
     8  	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
     9  	runtime "k8s.io/apimachinery/pkg/runtime"
    10  )
    11  
    12  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    13  func (in *IENPatch) DeepCopyInto(out *IENPatch) {
    14  	*out = *in
    15  	out.TypeMeta = in.TypeMeta
    16  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    17  	in.Spec.DeepCopyInto(&out.Spec)
    18  	if in.Status != nil {
    19  		in, out := &in.Status, &out.Status
    20  		*out = new(IENPatchStatus)
    21  		(*in).DeepCopyInto(*out)
    22  	}
    23  }
    24  
    25  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IENPatch.
    26  func (in *IENPatch) DeepCopy() *IENPatch {
    27  	if in == nil {
    28  		return nil
    29  	}
    30  	out := new(IENPatch)
    31  	in.DeepCopyInto(out)
    32  	return out
    33  }
    34  
    35  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    36  func (in *IENPatch) DeepCopyObject() runtime.Object {
    37  	if c := in.DeepCopy(); c != nil {
    38  		return c
    39  	}
    40  	return nil
    41  }
    42  
    43  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    44  func (in *IENPatchList) DeepCopyInto(out *IENPatchList) {
    45  	*out = *in
    46  	out.TypeMeta = in.TypeMeta
    47  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    48  	if in.Items != nil {
    49  		in, out := &in.Items, &out.Items
    50  		*out = make([]IENPatch, len(*in))
    51  		for i := range *in {
    52  			(*in)[i].DeepCopyInto(&(*out)[i])
    53  		}
    54  	}
    55  }
    56  
    57  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IENPatchList.
    58  func (in *IENPatchList) DeepCopy() *IENPatchList {
    59  	if in == nil {
    60  		return nil
    61  	}
    62  	out := new(IENPatchList)
    63  	in.DeepCopyInto(out)
    64  	return out
    65  }
    66  
    67  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    68  func (in *IENPatchList) DeepCopyObject() runtime.Object {
    69  	if c := in.DeepCopy(); c != nil {
    70  		return c
    71  	}
    72  	return nil
    73  }
    74  
    75  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    76  func (in *IENPatchSpec) DeepCopyInto(out *IENPatchSpec) {
    77  	*out = *in
    78  	if in.NodeTargets != nil {
    79  		in, out := &in.NodeTargets, &out.NodeTargets
    80  		*out = make([]string, len(*in))
    81  		copy(*out, *in)
    82  	}
    83  	if in.SourceVersions != nil {
    84  		in, out := &in.SourceVersions, &out.SourceVersions
    85  		*out = make([]string, len(*in))
    86  		copy(*out, *in)
    87  	}
    88  }
    89  
    90  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IENPatchSpec.
    91  func (in *IENPatchSpec) DeepCopy() *IENPatchSpec {
    92  	if in == nil {
    93  		return nil
    94  	}
    95  	out := new(IENPatchSpec)
    96  	in.DeepCopyInto(out)
    97  	return out
    98  }
    99  
   100  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   101  func (in *IENPatchStatus) DeepCopyInto(out *IENPatchStatus) {
   102  	*out = *in
   103  	if in.Conditions != nil {
   104  		in, out := &in.Conditions, &out.Conditions
   105  		*out = make([]metav1.Condition, len(*in))
   106  		for i := range *in {
   107  			(*in)[i].DeepCopyInto(&(*out)[i])
   108  		}
   109  	}
   110  }
   111  
   112  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IENPatchStatus.
   113  func (in *IENPatchStatus) DeepCopy() *IENPatchStatus {
   114  	if in == nil {
   115  		return nil
   116  	}
   117  	out := new(IENPatchStatus)
   118  	in.DeepCopyInto(out)
   119  	return out
   120  }
   121  

View as plain text