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

Method DeepCopyInto

api/v1/zz_generated.deepcopy.go:261–279  ·  view source on GitHub ↗

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

(out *BackupSpec)

Source from the content-addressed store, hash-verified

259
260// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
261func (in *BackupSpec) DeepCopyInto(out *BackupSpec) {
262 *out = *in
263 in.Cluster.DeepCopyInto(&out.Cluster)
264 if in.PluginConfiguration != nil {
265 in, out := &in.PluginConfiguration, &out.PluginConfiguration
266 *out = new(BackupPluginConfiguration)
267 (*in).DeepCopyInto(*out)
268 }
269 if in.Online != nil {
270 in, out := &in.Online, &out.Online
271 *out = new(bool)
272 **out = **in
273 }
274 if in.OnlineConfiguration != nil {
275 in, out := &in.OnlineConfiguration, &out.OnlineConfiguration
276 *out = new(OnlineConfiguration)
277 (*in).DeepCopyInto(*out)
278 }
279}
280
281// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
282func (in *BackupSpec) DeepCopy() *BackupSpec {

Callers 1

DeepCopyMethod · 0.95

Calls 1

DeepCopyIntoMethod · 0.45

Tested by

no test coverage detected