-
Notifications
You must be signed in to change notification settings - Fork 18
/
zz_generated.deepcopy.go
59 lines (52 loc) · 1.61 KB
/
zz_generated.deepcopy.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//go:build !ignore_autogenerated
// +build !ignore_autogenerated
// Copyright (c) 2022 Aiven, Helsinki, Finland. https://aiven.io/
// Code generated by controller-gen. DO NOT EDIT.
package clickhousepostgresqluserconfig
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClickhousePostgresqlUserConfig) DeepCopyInto(out *ClickhousePostgresqlUserConfig) {
*out = *in
if in.Databases != nil {
in, out := &in.Databases, &out.Databases
*out = make([]*Databases, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(Databases)
(*in).DeepCopyInto(*out)
}
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClickhousePostgresqlUserConfig.
func (in *ClickhousePostgresqlUserConfig) DeepCopy() *ClickhousePostgresqlUserConfig {
if in == nil {
return nil
}
out := new(ClickhousePostgresqlUserConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Databases) DeepCopyInto(out *Databases) {
*out = *in
if in.Database != nil {
in, out := &in.Database, &out.Database
*out = new(string)
**out = **in
}
if in.Schema != nil {
in, out := &in.Schema, &out.Schema
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Databases.
func (in *Databases) DeepCopy() *Databases {
if in == nil {
return nil
}
out := new(Databases)
in.DeepCopyInto(out)
return out
}