github.com/kotalco/kotal@v0.3.0/apis/filecoin/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 in.Resources.DeepCopyInto(&out.Resources) 88 } 89 90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. 91 func (in *NodeSpec) DeepCopy() *NodeSpec { 92 if in == nil { 93 return nil 94 } 95 out := new(NodeSpec) 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 *NodeStatus) DeepCopyInto(out *NodeStatus) { 102 *out = *in 103 } 104 105 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. 106 func (in *NodeStatus) DeepCopy() *NodeStatus { 107 if in == nil { 108 return nil 109 } 110 out := new(NodeStatus) 111 in.DeepCopyInto(out) 112 return out 113 }