MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / DeepCopy

Method DeepCopy

api/v1/zz_generated.deepcopy.go:631–638  ·  view source on GitHub ↗

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.

()

Source from the content-addressed store, hash-verified

629
630// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
631func (in *Cluster) DeepCopy() *Cluster {
632 if in == nil {
633 return nil
634 }
635 out := new(Cluster)
636 in.DeepCopyInto(out)
637 return out
638}
639
640// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
641func (in *Cluster) DeepCopyObject() runtime.Object {

Callers 9

PatchWithOptimisticLockFunction · 0.95
ReloadFunction · 0.95
restartFunction · 0.95
annotateClusterFunction · 0.95
reconcileMethod · 0.95
PatchStatusConditionFunction · 0.95
DeepCopyObjectMethod · 0.95

Calls 1

DeepCopyIntoMethod · 0.95

Tested by

no test coverage detected