...
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 package v1beta1
26
27 import (
28 v1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
29 runtime "k8s.io/apimachinery/pkg/runtime"
30 )
31
32
33 func (in *RepositoryPubsubConfigs) DeepCopyInto(out *RepositoryPubsubConfigs) {
34 *out = *in
35 if in.ServiceAccountRef != nil {
36 in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
37 *out = new(v1alpha1.ResourceRef)
38 **out = **in
39 }
40 out.TopicRef = in.TopicRef
41 return
42 }
43
44
45 func (in *RepositoryPubsubConfigs) DeepCopy() *RepositoryPubsubConfigs {
46 if in == nil {
47 return nil
48 }
49 out := new(RepositoryPubsubConfigs)
50 in.DeepCopyInto(out)
51 return out
52 }
53
54
55 func (in *SourceRepoRepository) DeepCopyInto(out *SourceRepoRepository) {
56 *out = *in
57 out.TypeMeta = in.TypeMeta
58 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
59 in.Spec.DeepCopyInto(&out.Spec)
60 in.Status.DeepCopyInto(&out.Status)
61 return
62 }
63
64
65 func (in *SourceRepoRepository) DeepCopy() *SourceRepoRepository {
66 if in == nil {
67 return nil
68 }
69 out := new(SourceRepoRepository)
70 in.DeepCopyInto(out)
71 return out
72 }
73
74
75 func (in *SourceRepoRepository) DeepCopyObject() runtime.Object {
76 if c := in.DeepCopy(); c != nil {
77 return c
78 }
79 return nil
80 }
81
82
83 func (in *SourceRepoRepositoryList) DeepCopyInto(out *SourceRepoRepositoryList) {
84 *out = *in
85 out.TypeMeta = in.TypeMeta
86 in.ListMeta.DeepCopyInto(&out.ListMeta)
87 if in.Items != nil {
88 in, out := &in.Items, &out.Items
89 *out = make([]SourceRepoRepository, len(*in))
90 for i := range *in {
91 (*in)[i].DeepCopyInto(&(*out)[i])
92 }
93 }
94 return
95 }
96
97
98 func (in *SourceRepoRepositoryList) DeepCopy() *SourceRepoRepositoryList {
99 if in == nil {
100 return nil
101 }
102 out := new(SourceRepoRepositoryList)
103 in.DeepCopyInto(out)
104 return out
105 }
106
107
108 func (in *SourceRepoRepositoryList) DeepCopyObject() runtime.Object {
109 if c := in.DeepCopy(); c != nil {
110 return c
111 }
112 return nil
113 }
114
115
116 func (in *SourceRepoRepositorySpec) DeepCopyInto(out *SourceRepoRepositorySpec) {
117 *out = *in
118 if in.PubsubConfigs != nil {
119 in, out := &in.PubsubConfigs, &out.PubsubConfigs
120 *out = make([]RepositoryPubsubConfigs, len(*in))
121 for i := range *in {
122 (*in)[i].DeepCopyInto(&(*out)[i])
123 }
124 }
125 if in.ResourceID != nil {
126 in, out := &in.ResourceID, &out.ResourceID
127 *out = new(string)
128 **out = **in
129 }
130 return
131 }
132
133
134 func (in *SourceRepoRepositorySpec) DeepCopy() *SourceRepoRepositorySpec {
135 if in == nil {
136 return nil
137 }
138 out := new(SourceRepoRepositorySpec)
139 in.DeepCopyInto(out)
140 return out
141 }
142
143
144 func (in *SourceRepoRepositoryStatus) DeepCopyInto(out *SourceRepoRepositoryStatus) {
145 *out = *in
146 if in.Conditions != nil {
147 in, out := &in.Conditions, &out.Conditions
148 *out = make([]v1alpha1.Condition, len(*in))
149 copy(*out, *in)
150 }
151 if in.ObservedGeneration != nil {
152 in, out := &in.ObservedGeneration, &out.ObservedGeneration
153 *out = new(int)
154 **out = **in
155 }
156 if in.Size != nil {
157 in, out := &in.Size, &out.Size
158 *out = new(int)
159 **out = **in
160 }
161 if in.Url != nil {
162 in, out := &in.Url, &out.Url
163 *out = new(string)
164 **out = **in
165 }
166 return
167 }
168
169
170 func (in *SourceRepoRepositoryStatus) DeepCopy() *SourceRepoRepositoryStatus {
171 if in == nil {
172 return nil
173 }
174 out := new(SourceRepoRepositoryStatus)
175 in.DeepCopyInto(out)
176 return out
177 }
178
View as plain text