github.com/kotalco/kotal@v0.3.0/apis/stacks/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 *BitcoinNode) DeepCopyInto(out *BitcoinNode) {
    15  	*out = *in
    16  }
    17  
    18  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitcoinNode.
    19  func (in *BitcoinNode) DeepCopy() *BitcoinNode {
    20  	if in == nil {
    21  		return nil
    22  	}
    23  	out := new(BitcoinNode)
    24  	in.DeepCopyInto(out)
    25  	return out
    26  }
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *Node) DeepCopyInto(out *Node) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	out.Status = in.Status
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
    38  func (in *Node) DeepCopy() *Node {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(Node)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    48  func (in *Node) DeepCopyObject() runtime.Object {
    49  	if c := in.DeepCopy(); c != nil {
    50  		return c
    51  	}
    52  	return nil
    53  }
    54  
    55  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    56  func (in *NodeList) DeepCopyInto(out *NodeList) {
    57  	*out = *in
    58  	out.TypeMeta = in.TypeMeta
    59  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    60  	if in.Items != nil {
    61  		in, out := &in.Items, &out.Items
    62  		*out = make([]Node, len(*in))
    63  		for i := range *in {
    64  			(*in)[i].DeepCopyInto(&(*out)[i])
    65  		}
    66  	}
    67  }
    68  
    69  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
    70  func (in *NodeList) DeepCopy() *NodeList {
    71  	if in == nil {
    72  		return nil
    73  	}
    74  	out := new(NodeList)
    75  	in.DeepCopyInto(out)
    76  	return out
    77  }
    78  
    79  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    80  func (in *NodeList) DeepCopyObject() runtime.Object {
    81  	if c := in.DeepCopy(); c != nil {
    82  		return c
    83  	}
    84  	return nil
    85  }
    86  
    87  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    88  func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
    89  	*out = *in
    90  	if in.ExtraArgs != nil {
    91  		in, out := &in.ExtraArgs, &out.ExtraArgs
    92  		*out = make(shared.ExtraArgs, len(*in))
    93  		for key, val := range *in {
    94  			(*out)[key] = val
    95  		}
    96  	}
    97  	if in.Replicas != nil {
    98  		in, out := &in.Replicas, &out.Replicas
    99  		*out = new(uint)
   100  		**out = **in
   101  	}
   102  	out.BitcoinNode = in.BitcoinNode
   103  	in.Resources.DeepCopyInto(&out.Resources)
   104  }
   105  
   106  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
   107  func (in *NodeSpec) DeepCopy() *NodeSpec {
   108  	if in == nil {
   109  		return nil
   110  	}
   111  	out := new(NodeSpec)
   112  	in.DeepCopyInto(out)
   113  	return out
   114  }
   115  
   116  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   117  func (in *NodeStatus) DeepCopyInto(out *NodeStatus) {
   118  	*out = *in
   119  }
   120  
   121  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
   122  func (in *NodeStatus) DeepCopy() *NodeStatus {
   123  	if in == nil {
   124  		return nil
   125  	}
   126  	out := new(NodeStatus)
   127  	in.DeepCopyInto(out)
   128  	return out
   129  }