github.com/kotalco/kotal@v0.3.0/apis/bitcoin/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.Listen != nil { 88 in, out := &in.Listen, &out.Listen 89 *out = new(bool) 90 **out = **in 91 } 92 if in.MaxConnections != nil { 93 in, out := &in.MaxConnections, &out.MaxConnections 94 *out = new(uint) 95 **out = **in 96 } 97 if in.RPCUsers != nil { 98 in, out := &in.RPCUsers, &out.RPCUsers 99 *out = make([]RPCUser, len(*in)) 100 copy(*out, *in) 101 } 102 if in.RPCWhitelist != nil { 103 in, out := &in.RPCWhitelist, &out.RPCWhitelist 104 *out = make([]string, len(*in)) 105 copy(*out, *in) 106 } 107 in.Resources.DeepCopyInto(&out.Resources) 108 } 109 110 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. 111 func (in *NodeSpec) DeepCopy() *NodeSpec { 112 if in == nil { 113 return nil 114 } 115 out := new(NodeSpec) 116 in.DeepCopyInto(out) 117 return out 118 } 119 120 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 121 func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { 122 *out = *in 123 } 124 125 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. 126 func (in *NodeStatus) DeepCopy() *NodeStatus { 127 if in == nil { 128 return nil 129 } 130 out := new(NodeStatus) 131 in.DeepCopyInto(out) 132 return out 133 } 134 135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 136 func (in *RPCUser) DeepCopyInto(out *RPCUser) { 137 *out = *in 138 } 139 140 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RPCUser. 141 func (in *RPCUser) DeepCopy() *RPCUser { 142 if in == nil { 143 return nil 144 } 145 out := new(RPCUser) 146 in.DeepCopyInto(out) 147 return out 148 }