github.com/kotalco/kotal@v0.3.0/apis/aptos/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Code generated by controller-gen. DO NOT EDIT.
     5  
     6  package v1alpha1
     7  
     8  import (
     9  	"github.com/kotalco/kotal/apis/shared"
    10  	"k8s.io/apimachinery/pkg/runtime"
    11  )
    12  
    13  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    14  func (in *Node) DeepCopyInto(out *Node) {
    15  	*out = *in
    16  	out.TypeMeta = in.TypeMeta
    17  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    18  	in.Spec.DeepCopyInto(&out.Spec)
    19  	out.Status = in.Status
    20  }
    21  
    22  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
    23  func (in *Node) DeepCopy() *Node {
    24  	if in == nil {
    25  		return nil
    26  	}
    27  	out := new(Node)
    28  	in.DeepCopyInto(out)
    29  	return out
    30  }
    31  
    32  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    33  func (in *Node) DeepCopyObject() runtime.Object {
    34  	if c := in.DeepCopy(); c != nil {
    35  		return c
    36  	}
    37  	return nil
    38  }
    39  
    40  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    41  func (in *NodeList) DeepCopyInto(out *NodeList) {
    42  	*out = *in
    43  	out.TypeMeta = in.TypeMeta
    44  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    45  	if in.Items != nil {
    46  		in, out := &in.Items, &out.Items
    47  		*out = make([]Node, len(*in))
    48  		for i := range *in {
    49  			(*in)[i].DeepCopyInto(&(*out)[i])
    50  		}
    51  	}
    52  }
    53  
    54  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
    55  func (in *NodeList) DeepCopy() *NodeList {
    56  	if in == nil {
    57  		return nil
    58  	}
    59  	out := new(NodeList)
    60  	in.DeepCopyInto(out)
    61  	return out
    62  }
    63  
    64  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    65  func (in *NodeList) DeepCopyObject() runtime.Object {
    66  	if c := in.DeepCopy(); c != nil {
    67  		return c
    68  	}
    69  	return nil
    70  }
    71  
    72  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    73  func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
    74  	*out = *in
    75  	if in.ExtraArgs != nil {
    76  		in, out := &in.ExtraArgs, &out.ExtraArgs
    77  		*out = make(shared.ExtraArgs, len(*in))
    78  		for key, val := range *in {
    79  			(*out)[key] = val
    80  		}
    81  	}
    82  	if in.Replicas != nil {
    83  		in, out := &in.Replicas, &out.Replicas
    84  		*out = new(uint)
    85  		**out = **in
    86  	}
    87  	if in.SeedPeers != nil {
    88  		in, out := &in.SeedPeers, &out.SeedPeers
    89  		*out = make([]Peer, len(*in))
    90  		for i := range *in {
    91  			(*in)[i].DeepCopyInto(&(*out)[i])
    92  		}
    93  	}
    94  	in.Resources.DeepCopyInto(&out.Resources)
    95  }
    96  
    97  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
    98  func (in *NodeSpec) DeepCopy() *NodeSpec {
    99  	if in == nil {
   100  		return nil
   101  	}
   102  	out := new(NodeSpec)
   103  	in.DeepCopyInto(out)
   104  	return out
   105  }
   106  
   107  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   108  func (in *NodeStatus) DeepCopyInto(out *NodeStatus) {
   109  	*out = *in
   110  }
   111  
   112  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
   113  func (in *NodeStatus) DeepCopy() *NodeStatus {
   114  	if in == nil {
   115  		return nil
   116  	}
   117  	out := new(NodeStatus)
   118  	in.DeepCopyInto(out)
   119  	return out
   120  }
   121  
   122  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   123  func (in *Peer) DeepCopyInto(out *Peer) {
   124  	*out = *in
   125  	if in.Addresses != nil {
   126  		in, out := &in.Addresses, &out.Addresses
   127  		*out = make([]string, len(*in))
   128  		copy(*out, *in)
   129  	}
   130  }
   131  
   132  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.
   133  func (in *Peer) DeepCopy() *Peer {
   134  	if in == nil {
   135  		return nil
   136  	}
   137  	out := new(Peer)
   138  	in.DeepCopyInto(out)
   139  	return out
   140  }