github.com/kotalco/kotal@v0.3.0/apis/graph/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 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 *Node) DeepCopyInto(out *Node) { 14 *out = *in 15 out.TypeMeta = in.TypeMeta 16 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 17 out.Spec = in.Spec 18 out.Status = in.Status 19 } 20 21 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. 22 func (in *Node) DeepCopy() *Node { 23 if in == nil { 24 return nil 25 } 26 out := new(Node) 27 in.DeepCopyInto(out) 28 return out 29 } 30 31 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 32 func (in *Node) DeepCopyObject() runtime.Object { 33 if c := in.DeepCopy(); c != nil { 34 return c 35 } 36 return nil 37 } 38 39 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 40 func (in *NodeList) DeepCopyInto(out *NodeList) { 41 *out = *in 42 out.TypeMeta = in.TypeMeta 43 in.ListMeta.DeepCopyInto(&out.ListMeta) 44 if in.Items != nil { 45 in, out := &in.Items, &out.Items 46 *out = make([]Node, len(*in)) 47 for i := range *in { 48 (*in)[i].DeepCopyInto(&(*out)[i]) 49 } 50 } 51 } 52 53 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. 54 func (in *NodeList) DeepCopy() *NodeList { 55 if in == nil { 56 return nil 57 } 58 out := new(NodeList) 59 in.DeepCopyInto(out) 60 return out 61 } 62 63 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 64 func (in *NodeList) DeepCopyObject() runtime.Object { 65 if c := in.DeepCopy(); c != nil { 66 return c 67 } 68 return nil 69 } 70 71 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 72 func (in *NodeSpec) DeepCopyInto(out *NodeSpec) { 73 *out = *in 74 } 75 76 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. 77 func (in *NodeSpec) DeepCopy() *NodeSpec { 78 if in == nil { 79 return nil 80 } 81 out := new(NodeSpec) 82 in.DeepCopyInto(out) 83 return out 84 } 85 86 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 87 func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { 88 *out = *in 89 } 90 91 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. 92 func (in *NodeStatus) DeepCopy() *NodeStatus { 93 if in == nil { 94 return nil 95 } 96 out := new(NodeStatus) 97 in.DeepCopyInto(out) 98 return out 99 }