// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TestResource) DeepCopyInto(out *TestResource) { … } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResource. func (in *TestResource) DeepCopy() *TestResource { … } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *TestResource) DeepCopyObject() runtime.Object { … }