1
2
3
4
5 package v1alpha1
6
7 import (
8 "edge-infra.dev/pkg/k8s/runtime/inventory"
9 appsv1 "k8s.io/api/apps/v1"
10 "k8s.io/apimachinery/pkg/apis/meta/v1"
11 runtime "k8s.io/apimachinery/pkg/runtime"
12 )
13
14
15 func (in *Admin) DeepCopyInto(out *Admin) {
16 *out = *in
17 out.Credentials = in.Credentials
18 out.Cookie = in.Cookie
19 out.ReplicationSecret = in.ReplicationSecret
20 }
21
22
23 func (in *Admin) DeepCopy() *Admin {
24 if in == nil {
25 return nil
26 }
27 out := new(Admin)
28 in.DeepCopyInto(out)
29 return out
30 }
31
32
33 func (in *ApplyOptions) DeepCopyInto(out *ApplyOptions) {
34 *out = *in
35 if in.Interval != nil {
36 in, out := &in.Interval, &out.Interval
37 *out = new(v1.Duration)
38 **out = **in
39 }
40 if in.RetryInterval != nil {
41 in, out := &in.RetryInterval, &out.RetryInterval
42 *out = new(v1.Duration)
43 **out = **in
44 }
45 }
46
47
48 func (in *ApplyOptions) DeepCopy() *ApplyOptions {
49 if in == nil {
50 return nil
51 }
52 out := new(ApplyOptions)
53 in.DeepCopyInto(out)
54 return out
55 }
56
57
58 func (in *AttachmentConfig) DeepCopyInto(out *AttachmentConfig) {
59 *out = *in
60 if in.CompressionLevel != nil {
61 in, out := &in.CompressionLevel, &out.CompressionLevel
62 *out = new(int)
63 **out = **in
64 }
65 if in.Compressible != nil {
66 in, out := &in.Compressible, &out.Compressible
67 *out = make([]string, len(*in))
68 copy(*out, *in)
69 }
70 }
71
72
73 func (in *AttachmentConfig) DeepCopy() *AttachmentConfig {
74 if in == nil {
75 return nil
76 }
77 out := new(AttachmentConfig)
78 in.DeepCopyInto(out)
79 return out
80 }
81
82
83 func (in *AuthConfig) DeepCopyInto(out *AuthConfig) {
84 *out = *in
85 if in.AllowPersistentCookies != nil {
86 in, out := &in.AllowPersistentCookies, &out.AllowPersistentCookies
87 *out = new(bool)
88 **out = **in
89 }
90 if in.CookieDomain != nil {
91 in, out := &in.CookieDomain, &out.CookieDomain
92 *out = new(string)
93 **out = **in
94 }
95 if in.SameSite != nil {
96 in, out := &in.SameSite, &out.SameSite
97 *out = new(string)
98 **out = **in
99 }
100 if in.AuthCacheSize != nil {
101 in, out := &in.AuthCacheSize, &out.AuthCacheSize
102 *out = new(int)
103 **out = **in
104 }
105 if in.AuthenticationRedirect != nil {
106 in, out := &in.AuthenticationRedirect, &out.AuthenticationRedirect
107 *out = new(string)
108 **out = **in
109 }
110 if in.HashAlgorithms != nil {
111 in, out := &in.HashAlgorithms, &out.HashAlgorithms
112 *out = new(string)
113 **out = **in
114 }
115 if in.Iterations != nil {
116 in, out := &in.Iterations, &out.Iterations
117 *out = new(int)
118 **out = **in
119 }
120 if in.MinIterations != nil {
121 in, out := &in.MinIterations, &out.MinIterations
122 *out = new(int)
123 **out = **in
124 }
125 if in.MaxIterations != nil {
126 in, out := &in.MaxIterations, &out.MaxIterations
127 *out = new(int)
128 **out = **in
129 }
130 if in.PasswordRegexp != nil {
131 in, out := &in.PasswordRegexp, &out.PasswordRegexp
132 *out = new(string)
133 **out = **in
134 }
135 if in.ProxyUseSecret != nil {
136 in, out := &in.ProxyUseSecret, &out.ProxyUseSecret
137 *out = new(bool)
138 **out = **in
139 }
140 if in.PublicFields != nil {
141 in, out := &in.PublicFields, &out.PublicFields
142 *out = new(string)
143 **out = **in
144 }
145 if in.Secret != nil {
146 in, out := &in.Secret, &out.Secret
147 *out = new(string)
148 **out = **in
149 }
150 if in.Timeout != nil {
151 in, out := &in.Timeout, &out.Timeout
152 *out = new(int)
153 **out = **in
154 }
155 if in.UsersDbPublic != nil {
156 in, out := &in.UsersDbPublic, &out.UsersDbPublic
157 *out = new(bool)
158 **out = **in
159 }
160 if in.XAuthRoles != nil {
161 in, out := &in.XAuthRoles, &out.XAuthRoles
162 *out = new(string)
163 **out = **in
164 }
165 if in.XAuthToken != nil {
166 in, out := &in.XAuthToken, &out.XAuthToken
167 *out = new(string)
168 **out = **in
169 }
170 if in.XAuthUsername != nil {
171 in, out := &in.XAuthUsername, &out.XAuthUsername
172 *out = new(string)
173 **out = **in
174 }
175 }
176
177
178 func (in *AuthConfig) DeepCopy() *AuthConfig {
179 if in == nil {
180 return nil
181 }
182 out := new(AuthConfig)
183 in.DeepCopyInto(out)
184 return out
185 }
186
187
188 func (in *BackgroundIndexConfig) DeepCopyInto(out *BackgroundIndexConfig) {
189 *out = *in
190 if in.BatchChannels != nil {
191 in, out := &in.BatchChannels, &out.BatchChannels
192 *out = new(int)
193 **out = **in
194 }
195 if in.IncrementalChannels != nil {
196 in, out := &in.IncrementalChannels, &out.IncrementalChannels
197 *out = new(int)
198 **out = **in
199 }
200 if in.MaxIncrementalUpdates != nil {
201 in, out := &in.MaxIncrementalUpdates, &out.MaxIncrementalUpdates
202 *out = new(int)
203 **out = **in
204 }
205 if in.IgnoreShards != nil {
206 in, out := &in.IgnoreShards, &out.IgnoreShards
207 *out = make(map[string]bool, len(*in))
208 for key, val := range *in {
209 (*out)[key] = val
210 }
211 }
212 }
213
214
215 func (in *BackgroundIndexConfig) DeepCopy() *BackgroundIndexConfig {
216 if in == nil {
217 return nil
218 }
219 out := new(BackgroundIndexConfig)
220 in.DeepCopyInto(out)
221 return out
222 }
223
224
225 func (in *BaseConfig) DeepCopyInto(out *BaseConfig) {
226 *out = *in
227 if in.SingleNode != nil {
228 in, out := &in.SingleNode, &out.SingleNode
229 *out = new(bool)
230 **out = **in
231 }
232 if in.MaxDBsOpen != nil {
233 in, out := &in.MaxDBsOpen, &out.MaxDBsOpen
234 *out = new(int)
235 **out = **in
236 }
237 if in.UUID != nil {
238 in, out := &in.UUID, &out.UUID
239 *out = new(string)
240 **out = **in
241 }
242 if in.MaxDocSize != nil {
243 in, out := &in.MaxDocSize, &out.MaxDocSize
244 *out = new(int)
245 **out = **in
246 }
247 if in.BufferSize != nil {
248 in, out := &in.BufferSize, &out.BufferSize
249 *out = new(int)
250 **out = **in
251 }
252 if in.DatabaseDir != nil {
253 in, out := &in.DatabaseDir, &out.DatabaseDir
254 *out = new(string)
255 **out = **in
256 }
257 if in.DatabaseRecovery != nil {
258 in, out := &in.DatabaseRecovery, &out.DatabaseRecovery
259 *out = new(bool)
260 **out = **in
261 }
262 if in.MaintenanceMode != nil {
263 in, out := &in.MaintenanceMode, &out.MaintenanceMode
264 *out = new(MaintenanceMode)
265 **out = **in
266 }
267 if in.ProcessTimeout != nil {
268 in, out := &in.ProcessTimeout, &out.ProcessTimeout
269 *out = new(int)
270 **out = **in
271 }
272 if in.URIFile != nil {
273 in, out := &in.URIFile, &out.URIFile
274 *out = new(string)
275 **out = **in
276 }
277 if in.SecurityEditable != nil {
278 in, out := &in.SecurityEditable, &out.SecurityEditable
279 *out = new(bool)
280 **out = **in
281 }
282 if in.UsersDBSuffix != nil {
283 in, out := &in.UsersDBSuffix, &out.UsersDBSuffix
284 *out = new(string)
285 **out = **in
286 }
287 if in.DriverDir != nil {
288 in, out := &in.DriverDir, &out.DriverDir
289 *out = new(string)
290 **out = **in
291 }
292 if in.ViewIndexDir != nil {
293 in, out := &in.ViewIndexDir, &out.ViewIndexDir
294 *out = new(string)
295 **out = **in
296 }
297 }
298
299
300 func (in *BaseConfig) DeepCopy() *BaseConfig {
301 if in == nil {
302 return nil
303 }
304 out := new(BaseConfig)
305 in.DeepCopyInto(out)
306 return out
307 }
308
309
310 func (in *CSPConfig) DeepCopyInto(out *CSPConfig) {
311 *out = *in
312 if in.UtilsEnable != nil {
313 in, out := &in.UtilsEnable, &out.UtilsEnable
314 *out = new(bool)
315 **out = **in
316 }
317 if in.UtilsHeaderValue != nil {
318 in, out := &in.UtilsHeaderValue, &out.UtilsHeaderValue
319 *out = new(string)
320 **out = **in
321 }
322 if in.AttachmentsEnable != nil {
323 in, out := &in.AttachmentsEnable, &out.AttachmentsEnable
324 *out = new(bool)
325 **out = **in
326 }
327 if in.AttachmentsValue != nil {
328 in, out := &in.AttachmentsValue, &out.AttachmentsValue
329 *out = new(string)
330 **out = **in
331 }
332 if in.ShowlistEnable != nil {
333 in, out := &in.ShowlistEnable, &out.ShowlistEnable
334 *out = new(bool)
335 **out = **in
336 }
337 if in.ShowlistHeaderValue != nil {
338 in, out := &in.ShowlistHeaderValue, &out.ShowlistHeaderValue
339 *out = new(string)
340 **out = **in
341 }
342 if in.Enable != nil {
343 in, out := &in.Enable, &out.Enable
344 *out = new(bool)
345 **out = **in
346 }
347 if in.HeaderValue != nil {
348 in, out := &in.HeaderValue, &out.HeaderValue
349 *out = new(string)
350 **out = **in
351 }
352 }
353
354
355 func (in *CSPConfig) DeepCopy() *CSPConfig {
356 if in == nil {
357 return nil
358 }
359 out := new(CSPConfig)
360 in.DeepCopyInto(out)
361 return out
362 }
363
364
365 func (in *Certificate) DeepCopyInto(out *Certificate) {
366 *out = *in
367 }
368
369
370 func (in *Certificate) DeepCopy() *Certificate {
371 if in == nil {
372 return nil
373 }
374 out := new(Certificate)
375 in.DeepCopyInto(out)
376 return out
377 }
378
379
380 func (in *Cluster) DeepCopyInto(out *Cluster) {
381 *out = *in
382 }
383
384
385 func (in *Cluster) DeepCopy() *Cluster {
386 if in == nil {
387 return nil
388 }
389 out := new(Cluster)
390 in.DeepCopyInto(out)
391 return out
392 }
393
394
395 func (in *ClusterConfig) DeepCopyInto(out *ClusterConfig) {
396 *out = *in
397 if in.Shards != nil {
398 in, out := &in.Shards, &out.Shards
399 *out = new(int)
400 **out = **in
401 }
402 if in.Nodes != nil {
403 in, out := &in.Nodes, &out.Nodes
404 *out = new(int)
405 **out = **in
406 }
407 if in.SeedList != nil {
408 in, out := &in.SeedList, &out.SeedList
409 *out = make([]string, len(*in))
410 copy(*out, *in)
411 }
412 if in.Placement != nil {
413 in, out := &in.Placement, &out.Placement
414 *out = new(string)
415 **out = **in
416 }
417 if in.ReconnectIntervalSec != nil {
418 in, out := &in.ReconnectIntervalSec, &out.ReconnectIntervalSec
419 *out = new(int)
420 **out = **in
421 }
422 }
423
424
425 func (in *ClusterConfig) DeepCopy() *ClusterConfig {
426 if in == nil {
427 return nil
428 }
429 out := new(ClusterConfig)
430 in.DeepCopyInto(out)
431 return out
432 }
433
434
435 func (in *CorsConfig) DeepCopyInto(out *CorsConfig) {
436 *out = *in
437 if in.Credentials != nil {
438 in, out := &in.Credentials, &out.Credentials
439 *out = new(bool)
440 **out = **in
441 }
442 if in.Origins != nil {
443 in, out := &in.Origins, &out.Origins
444 *out = make([]string, len(*in))
445 copy(*out, *in)
446 }
447 if in.Headers != nil {
448 in, out := &in.Headers, &out.Headers
449 *out = make([]string, len(*in))
450 copy(*out, *in)
451 }
452 if in.Methods != nil {
453 in, out := &in.Methods, &out.Methods
454 *out = make([]string, len(*in))
455 copy(*out, *in)
456 }
457 if in.MaxAge != nil {
458 in, out := &in.MaxAge, &out.MaxAge
459 *out = new(int)
460 **out = **in
461 }
462 }
463
464
465 func (in *CorsConfig) DeepCopy() *CorsConfig {
466 if in == nil {
467 return nil
468 }
469 out := new(CorsConfig)
470 in.DeepCopyInto(out)
471 return out
472 }
473
474
475 func (in *CouchDBCredential) DeepCopyInto(out *CouchDBCredential) {
476 *out = *in
477 out.TypeMeta = in.TypeMeta
478 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
479 in.Spec.DeepCopyInto(&out.Spec)
480 in.Status.DeepCopyInto(&out.Status)
481 }
482
483
484 func (in *CouchDBCredential) DeepCopy() *CouchDBCredential {
485 if in == nil {
486 return nil
487 }
488 out := new(CouchDBCredential)
489 in.DeepCopyInto(out)
490 return out
491 }
492
493
494 func (in *CouchDBCredential) DeepCopyObject() runtime.Object {
495 if c := in.DeepCopy(); c != nil {
496 return c
497 }
498 return nil
499 }
500
501
502 func (in *CouchDBCredentialList) DeepCopyInto(out *CouchDBCredentialList) {
503 *out = *in
504 out.TypeMeta = in.TypeMeta
505 in.ListMeta.DeepCopyInto(&out.ListMeta)
506 if in.Items != nil {
507 in, out := &in.Items, &out.Items
508 *out = make([]CouchDBCredential, len(*in))
509 for i := range *in {
510 (*in)[i].DeepCopyInto(&(*out)[i])
511 }
512 }
513 }
514
515
516 func (in *CouchDBCredentialList) DeepCopy() *CouchDBCredentialList {
517 if in == nil {
518 return nil
519 }
520 out := new(CouchDBCredentialList)
521 in.DeepCopyInto(out)
522 return out
523 }
524
525
526 func (in *CouchDBCredentialList) DeepCopyObject() runtime.Object {
527 if c := in.DeepCopy(); c != nil {
528 return c
529 }
530 return nil
531 }
532
533
534 func (in *CouchDBCredentialSpec) DeepCopyInto(out *CouchDBCredentialSpec) {
535 *out = *in
536 if in.Roles != nil {
537 in, out := &in.Roles, &out.Roles
538 *out = make([]string, len(*in))
539 copy(*out, *in)
540 }
541 out.SecretRef = in.SecretRef
542 }
543
544
545 func (in *CouchDBCredentialSpec) DeepCopy() *CouchDBCredentialSpec {
546 if in == nil {
547 return nil
548 }
549 out := new(CouchDBCredentialSpec)
550 in.DeepCopyInto(out)
551 return out
552 }
553
554
555 func (in *CouchDBCredentialStatus) DeepCopyInto(out *CouchDBCredentialStatus) {
556 *out = *in
557 if in.Conditions != nil {
558 in, out := &in.Conditions, &out.Conditions
559 *out = make([]v1.Condition, len(*in))
560 for i := range *in {
561 (*in)[i].DeepCopyInto(&(*out)[i])
562 }
563 }
564 }
565
566
567 func (in *CouchDBCredentialStatus) DeepCopy() *CouchDBCredentialStatus {
568 if in == nil {
569 return nil
570 }
571 out := new(CouchDBCredentialStatus)
572 in.DeepCopyInto(out)
573 return out
574 }
575
576
577 func (in *CouchDBDatabase) DeepCopyInto(out *CouchDBDatabase) {
578 *out = *in
579 out.TypeMeta = in.TypeMeta
580 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
581 in.Spec.DeepCopyInto(&out.Spec)
582 in.Status.DeepCopyInto(&out.Status)
583 }
584
585
586 func (in *CouchDBDatabase) DeepCopy() *CouchDBDatabase {
587 if in == nil {
588 return nil
589 }
590 out := new(CouchDBDatabase)
591 in.DeepCopyInto(out)
592 return out
593 }
594
595
596 func (in *CouchDBDatabase) DeepCopyObject() runtime.Object {
597 if c := in.DeepCopy(); c != nil {
598 return c
599 }
600 return nil
601 }
602
603
604 func (in *CouchDBDatabaseList) DeepCopyInto(out *CouchDBDatabaseList) {
605 *out = *in
606 out.TypeMeta = in.TypeMeta
607 in.ListMeta.DeepCopyInto(&out.ListMeta)
608 if in.Items != nil {
609 in, out := &in.Items, &out.Items
610 *out = make([]CouchDBDatabase, len(*in))
611 for i := range *in {
612 (*in)[i].DeepCopyInto(&(*out)[i])
613 }
614 }
615 }
616
617
618 func (in *CouchDBDatabaseList) DeepCopy() *CouchDBDatabaseList {
619 if in == nil {
620 return nil
621 }
622 out := new(CouchDBDatabaseList)
623 in.DeepCopyInto(out)
624 return out
625 }
626
627
628 func (in *CouchDBDatabaseList) DeepCopyObject() runtime.Object {
629 if c := in.DeepCopy(); c != nil {
630 return c
631 }
632 return nil
633 }
634
635
636 func (in *CouchDBDatabaseSpec) DeepCopyInto(out *CouchDBDatabaseSpec) {
637 *out = *in
638 in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
639 out.ServerRef = in.ServerRef
640 in.Security.DeepCopyInto(&out.Security)
641 }
642
643
644 func (in *CouchDBDatabaseSpec) DeepCopy() *CouchDBDatabaseSpec {
645 if in == nil {
646 return nil
647 }
648 out := new(CouchDBDatabaseSpec)
649 in.DeepCopyInto(out)
650 return out
651 }
652
653
654 func (in *CouchDBDatabaseStatus) DeepCopyInto(out *CouchDBDatabaseStatus) {
655 *out = *in
656 if in.Conditions != nil {
657 in, out := &in.Conditions, &out.Conditions
658 *out = make([]v1.Condition, len(*in))
659 for i := range *in {
660 (*in)[i].DeepCopyInto(&(*out)[i])
661 }
662 }
663 }
664
665
666 func (in *CouchDBDatabaseStatus) DeepCopy() *CouchDBDatabaseStatus {
667 if in == nil {
668 return nil
669 }
670 out := new(CouchDBDatabaseStatus)
671 in.DeepCopyInto(out)
672 return out
673 }
674
675
676 func (in *CouchDBDesignDoc) DeepCopyInto(out *CouchDBDesignDoc) {
677 *out = *in
678 out.TypeMeta = in.TypeMeta
679 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
680 in.Spec.DeepCopyInto(&out.Spec)
681 in.Status.DeepCopyInto(&out.Status)
682 }
683
684
685 func (in *CouchDBDesignDoc) DeepCopy() *CouchDBDesignDoc {
686 if in == nil {
687 return nil
688 }
689 out := new(CouchDBDesignDoc)
690 in.DeepCopyInto(out)
691 return out
692 }
693
694
695 func (in *CouchDBDesignDoc) DeepCopyObject() runtime.Object {
696 if c := in.DeepCopy(); c != nil {
697 return c
698 }
699 return nil
700 }
701
702
703 func (in *CouchDBDesignDocList) DeepCopyInto(out *CouchDBDesignDocList) {
704 *out = *in
705 out.TypeMeta = in.TypeMeta
706 in.ListMeta.DeepCopyInto(&out.ListMeta)
707 if in.Items != nil {
708 in, out := &in.Items, &out.Items
709 *out = make([]CouchDBDesignDoc, len(*in))
710 for i := range *in {
711 (*in)[i].DeepCopyInto(&(*out)[i])
712 }
713 }
714 }
715
716
717 func (in *CouchDBDesignDocList) DeepCopy() *CouchDBDesignDocList {
718 if in == nil {
719 return nil
720 }
721 out := new(CouchDBDesignDocList)
722 in.DeepCopyInto(out)
723 return out
724 }
725
726
727 func (in *CouchDBDesignDocList) DeepCopyObject() runtime.Object {
728 if c := in.DeepCopy(); c != nil {
729 return c
730 }
731 return nil
732 }
733
734
735 func (in *CouchDBDesignDocSpec) DeepCopyInto(out *CouchDBDesignDocSpec) {
736 *out = *in
737 in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
738 in.DesignDoc.DeepCopyInto(&out.DesignDoc)
739 }
740
741
742 func (in *CouchDBDesignDocSpec) DeepCopy() *CouchDBDesignDocSpec {
743 if in == nil {
744 return nil
745 }
746 out := new(CouchDBDesignDocSpec)
747 in.DeepCopyInto(out)
748 return out
749 }
750
751
752 func (in *CouchDBDesignDocStatus) DeepCopyInto(out *CouchDBDesignDocStatus) {
753 *out = *in
754 if in.Conditions != nil {
755 in, out := &in.Conditions, &out.Conditions
756 *out = make([]v1.Condition, len(*in))
757 for i := range *in {
758 (*in)[i].DeepCopyInto(&(*out)[i])
759 }
760 }
761 }
762
763
764 func (in *CouchDBDesignDocStatus) DeepCopy() *CouchDBDesignDocStatus {
765 if in == nil {
766 return nil
767 }
768 out := new(CouchDBDesignDocStatus)
769 in.DeepCopyInto(out)
770 return out
771 }
772
773
774 func (in *CouchDBIndex) DeepCopyInto(out *CouchDBIndex) {
775 *out = *in
776 out.TypeMeta = in.TypeMeta
777 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
778 in.Spec.DeepCopyInto(&out.Spec)
779 in.Status.DeepCopyInto(&out.Status)
780 }
781
782
783 func (in *CouchDBIndex) DeepCopy() *CouchDBIndex {
784 if in == nil {
785 return nil
786 }
787 out := new(CouchDBIndex)
788 in.DeepCopyInto(out)
789 return out
790 }
791
792
793 func (in *CouchDBIndex) DeepCopyObject() runtime.Object {
794 if c := in.DeepCopy(); c != nil {
795 return c
796 }
797 return nil
798 }
799
800
801 func (in *CouchDBIndexList) DeepCopyInto(out *CouchDBIndexList) {
802 *out = *in
803 out.TypeMeta = in.TypeMeta
804 in.ListMeta.DeepCopyInto(&out.ListMeta)
805 if in.Items != nil {
806 in, out := &in.Items, &out.Items
807 *out = make([]CouchDBIndex, len(*in))
808 for i := range *in {
809 (*in)[i].DeepCopyInto(&(*out)[i])
810 }
811 }
812 }
813
814
815 func (in *CouchDBIndexList) DeepCopy() *CouchDBIndexList {
816 if in == nil {
817 return nil
818 }
819 out := new(CouchDBIndexList)
820 in.DeepCopyInto(out)
821 return out
822 }
823
824
825 func (in *CouchDBIndexList) DeepCopyObject() runtime.Object {
826 if c := in.DeepCopy(); c != nil {
827 return c
828 }
829 return nil
830 }
831
832
833 func (in *CouchDBIndexSpec) DeepCopyInto(out *CouchDBIndexSpec) {
834 *out = *in
835 in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
836 in.Index.DeepCopyInto(&out.Index)
837 }
838
839
840 func (in *CouchDBIndexSpec) DeepCopy() *CouchDBIndexSpec {
841 if in == nil {
842 return nil
843 }
844 out := new(CouchDBIndexSpec)
845 in.DeepCopyInto(out)
846 return out
847 }
848
849
850 func (in *CouchDBIndexStatus) DeepCopyInto(out *CouchDBIndexStatus) {
851 *out = *in
852 if in.Conditions != nil {
853 in, out := &in.Conditions, &out.Conditions
854 *out = make([]v1.Condition, len(*in))
855 for i := range *in {
856 (*in)[i].DeepCopyInto(&(*out)[i])
857 }
858 }
859 }
860
861
862 func (in *CouchDBIndexStatus) DeepCopy() *CouchDBIndexStatus {
863 if in == nil {
864 return nil
865 }
866 out := new(CouchDBIndexStatus)
867 in.DeepCopyInto(out)
868 return out
869 }
870
871
872 func (in *CouchDBPersistence) DeepCopyInto(out *CouchDBPersistence) {
873 *out = *in
874 out.TypeMeta = in.TypeMeta
875 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
876 in.Spec.DeepCopyInto(&out.Spec)
877 in.Status.DeepCopyInto(&out.Status)
878 }
879
880
881 func (in *CouchDBPersistence) DeepCopy() *CouchDBPersistence {
882 if in == nil {
883 return nil
884 }
885 out := new(CouchDBPersistence)
886 in.DeepCopyInto(out)
887 return out
888 }
889
890
891 func (in *CouchDBPersistence) DeepCopyObject() runtime.Object {
892 if c := in.DeepCopy(); c != nil {
893 return c
894 }
895 return nil
896 }
897
898
899 func (in *CouchDBPersistenceList) DeepCopyInto(out *CouchDBPersistenceList) {
900 *out = *in
901 out.TypeMeta = in.TypeMeta
902 in.ListMeta.DeepCopyInto(&out.ListMeta)
903 if in.Items != nil {
904 in, out := &in.Items, &out.Items
905 *out = make([]CouchDBPersistence, len(*in))
906 for i := range *in {
907 (*in)[i].DeepCopyInto(&(*out)[i])
908 }
909 }
910 }
911
912
913 func (in *CouchDBPersistenceList) DeepCopy() *CouchDBPersistenceList {
914 if in == nil {
915 return nil
916 }
917 out := new(CouchDBPersistenceList)
918 in.DeepCopyInto(out)
919 return out
920 }
921
922
923 func (in *CouchDBPersistenceList) DeepCopyObject() runtime.Object {
924 if c := in.DeepCopy(); c != nil {
925 return c
926 }
927 return nil
928 }
929
930
931 func (in *CouchDBPersistenceSpec) DeepCopyInto(out *CouchDBPersistenceSpec) {
932 *out = *in
933 if in.Servers != nil {
934 in, out := &in.Servers, &out.Servers
935 *out = make([]CouchDBServer, len(*in))
936 for i := range *in {
937 (*in)[i].DeepCopyInto(&(*out)[i])
938 }
939 }
940 if in.Databases != nil {
941 in, out := &in.Databases, &out.Databases
942 *out = make([]CouchDBDatabase, len(*in))
943 for i := range *in {
944 (*in)[i].DeepCopyInto(&(*out)[i])
945 }
946 }
947 if in.Users != nil {
948 in, out := &in.Users, &out.Users
949 *out = make([]CouchDBUser, len(*in))
950 for i := range *in {
951 (*in)[i].DeepCopyInto(&(*out)[i])
952 }
953 }
954 if in.Replications != nil {
955 in, out := &in.Replications, &out.Replications
956 *out = make([]CouchDBReplicationSet, len(*in))
957 for i := range *in {
958 (*in)[i].DeepCopyInto(&(*out)[i])
959 }
960 }
961 if in.StatefulSets != nil {
962 in, out := &in.StatefulSets, &out.StatefulSets
963 *out = make([]appsv1.StatefulSet, len(*in))
964 for i := range *in {
965 (*in)[i].DeepCopyInto(&(*out)[i])
966 }
967 }
968 }
969
970
971 func (in *CouchDBPersistenceSpec) DeepCopy() *CouchDBPersistenceSpec {
972 if in == nil {
973 return nil
974 }
975 out := new(CouchDBPersistenceSpec)
976 in.DeepCopyInto(out)
977 return out
978 }
979
980
981 func (in *CouchDBPersistenceStatus) DeepCopyInto(out *CouchDBPersistenceStatus) {
982 *out = *in
983 if in.Conditions != nil {
984 in, out := &in.Conditions, &out.Conditions
985 *out = make([]v1.Condition, len(*in))
986 for i := range *in {
987 (*in)[i].DeepCopyInto(&(*out)[i])
988 }
989 }
990 if in.Inventory != nil {
991 in, out := &in.Inventory, &out.Inventory
992 *out = new(inventory.ResourceInventory)
993 (*in).DeepCopyInto(*out)
994 }
995 }
996
997
998 func (in *CouchDBPersistenceStatus) DeepCopy() *CouchDBPersistenceStatus {
999 if in == nil {
1000 return nil
1001 }
1002 out := new(CouchDBPersistenceStatus)
1003 in.DeepCopyInto(out)
1004 return out
1005 }
1006
1007
1008 func (in *CouchDBReplicationDoc) DeepCopyInto(out *CouchDBReplicationDoc) {
1009 *out = *in
1010 out.TypeMeta = in.TypeMeta
1011 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1012 out.Spec = in.Spec
1013 in.Status.DeepCopyInto(&out.Status)
1014 }
1015
1016
1017 func (in *CouchDBReplicationDoc) DeepCopy() *CouchDBReplicationDoc {
1018 if in == nil {
1019 return nil
1020 }
1021 out := new(CouchDBReplicationDoc)
1022 in.DeepCopyInto(out)
1023 return out
1024 }
1025
1026
1027 func (in *CouchDBReplicationDoc) DeepCopyObject() runtime.Object {
1028 if c := in.DeepCopy(); c != nil {
1029 return c
1030 }
1031 return nil
1032 }
1033
1034
1035 func (in *CouchDBReplicationDocList) DeepCopyInto(out *CouchDBReplicationDocList) {
1036 *out = *in
1037 out.TypeMeta = in.TypeMeta
1038 in.ListMeta.DeepCopyInto(&out.ListMeta)
1039 if in.Items != nil {
1040 in, out := &in.Items, &out.Items
1041 *out = make([]CouchDBReplicationDoc, len(*in))
1042 for i := range *in {
1043 (*in)[i].DeepCopyInto(&(*out)[i])
1044 }
1045 }
1046 }
1047
1048
1049 func (in *CouchDBReplicationDocList) DeepCopy() *CouchDBReplicationDocList {
1050 if in == nil {
1051 return nil
1052 }
1053 out := new(CouchDBReplicationDocList)
1054 in.DeepCopyInto(out)
1055 return out
1056 }
1057
1058
1059 func (in *CouchDBReplicationDocList) DeepCopyObject() runtime.Object {
1060 if c := in.DeepCopy(); c != nil {
1061 return c
1062 }
1063 return nil
1064 }
1065
1066
1067 func (in *CouchDBReplicationDocSpec) DeepCopyInto(out *CouchDBReplicationDocSpec) {
1068 *out = *in
1069 }
1070
1071
1072 func (in *CouchDBReplicationDocSpec) DeepCopy() *CouchDBReplicationDocSpec {
1073 if in == nil {
1074 return nil
1075 }
1076 out := new(CouchDBReplicationDocSpec)
1077 in.DeepCopyInto(out)
1078 return out
1079 }
1080
1081
1082 func (in *CouchDBReplicationDocStatus) DeepCopyInto(out *CouchDBReplicationDocStatus) {
1083 *out = *in
1084 if in.Conditions != nil {
1085 in, out := &in.Conditions, &out.Conditions
1086 *out = make([]v1.Condition, len(*in))
1087 for i := range *in {
1088 (*in)[i].DeepCopyInto(&(*out)[i])
1089 }
1090 }
1091 }
1092
1093
1094 func (in *CouchDBReplicationDocStatus) DeepCopy() *CouchDBReplicationDocStatus {
1095 if in == nil {
1096 return nil
1097 }
1098 out := new(CouchDBReplicationDocStatus)
1099 in.DeepCopyInto(out)
1100 return out
1101 }
1102
1103
1104 func (in *CouchDBReplicationSet) DeepCopyInto(out *CouchDBReplicationSet) {
1105 *out = *in
1106 out.TypeMeta = in.TypeMeta
1107 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1108 in.Spec.DeepCopyInto(&out.Spec)
1109 in.Status.DeepCopyInto(&out.Status)
1110 }
1111
1112
1113 func (in *CouchDBReplicationSet) DeepCopy() *CouchDBReplicationSet {
1114 if in == nil {
1115 return nil
1116 }
1117 out := new(CouchDBReplicationSet)
1118 in.DeepCopyInto(out)
1119 return out
1120 }
1121
1122
1123 func (in *CouchDBReplicationSet) DeepCopyObject() runtime.Object {
1124 if c := in.DeepCopy(); c != nil {
1125 return c
1126 }
1127 return nil
1128 }
1129
1130
1131 func (in *CouchDBReplicationSetList) DeepCopyInto(out *CouchDBReplicationSetList) {
1132 *out = *in
1133 out.TypeMeta = in.TypeMeta
1134 in.ListMeta.DeepCopyInto(&out.ListMeta)
1135 if in.Items != nil {
1136 in, out := &in.Items, &out.Items
1137 *out = make([]CouchDBReplicationSet, len(*in))
1138 for i := range *in {
1139 (*in)[i].DeepCopyInto(&(*out)[i])
1140 }
1141 }
1142 }
1143
1144
1145 func (in *CouchDBReplicationSetList) DeepCopy() *CouchDBReplicationSetList {
1146 if in == nil {
1147 return nil
1148 }
1149 out := new(CouchDBReplicationSetList)
1150 in.DeepCopyInto(out)
1151 return out
1152 }
1153
1154
1155 func (in *CouchDBReplicationSetList) DeepCopyObject() runtime.Object {
1156 if c := in.DeepCopy(); c != nil {
1157 return c
1158 }
1159 return nil
1160 }
1161
1162
1163 func (in *CouchDBReplicationSetSpec) DeepCopyInto(out *CouchDBReplicationSetSpec) {
1164 *out = *in
1165 in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
1166 out.Source = in.Source
1167 out.Target = in.Target
1168 if in.Datasets != nil {
1169 in, out := &in.Datasets, &out.Datasets
1170 *out = make([]Dataset, len(*in))
1171 for i := range *in {
1172 (*in)[i].DeepCopyInto(&(*out)[i])
1173 }
1174 }
1175 }
1176
1177
1178 func (in *CouchDBReplicationSetSpec) DeepCopy() *CouchDBReplicationSetSpec {
1179 if in == nil {
1180 return nil
1181 }
1182 out := new(CouchDBReplicationSetSpec)
1183 in.DeepCopyInto(out)
1184 return out
1185 }
1186
1187
1188 func (in *CouchDBReplicationSetStatus) DeepCopyInto(out *CouchDBReplicationSetStatus) {
1189 *out = *in
1190 if in.Conditions != nil {
1191 in, out := &in.Conditions, &out.Conditions
1192 *out = make([]v1.Condition, len(*in))
1193 for i := range *in {
1194 (*in)[i].DeepCopyInto(&(*out)[i])
1195 }
1196 }
1197 if in.Inventory != nil {
1198 in, out := &in.Inventory, &out.Inventory
1199 *out = make([]string, len(*in))
1200 copy(*out, *in)
1201 }
1202 if in.Replications != nil {
1203 in, out := &in.Replications, &out.Replications
1204 *out = make([]Replication, len(*in))
1205 copy(*out, *in)
1206 }
1207 }
1208
1209
1210 func (in *CouchDBReplicationSetStatus) DeepCopy() *CouchDBReplicationSetStatus {
1211 if in == nil {
1212 return nil
1213 }
1214 out := new(CouchDBReplicationSetStatus)
1215 in.DeepCopyInto(out)
1216 return out
1217 }
1218
1219
1220 func (in *CouchDBServer) DeepCopyInto(out *CouchDBServer) {
1221 *out = *in
1222 out.TypeMeta = in.TypeMeta
1223 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1224 in.Spec.DeepCopyInto(&out.Spec)
1225 in.Status.DeepCopyInto(&out.Status)
1226 }
1227
1228
1229 func (in *CouchDBServer) DeepCopy() *CouchDBServer {
1230 if in == nil {
1231 return nil
1232 }
1233 out := new(CouchDBServer)
1234 in.DeepCopyInto(out)
1235 return out
1236 }
1237
1238
1239 func (in *CouchDBServer) DeepCopyObject() runtime.Object {
1240 if c := in.DeepCopy(); c != nil {
1241 return c
1242 }
1243 return nil
1244 }
1245
1246
1247 func (in *CouchDBServerList) DeepCopyInto(out *CouchDBServerList) {
1248 *out = *in
1249 out.TypeMeta = in.TypeMeta
1250 in.ListMeta.DeepCopyInto(&out.ListMeta)
1251 if in.Items != nil {
1252 in, out := &in.Items, &out.Items
1253 *out = make([]CouchDBServer, len(*in))
1254 for i := range *in {
1255 (*in)[i].DeepCopyInto(&(*out)[i])
1256 }
1257 }
1258 }
1259
1260
1261 func (in *CouchDBServerList) DeepCopy() *CouchDBServerList {
1262 if in == nil {
1263 return nil
1264 }
1265 out := new(CouchDBServerList)
1266 in.DeepCopyInto(out)
1267 return out
1268 }
1269
1270
1271 func (in *CouchDBServerList) DeepCopyObject() runtime.Object {
1272 if c := in.DeepCopy(); c != nil {
1273 return c
1274 }
1275 return nil
1276 }
1277
1278
1279 func (in *CouchDBServerSpec) DeepCopyInto(out *CouchDBServerSpec) {
1280 *out = *in
1281 in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
1282 out.Admin = in.Admin
1283 out.Ingress = in.Ingress
1284 out.Cluster = in.Cluster
1285 if in.Base != nil {
1286 in, out := &in.Base, &out.Base
1287 *out = new(BaseConfig)
1288 (*in).DeepCopyInto(*out)
1289 }
1290 if in.DiskMonitor != nil {
1291 in, out := &in.DiskMonitor, &out.DiskMonitor
1292 *out = new(DiskMonitor)
1293 (*in).DeepCopyInto(*out)
1294 }
1295 if in.Server != nil {
1296 in, out := &in.Server, &out.Server
1297 *out = new(ServerConfig)
1298 (*in).DeepCopyInto(*out)
1299 }
1300 if in.Clustering != nil {
1301 in, out := &in.Clustering, &out.Clustering
1302 *out = new(ClusterConfig)
1303 (*in).DeepCopyInto(*out)
1304 }
1305 if in.RPC != nil {
1306 in, out := &in.RPC, &out.RPC
1307 *out = new(RPCConfig)
1308 (*in).DeepCopyInto(*out)
1309 }
1310 if in.UserDB != nil {
1311 in, out := &in.UserDB, &out.UserDB
1312 *out = new(UserDBConfig)
1313 (*in).DeepCopyInto(*out)
1314 }
1315 if in.Replicator != nil {
1316 in, out := &in.Replicator, &out.Replicator
1317 *out = new(ReplicatorConfig)
1318 (*in).DeepCopyInto(*out)
1319 }
1320 if in.Smoosh != nil {
1321 in, out := &in.Smoosh, &out.Smoosh
1322 *out = new(SmooshConfig)
1323 (*in).DeepCopyInto(*out)
1324 }
1325 if in.IOQ != nil {
1326 in, out := &in.IOQ, &out.IOQ
1327 *out = new(IOQConfig)
1328 (*in).DeepCopyInto(*out)
1329 }
1330 if in.Log != nil {
1331 in, out := &in.Log, &out.Log
1332 *out = new(LogConfig)
1333 (*in).DeepCopyInto(*out)
1334 }
1335 if in.Metrics != nil {
1336 in, out := &in.Metrics, &out.Metrics
1337 *out = new(MetricsConfig)
1338 (*in).DeepCopyInto(*out)
1339 }
1340 if in.BackgroundIndex != nil {
1341 in, out := &in.BackgroundIndex, &out.BackgroundIndex
1342 *out = new(BackgroundIndexConfig)
1343 (*in).DeepCopyInto(*out)
1344 }
1345 if in.Admins != nil {
1346 in, out := &in.Admins, &out.Admins
1347 *out = make(map[string]string, len(*in))
1348 for key, val := range *in {
1349 (*out)[key] = val
1350 }
1351 }
1352 if in.Query != nil {
1353 in, out := &in.Query, &out.Query
1354 *out = new(QueryServerConfig)
1355 (*in).DeepCopyInto(*out)
1356 }
1357 if in.NativeQuery != nil {
1358 in, out := &in.NativeQuery, &out.NativeQuery
1359 *out = new(NativeQueryConfig)
1360 (*in).DeepCopyInto(*out)
1361 }
1362 if in.Search != nil {
1363 in, out := &in.Search, &out.Search
1364 *out = new(SearchConfig)
1365 (*in).DeepCopyInto(*out)
1366 }
1367 if in.ReSharding != nil {
1368 in, out := &in.ReSharding, &out.ReSharding
1369 *out = new(ReShardingConfig)
1370 (*in).DeepCopyInto(*out)
1371 }
1372 if in.Attachments != nil {
1373 in, out := &in.Attachments, &out.Attachments
1374 *out = new(AttachmentConfig)
1375 (*in).DeepCopyInto(*out)
1376 }
1377 if in.Stats != nil {
1378 in, out := &in.Stats, &out.Stats
1379 *out = new(StatisticsConfig)
1380 (*in).DeepCopyInto(*out)
1381 }
1382 if in.UUIDS != nil {
1383 in, out := &in.UUIDS, &out.UUIDS
1384 *out = new(UUIDConfig)
1385 (*in).DeepCopyInto(*out)
1386 }
1387 if in.Vendor != nil {
1388 in, out := &in.Vendor, &out.Vendor
1389 *out = new(VendorConfig)
1390 (*in).DeepCopyInto(*out)
1391 }
1392 if in.CSP != nil {
1393 in, out := &in.CSP, &out.CSP
1394 *out = new(CSPConfig)
1395 (*in).DeepCopyInto(*out)
1396 }
1397 if in.Purge != nil {
1398 in, out := &in.Purge, &out.Purge
1399 *out = new(PurgeConfig)
1400 (*in).DeepCopyInto(*out)
1401 }
1402 }
1403
1404
1405 func (in *CouchDBServerSpec) DeepCopy() *CouchDBServerSpec {
1406 if in == nil {
1407 return nil
1408 }
1409 out := new(CouchDBServerSpec)
1410 in.DeepCopyInto(out)
1411 return out
1412 }
1413
1414
1415 func (in *CouchDBServerStatus) DeepCopyInto(out *CouchDBServerStatus) {
1416 *out = *in
1417 if in.Conditions != nil {
1418 in, out := &in.Conditions, &out.Conditions
1419 *out = make([]v1.Condition, len(*in))
1420 for i := range *in {
1421 (*in)[i].DeepCopyInto(&(*out)[i])
1422 }
1423 }
1424 if in.Inventory != nil {
1425 in, out := &in.Inventory, &out.Inventory
1426 *out = new(inventory.ResourceInventory)
1427 (*in).DeepCopyInto(*out)
1428 }
1429 }
1430
1431
1432 func (in *CouchDBServerStatus) DeepCopy() *CouchDBServerStatus {
1433 if in == nil {
1434 return nil
1435 }
1436 out := new(CouchDBServerStatus)
1437 in.DeepCopyInto(out)
1438 return out
1439 }
1440
1441
1442 func (in *CouchDBUser) DeepCopyInto(out *CouchDBUser) {
1443 *out = *in
1444 out.TypeMeta = in.TypeMeta
1445 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
1446 in.Spec.DeepCopyInto(&out.Spec)
1447 in.Status.DeepCopyInto(&out.Status)
1448 }
1449
1450
1451 func (in *CouchDBUser) DeepCopy() *CouchDBUser {
1452 if in == nil {
1453 return nil
1454 }
1455 out := new(CouchDBUser)
1456 in.DeepCopyInto(out)
1457 return out
1458 }
1459
1460
1461 func (in *CouchDBUser) DeepCopyObject() runtime.Object {
1462 if c := in.DeepCopy(); c != nil {
1463 return c
1464 }
1465 return nil
1466 }
1467
1468
1469 func (in *CouchDBUserList) DeepCopyInto(out *CouchDBUserList) {
1470 *out = *in
1471 out.TypeMeta = in.TypeMeta
1472 in.ListMeta.DeepCopyInto(&out.ListMeta)
1473 if in.Items != nil {
1474 in, out := &in.Items, &out.Items
1475 *out = make([]CouchDBUser, len(*in))
1476 for i := range *in {
1477 (*in)[i].DeepCopyInto(&(*out)[i])
1478 }
1479 }
1480 }
1481
1482
1483 func (in *CouchDBUserList) DeepCopy() *CouchDBUserList {
1484 if in == nil {
1485 return nil
1486 }
1487 out := new(CouchDBUserList)
1488 in.DeepCopyInto(out)
1489 return out
1490 }
1491
1492
1493 func (in *CouchDBUserList) DeepCopyObject() runtime.Object {
1494 if c := in.DeepCopy(); c != nil {
1495 return c
1496 }
1497 return nil
1498 }
1499
1500
1501 func (in *CouchDBUserSpec) DeepCopyInto(out *CouchDBUserSpec) {
1502 *out = *in
1503 in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
1504 in.User.DeepCopyInto(&out.User)
1505 out.ServerRef = in.ServerRef
1506 if in.Provider != nil {
1507 in, out := &in.Provider, &out.Provider
1508 *out = new(Provider)
1509 **out = **in
1510 }
1511 }
1512
1513
1514 func (in *CouchDBUserSpec) DeepCopy() *CouchDBUserSpec {
1515 if in == nil {
1516 return nil
1517 }
1518 out := new(CouchDBUserSpec)
1519 in.DeepCopyInto(out)
1520 return out
1521 }
1522
1523
1524 func (in *CouchDBUserStatus) DeepCopyInto(out *CouchDBUserStatus) {
1525 *out = *in
1526 if in.Conditions != nil {
1527 in, out := &in.Conditions, &out.Conditions
1528 *out = make([]v1.Condition, len(*in))
1529 for i := range *in {
1530 (*in)[i].DeepCopyInto(&(*out)[i])
1531 }
1532 }
1533 if in.Inventory != nil {
1534 in, out := &in.Inventory, &out.Inventory
1535 *out = new(inventory.ResourceInventory)
1536 (*in).DeepCopyInto(*out)
1537 }
1538 }
1539
1540
1541 func (in *CouchDBUserStatus) DeepCopy() *CouchDBUserStatus {
1542 if in == nil {
1543 return nil
1544 }
1545 out := new(CouchDBUserStatus)
1546 in.DeepCopyInto(out)
1547 return out
1548 }
1549
1550
1551 func (in *DatabaseCompactionConfig) DeepCopyInto(out *DatabaseCompactionConfig) {
1552 *out = *in
1553 if in.DocBufferSize != nil {
1554 in, out := &in.DocBufferSize, &out.DocBufferSize
1555 *out = new(int)
1556 **out = **in
1557 }
1558 if in.CheckpointAfter != nil {
1559 in, out := &in.CheckpointAfter, &out.CheckpointAfter
1560 *out = new(int)
1561 **out = **in
1562 }
1563 }
1564
1565
1566 func (in *DatabaseCompactionConfig) DeepCopy() *DatabaseCompactionConfig {
1567 if in == nil {
1568 return nil
1569 }
1570 out := new(DatabaseCompactionConfig)
1571 in.DeepCopyInto(out)
1572 return out
1573 }
1574
1575
1576 func (in *Dataset) DeepCopyInto(out *Dataset) {
1577 *out = *in
1578 if in.Provider != nil {
1579 in, out := &in.Provider, &out.Provider
1580 *out = new(Provider)
1581 **out = **in
1582 }
1583 in.Config.DeepCopyInto(&out.Config)
1584 if in.Stores != nil {
1585 in, out := &in.Stores, &out.Stores
1586 *out = make([]string, len(*in))
1587 copy(*out, *in)
1588 }
1589 if in.Touchpoints != nil {
1590 in, out := &in.Touchpoints, &out.Touchpoints
1591 *out = make([]string, len(*in))
1592 copy(*out, *in)
1593 }
1594 }
1595
1596
1597 func (in *Dataset) DeepCopy() *Dataset {
1598 if in == nil {
1599 return nil
1600 }
1601 out := new(Dataset)
1602 in.DeepCopyInto(out)
1603 return out
1604 }
1605
1606
1607 func (in *DesignDoc) DeepCopyInto(out *DesignDoc) {
1608 *out = *in
1609 if in.Views != nil {
1610 in, out := &in.Views, &out.Views
1611 *out = make(map[string]map[string]string, len(*in))
1612 for key, val := range *in {
1613 var outVal map[string]string
1614 if val == nil {
1615 (*out)[key] = nil
1616 } else {
1617 inVal := (*in)[key]
1618 in, out := &inVal, &outVal
1619 *out = make(map[string]string, len(*in))
1620 for key, val := range *in {
1621 (*out)[key] = val
1622 }
1623 }
1624 (*out)[key] = outVal
1625 }
1626 }
1627 if in.Updates != nil {
1628 in, out := &in.Updates, &out.Updates
1629 *out = make(map[string]map[string]string, len(*in))
1630 for key, val := range *in {
1631 var outVal map[string]string
1632 if val == nil {
1633 (*out)[key] = nil
1634 } else {
1635 inVal := (*in)[key]
1636 in, out := &inVal, &outVal
1637 *out = make(map[string]string, len(*in))
1638 for key, val := range *in {
1639 (*out)[key] = val
1640 }
1641 }
1642 (*out)[key] = outVal
1643 }
1644 }
1645 if in.Filters != nil {
1646 in, out := &in.Filters, &out.Filters
1647 *out = make(map[string]map[string]string, len(*in))
1648 for key, val := range *in {
1649 var outVal map[string]string
1650 if val == nil {
1651 (*out)[key] = nil
1652 } else {
1653 inVal := (*in)[key]
1654 in, out := &inVal, &outVal
1655 *out = make(map[string]string, len(*in))
1656 for key, val := range *in {
1657 (*out)[key] = val
1658 }
1659 }
1660 (*out)[key] = outVal
1661 }
1662 }
1663 }
1664
1665
1666 func (in *DesignDoc) DeepCopy() *DesignDoc {
1667 if in == nil {
1668 return nil
1669 }
1670 out := new(DesignDoc)
1671 in.DeepCopyInto(out)
1672 return out
1673 }
1674
1675
1676 func (in *DiskMonitor) DeepCopyInto(out *DiskMonitor) {
1677 *out = *in
1678 if in.BackgroundViewIndexingThreshold != nil {
1679 in, out := &in.BackgroundViewIndexingThreshold, &out.BackgroundViewIndexingThreshold
1680 *out = new(int)
1681 **out = **in
1682 }
1683 if in.InteractiveDatabaseWritesThreshold != nil {
1684 in, out := &in.InteractiveDatabaseWritesThreshold, &out.InteractiveDatabaseWritesThreshold
1685 *out = new(int)
1686 **out = **in
1687 }
1688 if in.Enable != nil {
1689 in, out := &in.Enable, &out.Enable
1690 *out = new(bool)
1691 **out = **in
1692 }
1693 if in.InteractiveViewIndexingThreshold != nil {
1694 in, out := &in.InteractiveViewIndexingThreshold, &out.InteractiveViewIndexingThreshold
1695 *out = new(int)
1696 **out = **in
1697 }
1698 }
1699
1700
1701 func (in *DiskMonitor) DeepCopy() *DiskMonitor {
1702 if in == nil {
1703 return nil
1704 }
1705 out := new(DiskMonitor)
1706 in.DeepCopyInto(out)
1707 return out
1708 }
1709
1710
1711 func (in *HTTPConfig) DeepCopyInto(out *HTTPConfig) {
1712 *out = *in
1713 if in.BindAddress != nil {
1714 in, out := &in.BindAddress, &out.BindAddress
1715 *out = new(string)
1716 **out = **in
1717 }
1718 if in.ChangesTimeout != nil {
1719 in, out := &in.ChangesTimeout, &out.ChangesTimeout
1720 *out = new(int)
1721 **out = **in
1722 }
1723 if in.RequireValidUser != nil {
1724 in, out := &in.RequireValidUser, &out.RequireValidUser
1725 *out = new(bool)
1726 **out = **in
1727 }
1728 if in.RequireValidUserExceptUp != nil {
1729 in, out := &in.RequireValidUserExceptUp, &out.RequireValidUserExceptUp
1730 *out = new(bool)
1731 **out = **in
1732 }
1733 if in.EnableCORS != nil {
1734 in, out := &in.EnableCORS, &out.EnableCORS
1735 *out = new(bool)
1736 **out = **in
1737 }
1738 if in.Port != nil {
1739 in, out := &in.Port, &out.Port
1740 *out = new(int)
1741 **out = **in
1742 }
1743 if in.PreferMinimal != nil {
1744 in, out := &in.PreferMinimal, &out.PreferMinimal
1745 *out = new(string)
1746 **out = **in
1747 }
1748 if in.AuthenticationHandlers != nil {
1749 in, out := &in.AuthenticationHandlers, &out.AuthenticationHandlers
1750 *out = new(string)
1751 **out = **in
1752 }
1753 if in.BufferResponse != nil {
1754 in, out := &in.BufferResponse, &out.BufferResponse
1755 *out = new(bool)
1756 **out = **in
1757 }
1758 if in.AllowJSONP != nil {
1759 in, out := &in.AllowJSONP, &out.AllowJSONP
1760 *out = new(bool)
1761 **out = **in
1762 }
1763 if in.ConfigWhitelist != nil {
1764 in, out := &in.ConfigWhitelist, &out.ConfigWhitelist
1765 *out = new(string)
1766 **out = **in
1767 }
1768 if in.SecureRewrites != nil {
1769 in, out := &in.SecureRewrites, &out.SecureRewrites
1770 *out = new(bool)
1771 **out = **in
1772 }
1773 if in.XForwardedHost != nil {
1774 in, out := &in.XForwardedHost, &out.XForwardedHost
1775 *out = new(string)
1776 **out = **in
1777 }
1778 if in.XForwardedProto != nil {
1779 in, out := &in.XForwardedProto, &out.XForwardedProto
1780 *out = new(string)
1781 **out = **in
1782 }
1783 if in.XForwardedSSL != nil {
1784 in, out := &in.XForwardedSSL, &out.XForwardedSSL
1785 *out = new(string)
1786 **out = **in
1787 }
1788 if in.EnableXFrameOptions != nil {
1789 in, out := &in.EnableXFrameOptions, &out.EnableXFrameOptions
1790 *out = new(bool)
1791 **out = **in
1792 }
1793 if in.MaxHTTPRequestSize != nil {
1794 in, out := &in.MaxHTTPRequestSize, &out.MaxHTTPRequestSize
1795 *out = new(int)
1796 **out = **in
1797 }
1798 if in.BulkGetUseBatches != nil {
1799 in, out := &in.BulkGetUseBatches, &out.BulkGetUseBatches
1800 *out = new(bool)
1801 **out = **in
1802 }
1803 if in.AdminOnlyAllDBs != nil {
1804 in, out := &in.AdminOnlyAllDBs, &out.AdminOnlyAllDBs
1805 *out = new(bool)
1806 **out = **in
1807 }
1808 }
1809
1810
1811 func (in *HTTPConfig) DeepCopy() *HTTPConfig {
1812 if in == nil {
1813 return nil
1814 }
1815 out := new(HTTPConfig)
1816 in.DeepCopyInto(out)
1817 return out
1818 }
1819
1820
1821 func (in *HTTPDConfig) DeepCopyInto(out *HTTPDConfig) {
1822 *out = *in
1823 if in.ServerOptions != nil {
1824 in, out := &in.ServerOptions, &out.ServerOptions
1825 *out = new(string)
1826 **out = **in
1827 }
1828 if in.SocketOptions != nil {
1829 in, out := &in.SocketOptions, &out.SocketOptions
1830 *out = new(string)
1831 **out = **in
1832 }
1833 }
1834
1835
1836 func (in *HTTPDConfig) DeepCopy() *HTTPDConfig {
1837 if in == nil {
1838 return nil
1839 }
1840 out := new(HTTPDConfig)
1841 in.DeepCopyInto(out)
1842 return out
1843 }
1844
1845
1846 func (in *IOQBypassConfig) DeepCopyInto(out *IOQBypassConfig) {
1847 *out = *in
1848 if in.OSProcess != nil {
1849 in, out := &in.OSProcess, &out.OSProcess
1850 *out = new(bool)
1851 **out = **in
1852 }
1853 if in.Read != nil {
1854 in, out := &in.Read, &out.Read
1855 *out = new(bool)
1856 **out = **in
1857 }
1858 if in.Write != nil {
1859 in, out := &in.Write, &out.Write
1860 *out = new(bool)
1861 **out = **in
1862 }
1863 if in.ViewUpdate != nil {
1864 in, out := &in.ViewUpdate, &out.ViewUpdate
1865 *out = new(bool)
1866 **out = **in
1867 }
1868 if in.ShardSync != nil {
1869 in, out := &in.ShardSync, &out.ShardSync
1870 *out = new(bool)
1871 **out = **in
1872 }
1873 if in.Compaction != nil {
1874 in, out := &in.Compaction, &out.Compaction
1875 *out = new(bool)
1876 **out = **in
1877 }
1878 if in.Reshard != nil {
1879 in, out := &in.Reshard, &out.Reshard
1880 *out = new(bool)
1881 **out = **in
1882 }
1883 }
1884
1885
1886 func (in *IOQBypassConfig) DeepCopy() *IOQBypassConfig {
1887 if in == nil {
1888 return nil
1889 }
1890 out := new(IOQBypassConfig)
1891 in.DeepCopyInto(out)
1892 return out
1893 }
1894
1895
1896 func (in *IOQConfig) DeepCopyInto(out *IOQConfig) {
1897 *out = *in
1898 if in.Concurrency != nil {
1899 in, out := &in.Concurrency, &out.Concurrency
1900 *out = new(int)
1901 **out = **in
1902 }
1903 if in.Ratio != nil {
1904 in, out := &in.Ratio, &out.Ratio
1905 *out = new(float32)
1906 **out = **in
1907 }
1908 if in.Bypass != nil {
1909 in, out := &in.Bypass, &out.Bypass
1910 *out = new(IOQBypassConfig)
1911 (*in).DeepCopyInto(*out)
1912 }
1913 }
1914
1915
1916 func (in *IOQConfig) DeepCopy() *IOQConfig {
1917 if in == nil {
1918 return nil
1919 }
1920 out := new(IOQConfig)
1921 in.DeepCopyInto(out)
1922 return out
1923 }
1924
1925
1926 func (in *Index) DeepCopyInto(out *Index) {
1927 *out = *in
1928 if in.Fields != nil {
1929 in, out := &in.Fields, &out.Fields
1930 *out = make([]string, len(*in))
1931 copy(*out, *in)
1932 }
1933 }
1934
1935
1936 func (in *Index) DeepCopy() *Index {
1937 if in == nil {
1938 return nil
1939 }
1940 out := new(Index)
1941 in.DeepCopyInto(out)
1942 return out
1943 }
1944
1945
1946 func (in *Ingress) DeepCopyInto(out *Ingress) {
1947 *out = *in
1948 out.Certificate = in.Certificate
1949 }
1950
1951
1952 func (in *Ingress) DeepCopy() *Ingress {
1953 if in == nil {
1954 return nil
1955 }
1956 out := new(Ingress)
1957 in.DeepCopyInto(out)
1958 return out
1959 }
1960
1961
1962 func (in *JWTAuthConfig) DeepCopyInto(out *JWTAuthConfig) {
1963 *out = *in
1964 if in.RequiredClaims != nil {
1965 in, out := &in.RequiredClaims, &out.RequiredClaims
1966 *out = make([]string, len(*in))
1967 copy(*out, *in)
1968 }
1969 if in.RolesClaimPath != nil {
1970 in, out := &in.RolesClaimPath, &out.RolesClaimPath
1971 *out = new(string)
1972 **out = **in
1973 }
1974 }
1975
1976
1977 func (in *JWTAuthConfig) DeepCopy() *JWTAuthConfig {
1978 if in == nil {
1979 return nil
1980 }
1981 out := new(JWTAuthConfig)
1982 in.DeepCopyInto(out)
1983 return out
1984 }
1985
1986
1987 func (in *LogConfig) DeepCopyInto(out *LogConfig) {
1988 *out = *in
1989 if in.Writer != nil {
1990 in, out := &in.Writer, &out.Writer
1991 *out = new(string)
1992 **out = **in
1993 }
1994 if in.File != nil {
1995 in, out := &in.File, &out.File
1996 *out = new(string)
1997 **out = **in
1998 }
1999 if in.WriteBuffer != nil {
2000 in, out := &in.WriteBuffer, &out.WriteBuffer
2001 *out = new(string)
2002 **out = **in
2003 }
2004 if in.WriteDelay != nil {
2005 in, out := &in.WriteDelay, &out.WriteDelay
2006 *out = new(string)
2007 **out = **in
2008 }
2009 if in.Level != nil {
2010 in, out := &in.Level, &out.Level
2011 *out = new(LogLevel)
2012 **out = **in
2013 }
2014 if in.IncludeSASL != nil {
2015 in, out := &in.IncludeSASL, &out.IncludeSASL
2016 *out = new(bool)
2017 **out = **in
2018 }
2019 if in.SyslogHost != nil {
2020 in, out := &in.SyslogHost, &out.SyslogHost
2021 *out = new(string)
2022 **out = **in
2023 }
2024 if in.SyslogPort != nil {
2025 in, out := &in.SyslogPort, &out.SyslogPort
2026 *out = new(int)
2027 **out = **in
2028 }
2029 if in.SyslogAppid != nil {
2030 in, out := &in.SyslogAppid, &out.SyslogAppid
2031 *out = new(string)
2032 **out = **in
2033 }
2034 if in.SyslogFacility != nil {
2035 in, out := &in.SyslogFacility, &out.SyslogFacility
2036 *out = new(string)
2037 **out = **in
2038 }
2039 }
2040
2041
2042 func (in *LogConfig) DeepCopy() *LogConfig {
2043 if in == nil {
2044 return nil
2045 }
2046 out := new(LogConfig)
2047 in.DeepCopyInto(out)
2048 return out
2049 }
2050
2051
2052 func (in *MetricsConfig) DeepCopyInto(out *MetricsConfig) {
2053 *out = *in
2054 if in.AdditionalPort != nil {
2055 in, out := &in.AdditionalPort, &out.AdditionalPort
2056 *out = new(bool)
2057 **out = **in
2058 }
2059 if in.BindAddress != nil {
2060 in, out := &in.BindAddress, &out.BindAddress
2061 *out = new(string)
2062 **out = **in
2063 }
2064 if in.Port != nil {
2065 in, out := &in.Port, &out.Port
2066 *out = new(int)
2067 **out = **in
2068 }
2069 }
2070
2071
2072 func (in *MetricsConfig) DeepCopy() *MetricsConfig {
2073 if in == nil {
2074 return nil
2075 }
2076 out := new(MetricsConfig)
2077 in.DeepCopyInto(out)
2078 return out
2079 }
2080
2081
2082 func (in *NameRole) DeepCopyInto(out *NameRole) {
2083 *out = *in
2084 if in.Names != nil {
2085 in, out := &in.Names, &out.Names
2086 *out = make([]string, len(*in))
2087 copy(*out, *in)
2088 }
2089 if in.Roles != nil {
2090 in, out := &in.Roles, &out.Roles
2091 *out = make([]string, len(*in))
2092 copy(*out, *in)
2093 }
2094 }
2095
2096
2097 func (in *NameRole) DeepCopy() *NameRole {
2098 if in == nil {
2099 return nil
2100 }
2101 out := new(NameRole)
2102 in.DeepCopyInto(out)
2103 return out
2104 }
2105
2106
2107 func (in *NativeQueryConfig) DeepCopyInto(out *NativeQueryConfig) {
2108 *out = *in
2109 if in.Enable != nil {
2110 in, out := &in.Enable, &out.Enable
2111 *out = new(bool)
2112 **out = **in
2113 }
2114 }
2115
2116
2117 func (in *NativeQueryConfig) DeepCopy() *NativeQueryConfig {
2118 if in == nil {
2119 return nil
2120 }
2121 out := new(NativeQueryConfig)
2122 in.DeepCopyInto(out)
2123 return out
2124 }
2125
2126
2127 func (in *Provider) DeepCopyInto(out *Provider) {
2128 *out = *in
2129 }
2130
2131
2132 func (in *Provider) DeepCopy() *Provider {
2133 if in == nil {
2134 return nil
2135 }
2136 out := new(Provider)
2137 in.DeepCopyInto(out)
2138 return out
2139 }
2140
2141
2142 func (in *PurgeConfig) DeepCopyInto(out *PurgeConfig) {
2143 *out = *in
2144 if in.MaxDocumentIDNumber != nil {
2145 in, out := &in.MaxDocumentIDNumber, &out.MaxDocumentIDNumber
2146 *out = new(int)
2147 **out = **in
2148 }
2149 if in.MaxRevisionsNumber != nil {
2150 in, out := &in.MaxRevisionsNumber, &out.MaxRevisionsNumber
2151 *out = new(int)
2152 **out = **in
2153 }
2154 if in.IndexLagWarnSeconds != nil {
2155 in, out := &in.IndexLagWarnSeconds, &out.IndexLagWarnSeconds
2156 *out = new(int)
2157 **out = **in
2158 }
2159 }
2160
2161
2162 func (in *PurgeConfig) DeepCopy() *PurgeConfig {
2163 if in == nil {
2164 return nil
2165 }
2166 out := new(PurgeConfig)
2167 in.DeepCopyInto(out)
2168 return out
2169 }
2170
2171
2172 func (in *QueryServerConfig) DeepCopyInto(out *QueryServerConfig) {
2173 *out = *in
2174 if in.CommitFreq != nil {
2175 in, out := &in.CommitFreq, &out.CommitFreq
2176 *out = new(int)
2177 **out = **in
2178 }
2179 if in.ProcessLimit != nil {
2180 in, out := &in.ProcessLimit, &out.ProcessLimit
2181 *out = new(int)
2182 **out = **in
2183 }
2184 if in.ProcessTimeout != nil {
2185 in, out := &in.ProcessTimeout, &out.ProcessTimeout
2186 *out = new(int)
2187 **out = **in
2188 }
2189 if in.SoftLimit != nil {
2190 in, out := &in.SoftLimit, &out.SoftLimit
2191 *out = new(int)
2192 **out = **in
2193 }
2194 if in.ReduceLimit != nil {
2195 in, out := &in.ReduceLimit, &out.ReduceLimit
2196 *out = new(bool)
2197 **out = **in
2198 }
2199 }
2200
2201
2202 func (in *QueryServerConfig) DeepCopy() *QueryServerConfig {
2203 if in == nil {
2204 return nil
2205 }
2206 out := new(QueryServerConfig)
2207 in.DeepCopyInto(out)
2208 return out
2209 }
2210
2211
2212 func (in *RPCConfig) DeepCopyInto(out *RPCConfig) {
2213 *out = *in
2214 if in.BufferCount != nil {
2215 in, out := &in.BufferCount, &out.BufferCount
2216 *out = new(int)
2217 **out = **in
2218 }
2219 if in.ServerPerNode != nil {
2220 in, out := &in.ServerPerNode, &out.ServerPerNode
2221 *out = new(bool)
2222 **out = **in
2223 }
2224 if in.StreamLimit != nil {
2225 in, out := &in.StreamLimit, &out.StreamLimit
2226 *out = new(int)
2227 **out = **in
2228 }
2229 }
2230
2231
2232 func (in *RPCConfig) DeepCopy() *RPCConfig {
2233 if in == nil {
2234 return nil
2235 }
2236 out := new(RPCConfig)
2237 in.DeepCopyInto(out)
2238 return out
2239 }
2240
2241
2242 func (in *ReShardingConfig) DeepCopyInto(out *ReShardingConfig) {
2243 *out = *in
2244 if in.MaxJobs != nil {
2245 in, out := &in.MaxJobs, &out.MaxJobs
2246 *out = new(int)
2247 **out = **in
2248 }
2249 if in.MaxHistory != nil {
2250 in, out := &in.MaxHistory, &out.MaxHistory
2251 *out = new(int)
2252 **out = **in
2253 }
2254 if in.MaxRetries != nil {
2255 in, out := &in.MaxRetries, &out.MaxRetries
2256 *out = new(int)
2257 **out = **in
2258 }
2259 if in.RetryInterval != nil {
2260 in, out := &in.RetryInterval, &out.RetryInterval
2261 *out = new(int)
2262 **out = **in
2263 }
2264 if in.UpdateTimeout != nil {
2265 in, out := &in.UpdateTimeout, &out.UpdateTimeout
2266 *out = new(int)
2267 **out = **in
2268 }
2269 if in.SourceCloseTimeout != nil {
2270 in, out := &in.SourceCloseTimeout, &out.SourceCloseTimeout
2271 *out = new(int)
2272 **out = **in
2273 }
2274 if in.RequireNodeParam != nil {
2275 in, out := &in.RequireNodeParam, &out.RequireNodeParam
2276 *out = new(bool)
2277 **out = **in
2278 }
2279 if in.RequireRangeParam != nil {
2280 in, out := &in.RequireRangeParam, &out.RequireRangeParam
2281 *out = new(bool)
2282 **out = **in
2283 }
2284 }
2285
2286
2287 func (in *ReShardingConfig) DeepCopy() *ReShardingConfig {
2288 if in == nil {
2289 return nil
2290 }
2291 out := new(ReShardingConfig)
2292 in.DeepCopyInto(out)
2293 return out
2294 }
2295
2296
2297 func (in *ReplConfig) DeepCopyInto(out *ReplConfig) {
2298 *out = *in
2299 if in.DocIDs != nil {
2300 in, out := &in.DocIDs, &out.DocIDs
2301 *out = make([]string, len(*in))
2302 copy(*out, *in)
2303 }
2304 }
2305
2306
2307 func (in *ReplConfig) DeepCopy() *ReplConfig {
2308 if in == nil {
2309 return nil
2310 }
2311 out := new(ReplConfig)
2312 in.DeepCopyInto(out)
2313 return out
2314 }
2315
2316
2317 func (in *Replication) DeepCopyInto(out *Replication) {
2318 *out = *in
2319 }
2320
2321
2322 func (in *Replication) DeepCopy() *Replication {
2323 if in == nil {
2324 return nil
2325 }
2326 out := new(Replication)
2327 in.DeepCopyInto(out)
2328 return out
2329 }
2330
2331
2332 func (in *ReplicationSecret) DeepCopyInto(out *ReplicationSecret) {
2333 *out = *in
2334 out.FromSecret = in.FromSecret
2335 }
2336
2337
2338 func (in *ReplicationSecret) DeepCopy() *ReplicationSecret {
2339 if in == nil {
2340 return nil
2341 }
2342 out := new(ReplicationSecret)
2343 in.DeepCopyInto(out)
2344 return out
2345 }
2346
2347
2348 func (in *ReplicationSet) DeepCopyInto(out *ReplicationSet) {
2349 *out = *in
2350 if in.Providers != nil {
2351 in, out := &in.Providers, &out.Providers
2352 *out = make([]Provider, len(*in))
2353 copy(*out, *in)
2354 }
2355 if in.Datasets != nil {
2356 in, out := &in.Datasets, &out.Datasets
2357 *out = make([]Dataset, len(*in))
2358 for i := range *in {
2359 (*in)[i].DeepCopyInto(&(*out)[i])
2360 }
2361 }
2362 }
2363
2364
2365 func (in *ReplicationSet) DeepCopy() *ReplicationSet {
2366 if in == nil {
2367 return nil
2368 }
2369 out := new(ReplicationSet)
2370 in.DeepCopyInto(out)
2371 return out
2372 }
2373
2374
2375 func (in *ReplicatorConfig) DeepCopyInto(out *ReplicatorConfig) {
2376 *out = *in
2377 if in.MaxJobs != nil {
2378 in, out := &in.MaxJobs, &out.MaxJobs
2379 *out = new(int)
2380 **out = **in
2381 }
2382 if in.Interval != nil {
2383 in, out := &in.Interval, &out.Interval
2384 *out = new(int)
2385 **out = **in
2386 }
2387 if in.MaxChurn != nil {
2388 in, out := &in.MaxChurn, &out.MaxChurn
2389 *out = new(int)
2390 **out = **in
2391 }
2392 if in.MaxHistory != nil {
2393 in, out := &in.MaxHistory, &out.MaxHistory
2394 *out = new(int)
2395 **out = **in
2396 }
2397 if in.UpdateDocs != nil {
2398 in, out := &in.UpdateDocs, &out.UpdateDocs
2399 *out = new(bool)
2400 **out = **in
2401 }
2402 if in.WorkerBatchSize != nil {
2403 in, out := &in.WorkerBatchSize, &out.WorkerBatchSize
2404 *out = new(int)
2405 **out = **in
2406 }
2407 if in.WorkerProcesses != nil {
2408 in, out := &in.WorkerProcesses, &out.WorkerProcesses
2409 *out = new(int)
2410 **out = **in
2411 }
2412 if in.HTTPConnections != nil {
2413 in, out := &in.HTTPConnections, &out.HTTPConnections
2414 *out = new(int)
2415 **out = **in
2416 }
2417 if in.ConnectionTimeout != nil {
2418 in, out := &in.ConnectionTimeout, &out.ConnectionTimeout
2419 *out = new(int)
2420 **out = **in
2421 }
2422 if in.RetriesPerRequest != nil {
2423 in, out := &in.RetriesPerRequest, &out.RetriesPerRequest
2424 *out = new(int)
2425 **out = **in
2426 }
2427 if in.SocketOptions != nil {
2428 in, out := &in.SocketOptions, &out.SocketOptions
2429 *out = new(string)
2430 **out = **in
2431 }
2432 if in.ValidSocketOptions != nil {
2433 in, out := &in.ValidSocketOptions, &out.ValidSocketOptions
2434 *out = new(string)
2435 **out = **in
2436 }
2437 if in.ValidEndpointProtocols != nil {
2438 in, out := &in.ValidEndpointProtocols, &out.ValidEndpointProtocols
2439 *out = new(string)
2440 **out = **in
2441 }
2442 if in.ValidProxyProtocols != nil {
2443 in, out := &in.ValidProxyProtocols, &out.ValidProxyProtocols
2444 *out = new(string)
2445 **out = **in
2446 }
2447 if in.CheckpointInterval != nil {
2448 in, out := &in.CheckpointInterval, &out.CheckpointInterval
2449 *out = new(int)
2450 **out = **in
2451 }
2452 if in.UseCheckpoints != nil {
2453 in, out := &in.UseCheckpoints, &out.UseCheckpoints
2454 *out = new(bool)
2455 **out = **in
2456 }
2457 if in.UseBulkGet != nil {
2458 in, out := &in.UseBulkGet, &out.UseBulkGet
2459 *out = new(bool)
2460 **out = **in
2461 }
2462 if in.CertFile != nil {
2463 in, out := &in.CertFile, &out.CertFile
2464 *out = new(string)
2465 **out = **in
2466 }
2467 if in.Password != nil {
2468 in, out := &in.Password, &out.Password
2469 *out = new(string)
2470 **out = **in
2471 }
2472 if in.TrustedCertFile != nil {
2473 in, out := &in.TrustedCertFile, &out.TrustedCertFile
2474 *out = new(string)
2475 **out = **in
2476 }
2477 if in.CertMaxDepth != nil {
2478 in, out := &in.CertMaxDepth, &out.CertMaxDepth
2479 *out = new(int)
2480 **out = **in
2481 }
2482 if in.AuthPlugins != nil {
2483 in, out := &in.AuthPlugins, &out.AuthPlugins
2484 *out = new(string)
2485 **out = **in
2486 }
2487 if in.UsageCoeff != nil {
2488 in, out := &in.UsageCoeff, &out.UsageCoeff
2489 *out = new(float32)
2490 **out = **in
2491 }
2492 if in.PriorityCoeff != nil {
2493 in, out := &in.PriorityCoeff, &out.PriorityCoeff
2494 *out = new(float32)
2495 **out = **in
2496 }
2497 if in.Shares != nil {
2498 in, out := &in.Shares, &out.Shares
2499 *out = make(map[string]int, len(*in))
2500 for key, val := range *in {
2501 (*out)[key] = val
2502 }
2503 }
2504 }
2505
2506
2507 func (in *ReplicatorConfig) DeepCopy() *ReplicatorConfig {
2508 if in == nil {
2509 return nil
2510 }
2511 out := new(ReplicatorConfig)
2512 in.DeepCopyInto(out)
2513 return out
2514 }
2515
2516
2517 func (in *SSLConfig) DeepCopyInto(out *SSLConfig) {
2518 *out = *in
2519 if in.Enable != nil {
2520 in, out := &in.Enable, &out.Enable
2521 *out = new(bool)
2522 **out = **in
2523 }
2524 if in.CacertFile != nil {
2525 in, out := &in.CacertFile, &out.CacertFile
2526 *out = new(string)
2527 **out = **in
2528 }
2529 if in.CertFile != nil {
2530 in, out := &in.CertFile, &out.CertFile
2531 *out = new(string)
2532 **out = **in
2533 }
2534 if in.KeyFile != nil {
2535 in, out := &in.KeyFile, &out.KeyFile
2536 *out = new(string)
2537 **out = **in
2538 }
2539 if in.Password != nil {
2540 in, out := &in.Password, &out.Password
2541 *out = new(string)
2542 **out = **in
2543 }
2544 if in.CertMaxDepth != nil {
2545 in, out := &in.CertMaxDepth, &out.CertMaxDepth
2546 *out = new(int)
2547 **out = **in
2548 }
2549 if in.VerifyFun != nil {
2550 in, out := &in.VerifyFun, &out.VerifyFun
2551 *out = new(string)
2552 **out = **in
2553 }
2554 if in.VerifyCertificates != nil {
2555 in, out := &in.VerifyCertificates, &out.VerifyCertificates
2556 *out = new(string)
2557 **out = **in
2558 }
2559 if in.FailIfNoPeerCert != nil {
2560 in, out := &in.FailIfNoPeerCert, &out.FailIfNoPeerCert
2561 *out = new(bool)
2562 **out = **in
2563 }
2564 if in.SecureRenegotiate != nil {
2565 in, out := &in.SecureRenegotiate, &out.SecureRenegotiate
2566 *out = new(bool)
2567 **out = **in
2568 }
2569 if in.Ciphers != nil {
2570 in, out := &in.Ciphers, &out.Ciphers
2571 *out = new(string)
2572 **out = **in
2573 }
2574 if in.TLSVersions != nil {
2575 in, out := &in.TLSVersions, &out.TLSVersions
2576 *out = new(string)
2577 **out = **in
2578 }
2579 }
2580
2581
2582 func (in *SSLConfig) DeepCopy() *SSLConfig {
2583 if in == nil {
2584 return nil
2585 }
2586 out := new(SSLConfig)
2587 in.DeepCopyInto(out)
2588 return out
2589 }
2590
2591
2592 func (in *SearchConfig) DeepCopyInto(out *SearchConfig) {
2593 *out = *in
2594 if in.Name != nil {
2595 in, out := &in.Name, &out.Name
2596 *out = new(string)
2597 **out = **in
2598 }
2599 if in.RetryLimit != nil {
2600 in, out := &in.RetryLimit, &out.RetryLimit
2601 *out = new(int)
2602 **out = **in
2603 }
2604 if in.Limit != nil {
2605 in, out := &in.Limit, &out.Limit
2606 *out = new(int)
2607 **out = **in
2608 }
2609 if in.LimitPartitions != nil {
2610 in, out := &in.LimitPartitions, &out.LimitPartitions
2611 *out = new(int)
2612 **out = **in
2613 }
2614 if in.MaxLimit != nil {
2615 in, out := &in.MaxLimit, &out.MaxLimit
2616 *out = new(int)
2617 **out = **in
2618 }
2619 if in.MaxLimitParts != nil {
2620 in, out := &in.MaxLimitParts, &out.MaxLimitParts
2621 *out = new(int)
2622 **out = **in
2623 }
2624 }
2625
2626
2627 func (in *SearchConfig) DeepCopy() *SearchConfig {
2628 if in == nil {
2629 return nil
2630 }
2631 out := new(SearchConfig)
2632 in.DeepCopyInto(out)
2633 return out
2634 }
2635
2636
2637 func (in *Security) DeepCopyInto(out *Security) {
2638 *out = *in
2639 in.Admins.DeepCopyInto(&out.Admins)
2640 in.Members.DeepCopyInto(&out.Members)
2641 }
2642
2643
2644 func (in *Security) DeepCopy() *Security {
2645 if in == nil {
2646 return nil
2647 }
2648 out := new(Security)
2649 in.DeepCopyInto(out)
2650 return out
2651 }
2652
2653
2654 func (in *ServerConfig) DeepCopyInto(out *ServerConfig) {
2655 *out = *in
2656 if in.HTTP != nil {
2657 in, out := &in.HTTP, &out.HTTP
2658 *out = new(HTTPConfig)
2659 (*in).DeepCopyInto(*out)
2660 }
2661 if in.HTTPD != nil {
2662 in, out := &in.HTTPD, &out.HTTPD
2663 *out = new(HTTPDConfig)
2664 (*in).DeepCopyInto(*out)
2665 }
2666 if in.Auth != nil {
2667 in, out := &in.Auth, &out.Auth
2668 *out = new(AuthConfig)
2669 (*in).DeepCopyInto(*out)
2670 }
2671 if in.SSL != nil {
2672 in, out := &in.SSL, &out.SSL
2673 *out = new(SSLConfig)
2674 (*in).DeepCopyInto(*out)
2675 }
2676 if in.Cors != nil {
2677 in, out := &in.Cors, &out.Cors
2678 *out = new(CorsConfig)
2679 (*in).DeepCopyInto(*out)
2680 }
2681 }
2682
2683
2684 func (in *ServerConfig) DeepCopy() *ServerConfig {
2685 if in == nil {
2686 return nil
2687 }
2688 out := new(ServerConfig)
2689 in.DeepCopyInto(out)
2690 return out
2691 }
2692
2693
2694 func (in *ServerReference) DeepCopyInto(out *ServerReference) {
2695 *out = *in
2696 }
2697
2698
2699 func (in *ServerReference) DeepCopy() *ServerReference {
2700 if in == nil {
2701 return nil
2702 }
2703 out := new(ServerReference)
2704 in.DeepCopyInto(out)
2705 return out
2706 }
2707
2708
2709 func (in *SmooshChannelConfig) DeepCopyInto(out *SmooshChannelConfig) {
2710 *out = *in
2711 if in.Capacity != nil {
2712 in, out := &in.Capacity, &out.Capacity
2713 *out = new(int)
2714 **out = **in
2715 }
2716 if in.Concurrency != nil {
2717 in, out := &in.Concurrency, &out.Concurrency
2718 *out = new(int)
2719 **out = **in
2720 }
2721 if in.From != nil {
2722 in, out := &in.From, &out.From
2723 *out = new(string)
2724 **out = **in
2725 }
2726 if in.To != nil {
2727 in, out := &in.To, &out.To
2728 *out = new(string)
2729 **out = **in
2730 }
2731 if in.StrictWindow != nil {
2732 in, out := &in.StrictWindow, &out.StrictWindow
2733 *out = new(bool)
2734 **out = **in
2735 }
2736 if in.MaxPriority != nil {
2737 in, out := &in.MaxPriority, &out.MaxPriority
2738 *out = new(float64)
2739 **out = **in
2740 }
2741 if in.MaxSize != nil {
2742 in, out := &in.MaxSize, &out.MaxSize
2743 *out = new(float64)
2744 **out = **in
2745 }
2746 if in.MinPriority != nil {
2747 in, out := &in.MinPriority, &out.MinPriority
2748 *out = new(float64)
2749 **out = **in
2750 }
2751 if in.MinChanges != nil {
2752 in, out := &in.MinChanges, &out.MinChanges
2753 *out = new(float64)
2754 **out = **in
2755 }
2756 if in.MinSize != nil {
2757 in, out := &in.MinSize, &out.MinSize
2758 *out = new(float64)
2759 **out = **in
2760 }
2761 if in.Priority != nil {
2762 in, out := &in.Priority, &out.Priority
2763 *out = new(string)
2764 **out = **in
2765 }
2766 }
2767
2768
2769 func (in *SmooshChannelConfig) DeepCopy() *SmooshChannelConfig {
2770 if in == nil {
2771 return nil
2772 }
2773 out := new(SmooshChannelConfig)
2774 in.DeepCopyInto(out)
2775 return out
2776 }
2777
2778
2779 func (in *SmooshConfig) DeepCopyInto(out *SmooshConfig) {
2780 *out = *in
2781 if in.DBChannels != nil {
2782 in, out := &in.DBChannels, &out.DBChannels
2783 *out = make([]string, len(*in))
2784 copy(*out, *in)
2785 }
2786 if in.ViewChannels != nil {
2787 in, out := &in.ViewChannels, &out.ViewChannels
2788 *out = make([]string, len(*in))
2789 copy(*out, *in)
2790 }
2791 if in.CleanupChannels != nil {
2792 in, out := &in.CleanupChannels, &out.CleanupChannels
2793 *out = make([]string, len(*in))
2794 copy(*out, *in)
2795 }
2796 if in.CompactionLogLevel != nil {
2797 in, out := &in.CompactionLogLevel, &out.CompactionLogLevel
2798 *out = new(LogLevel)
2799 **out = **in
2800 }
2801 if in.Persist != nil {
2802 in, out := &in.Persist, &out.Persist
2803 *out = new(bool)
2804 **out = **in
2805 }
2806 if in.Staleness != nil {
2807 in, out := &in.Staleness, &out.Staleness
2808 *out = new(int)
2809 **out = **in
2810 }
2811 if in.CleanupIndexFiles != nil {
2812 in, out := &in.CleanupIndexFiles, &out.CleanupIndexFiles
2813 *out = new(bool)
2814 **out = **in
2815 }
2816 if in.Channels != nil {
2817 in, out := &in.Channels, &out.Channels
2818 *out = make(map[string]*SmooshChannelConfig, len(*in))
2819 for key, val := range *in {
2820 var outVal *SmooshChannelConfig
2821 if val == nil {
2822 (*out)[key] = nil
2823 } else {
2824 inVal := (*in)[key]
2825 in, out := &inVal, &outVal
2826 *out = new(SmooshChannelConfig)
2827 (*in).DeepCopyInto(*out)
2828 }
2829 (*out)[key] = outVal
2830 }
2831 }
2832 }
2833
2834
2835 func (in *SmooshConfig) DeepCopy() *SmooshConfig {
2836 if in == nil {
2837 return nil
2838 }
2839 out := new(SmooshConfig)
2840 in.DeepCopyInto(out)
2841 return out
2842 }
2843
2844
2845 func (in *StatisticsConfig) DeepCopyInto(out *StatisticsConfig) {
2846 *out = *in
2847 if in.Interval != nil {
2848 in, out := &in.Interval, &out.Interval
2849 *out = new(int)
2850 **out = **in
2851 }
2852 }
2853
2854
2855 func (in *StatisticsConfig) DeepCopy() *StatisticsConfig {
2856 if in == nil {
2857 return nil
2858 }
2859 out := new(StatisticsConfig)
2860 in.DeepCopyInto(out)
2861 return out
2862 }
2863
2864
2865 func (in *UUIDConfig) DeepCopyInto(out *UUIDConfig) {
2866 *out = *in
2867 if in.Algorithm != nil {
2868 in, out := &in.Algorithm, &out.Algorithm
2869 *out = new(Algorithm)
2870 **out = **in
2871 }
2872 if in.UTCIDSuffix != nil {
2873 in, out := &in.UTCIDSuffix, &out.UTCIDSuffix
2874 *out = new(string)
2875 **out = **in
2876 }
2877 if in.MaxCount != nil {
2878 in, out := &in.MaxCount, &out.MaxCount
2879 *out = new(int)
2880 **out = **in
2881 }
2882 }
2883
2884
2885 func (in *UUIDConfig) DeepCopy() *UUIDConfig {
2886 if in == nil {
2887 return nil
2888 }
2889 out := new(UUIDConfig)
2890 in.DeepCopyInto(out)
2891 return out
2892 }
2893
2894
2895 func (in *User) DeepCopyInto(out *User) {
2896 *out = *in
2897 out.Secret = in.Secret
2898 if in.Roles != nil {
2899 in, out := &in.Roles, &out.Roles
2900 *out = make([]string, len(*in))
2901 copy(*out, *in)
2902 }
2903 }
2904
2905
2906 func (in *User) DeepCopy() *User {
2907 if in == nil {
2908 return nil
2909 }
2910 out := new(User)
2911 in.DeepCopyInto(out)
2912 return out
2913 }
2914
2915
2916 func (in *UserDBConfig) DeepCopyInto(out *UserDBConfig) {
2917 *out = *in
2918 if in.Enable != nil {
2919 in, out := &in.Enable, &out.Enable
2920 *out = new(bool)
2921 **out = **in
2922 }
2923 if in.DeleteDBs != nil {
2924 in, out := &in.DeleteDBs, &out.DeleteDBs
2925 *out = new(bool)
2926 **out = **in
2927 }
2928 if in.Shards != nil {
2929 in, out := &in.Shards, &out.Shards
2930 *out = new(int)
2931 **out = **in
2932 }
2933 }
2934
2935
2936 func (in *UserDBConfig) DeepCopy() *UserDBConfig {
2937 if in == nil {
2938 return nil
2939 }
2940 out := new(UserDBConfig)
2941 in.DeepCopyInto(out)
2942 return out
2943 }
2944
2945
2946 func (in *VendorConfig) DeepCopyInto(out *VendorConfig) {
2947 *out = *in
2948 if in.Name != nil {
2949 in, out := &in.Name, &out.Name
2950 *out = new(string)
2951 **out = **in
2952 }
2953 if in.Version != nil {
2954 in, out := &in.Version, &out.Version
2955 *out = new(string)
2956 **out = **in
2957 }
2958 }
2959
2960
2961 func (in *VendorConfig) DeepCopy() *VendorConfig {
2962 if in == nil {
2963 return nil
2964 }
2965 out := new(VendorConfig)
2966 in.DeepCopyInto(out)
2967 return out
2968 }
2969
2970
2971 func (in *ViewCompactionConfig) DeepCopyInto(out *ViewCompactionConfig) {
2972 *out = *in
2973 if in.KeyValueBufferSize != nil {
2974 in, out := &in.KeyValueBufferSize, &out.KeyValueBufferSize
2975 *out = new(int)
2976 **out = **in
2977 }
2978 }
2979
2980
2981 func (in *ViewCompactionConfig) DeepCopy() *ViewCompactionConfig {
2982 if in == nil {
2983 return nil
2984 }
2985 out := new(ViewCompactionConfig)
2986 in.DeepCopyInto(out)
2987 return out
2988 }
2989
View as plain text