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

Method DeepCopyInto

api/v1/zz_generated.deepcopy.go:151–162  ·  view source on GitHub ↗

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

(out *BackupList)

Source from the content-addressed store, hash-verified

149
150// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
151func (in *BackupList) DeepCopyInto(out *BackupList) {
152 *out = *in
153 out.TypeMeta = in.TypeMeta
154 in.ListMeta.DeepCopyInto(&out.ListMeta)
155 if in.Items != nil {
156 in, out := &in.Items, &out.Items
157 *out = make([]Backup, len(*in))
158 for i := range *in {
159 (*in)[i].DeepCopyInto(&(*out)[i])
160 }
161 }
162}
163
164// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupList.
165func (in *BackupList) DeepCopy() *BackupList {

Callers 1

DeepCopyMethod · 0.95

Calls 1

DeepCopyIntoMethod · 0.45

Tested by

no test coverage detected