zz_generated.deepcopy.go 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. //go:build !ignore_autogenerated
  2. /*
  3. Copyright 2023.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by controller-gen. DO NOT EDIT.
  15. package v1
  16. import (
  17. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *PostgreSQL) DeepCopyInto(out *PostgreSQL) {
  21. *out = *in
  22. out.TypeMeta = in.TypeMeta
  23. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  24. out.Spec = in.Spec
  25. out.Status = in.Status
  26. }
  27. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQL.
  28. func (in *PostgreSQL) DeepCopy() *PostgreSQL {
  29. if in == nil {
  30. return nil
  31. }
  32. out := new(PostgreSQL)
  33. in.DeepCopyInto(out)
  34. return out
  35. }
  36. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  37. func (in *PostgreSQL) DeepCopyObject() runtime.Object {
  38. if c := in.DeepCopy(); c != nil {
  39. return c
  40. }
  41. return nil
  42. }
  43. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  44. func (in *PostgreSQLList) DeepCopyInto(out *PostgreSQLList) {
  45. *out = *in
  46. out.TypeMeta = in.TypeMeta
  47. in.ListMeta.DeepCopyInto(&out.ListMeta)
  48. if in.Items != nil {
  49. in, out := &in.Items, &out.Items
  50. *out = make([]PostgreSQL, len(*in))
  51. for i := range *in {
  52. (*in)[i].DeepCopyInto(&(*out)[i])
  53. }
  54. }
  55. }
  56. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLList.
  57. func (in *PostgreSQLList) DeepCopy() *PostgreSQLList {
  58. if in == nil {
  59. return nil
  60. }
  61. out := new(PostgreSQLList)
  62. in.DeepCopyInto(out)
  63. return out
  64. }
  65. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  66. func (in *PostgreSQLList) DeepCopyObject() runtime.Object {
  67. if c := in.DeepCopy(); c != nil {
  68. return c
  69. }
  70. return nil
  71. }
  72. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  73. func (in *PostgreSQLSpec) DeepCopyInto(out *PostgreSQLSpec) {
  74. *out = *in
  75. }
  76. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLSpec.
  77. func (in *PostgreSQLSpec) DeepCopy() *PostgreSQLSpec {
  78. if in == nil {
  79. return nil
  80. }
  81. out := new(PostgreSQLSpec)
  82. in.DeepCopyInto(out)
  83. return out
  84. }
  85. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  86. func (in *PostgreSQLStatus) DeepCopyInto(out *PostgreSQLStatus) {
  87. *out = *in
  88. }
  89. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgreSQLStatus.
  90. func (in *PostgreSQLStatus) DeepCopy() *PostgreSQLStatus {
  91. if in == nil {
  92. return nil
  93. }
  94. out := new(PostgreSQLStatus)
  95. in.DeepCopyInto(out)
  96. return out
  97. }