zz_generated.deepcopy.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. //go:build !ignore_autogenerated
  2. /*
  3. Copyright © 2025 ESO Maintainer Team
  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. https://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 v2alpha1
  16. import (
  17. "github.com/external-secrets/external-secrets/apis/externalsecrets/v1"
  18. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  19. runtime "k8s.io/apimachinery/pkg/runtime"
  20. )
  21. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  22. func (in *SecretsManager) DeepCopyInto(out *SecretsManager) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. in.Spec.DeepCopyInto(&out.Spec)
  27. in.Status.DeepCopyInto(&out.Status)
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManager.
  30. func (in *SecretsManager) DeepCopy() *SecretsManager {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(SecretsManager)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  39. func (in *SecretsManager) DeepCopyObject() runtime.Object {
  40. if c := in.DeepCopy(); c != nil {
  41. return c
  42. }
  43. return nil
  44. }
  45. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  46. func (in *SecretsManagerList) DeepCopyInto(out *SecretsManagerList) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ListMeta.DeepCopyInto(&out.ListMeta)
  50. if in.Items != nil {
  51. in, out := &in.Items, &out.Items
  52. *out = make([]SecretsManager, len(*in))
  53. for i := range *in {
  54. (*in)[i].DeepCopyInto(&(*out)[i])
  55. }
  56. }
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerList.
  59. func (in *SecretsManagerList) DeepCopy() *SecretsManagerList {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(SecretsManagerList)
  64. in.DeepCopyInto(out)
  65. return out
  66. }
  67. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  68. func (in *SecretsManagerList) DeepCopyObject() runtime.Object {
  69. if c := in.DeepCopy(); c != nil {
  70. return c
  71. }
  72. return nil
  73. }
  74. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  75. func (in *SecretsManagerSpec) DeepCopyInto(out *SecretsManagerSpec) {
  76. *out = *in
  77. in.Auth.DeepCopyInto(&out.Auth)
  78. if in.AdditionalRoles != nil {
  79. in, out := &in.AdditionalRoles, &out.AdditionalRoles
  80. *out = make([]string, len(*in))
  81. copy(*out, *in)
  82. }
  83. if in.SessionTags != nil {
  84. in, out := &in.SessionTags, &out.SessionTags
  85. *out = make([]*v1.Tag, len(*in))
  86. for i := range *in {
  87. if (*in)[i] != nil {
  88. in, out := &(*in)[i], &(*out)[i]
  89. *out = new(v1.Tag)
  90. **out = **in
  91. }
  92. }
  93. }
  94. if in.SecretsManager != nil {
  95. in, out := &in.SecretsManager, &out.SecretsManager
  96. *out = new(v1.SecretsManager)
  97. **out = **in
  98. }
  99. if in.TransitiveTagKeys != nil {
  100. in, out := &in.TransitiveTagKeys, &out.TransitiveTagKeys
  101. *out = make([]string, len(*in))
  102. copy(*out, *in)
  103. }
  104. }
  105. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerSpec.
  106. func (in *SecretsManagerSpec) DeepCopy() *SecretsManagerSpec {
  107. if in == nil {
  108. return nil
  109. }
  110. out := new(SecretsManagerSpec)
  111. in.DeepCopyInto(out)
  112. return out
  113. }
  114. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  115. func (in *SecretsManagerStatus) DeepCopyInto(out *SecretsManagerStatus) {
  116. *out = *in
  117. if in.Conditions != nil {
  118. in, out := &in.Conditions, &out.Conditions
  119. *out = make([]metav1.Condition, len(*in))
  120. for i := range *in {
  121. (*in)[i].DeepCopyInto(&(*out)[i])
  122. }
  123. }
  124. }
  125. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerStatus.
  126. func (in *SecretsManagerStatus) DeepCopy() *SecretsManagerStatus {
  127. if in == nil {
  128. return nil
  129. }
  130. out := new(SecretsManagerStatus)
  131. in.DeepCopyInto(out)
  132. return out
  133. }