zz_generated.deepcopy.go 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  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 deepcopy-gen. DO NOT EDIT.
  15. package v1beta1
  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 *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest) {
  21. *out = *in
  22. out.TypeMeta = in.TypeMeta
  23. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  24. in.Spec.DeepCopyInto(&out.Spec)
  25. in.Status.DeepCopyInto(&out.Status)
  26. return
  27. }
  28. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest.
  29. func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest {
  30. if in == nil {
  31. return nil
  32. }
  33. out := new(CertificateSigningRequest)
  34. in.DeepCopyInto(out)
  35. return out
  36. }
  37. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  38. func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object {
  39. if c := in.DeepCopy(); c != nil {
  40. return c
  41. }
  42. return nil
  43. }
  44. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  45. func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigningRequestCondition) {
  46. *out = *in
  47. in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
  48. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  49. return
  50. }
  51. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
  52. func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
  53. if in == nil {
  54. return nil
  55. }
  56. out := new(CertificateSigningRequestCondition)
  57. in.DeepCopyInto(out)
  58. return out
  59. }
  60. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  61. func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningRequestList) {
  62. *out = *in
  63. out.TypeMeta = in.TypeMeta
  64. in.ListMeta.DeepCopyInto(&out.ListMeta)
  65. if in.Items != nil {
  66. in, out := &in.Items, &out.Items
  67. *out = make([]CertificateSigningRequest, len(*in))
  68. for i := range *in {
  69. (*in)[i].DeepCopyInto(&(*out)[i])
  70. }
  71. }
  72. return
  73. }
  74. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
  75. func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
  76. if in == nil {
  77. return nil
  78. }
  79. out := new(CertificateSigningRequestList)
  80. in.DeepCopyInto(out)
  81. return out
  82. }
  83. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  84. func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
  85. if c := in.DeepCopy(); c != nil {
  86. return c
  87. }
  88. return nil
  89. }
  90. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  91. func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningRequestSpec) {
  92. *out = *in
  93. if in.Request != nil {
  94. in, out := &in.Request, &out.Request
  95. *out = make([]byte, len(*in))
  96. copy(*out, *in)
  97. }
  98. if in.SignerName != nil {
  99. in, out := &in.SignerName, &out.SignerName
  100. *out = new(string)
  101. **out = **in
  102. }
  103. if in.Usages != nil {
  104. in, out := &in.Usages, &out.Usages
  105. *out = make([]KeyUsage, len(*in))
  106. copy(*out, *in)
  107. }
  108. if in.Groups != nil {
  109. in, out := &in.Groups, &out.Groups
  110. *out = make([]string, len(*in))
  111. copy(*out, *in)
  112. }
  113. if in.Extra != nil {
  114. in, out := &in.Extra, &out.Extra
  115. *out = make(map[string]ExtraValue, len(*in))
  116. for key, val := range *in {
  117. var outVal []string
  118. if val == nil {
  119. (*out)[key] = nil
  120. } else {
  121. in, out := &val, &outVal
  122. *out = make(ExtraValue, len(*in))
  123. copy(*out, *in)
  124. }
  125. (*out)[key] = outVal
  126. }
  127. }
  128. return
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
  131. func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(CertificateSigningRequestSpec)
  136. in.DeepCopyInto(out)
  137. return out
  138. }
  139. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  140. func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) {
  141. *out = *in
  142. if in.Conditions != nil {
  143. in, out := &in.Conditions, &out.Conditions
  144. *out = make([]CertificateSigningRequestCondition, len(*in))
  145. for i := range *in {
  146. (*in)[i].DeepCopyInto(&(*out)[i])
  147. }
  148. }
  149. if in.Certificate != nil {
  150. in, out := &in.Certificate, &out.Certificate
  151. *out = make([]byte, len(*in))
  152. copy(*out, *in)
  153. }
  154. return
  155. }
  156. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
  157. func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
  158. if in == nil {
  159. return nil
  160. }
  161. out := new(CertificateSigningRequestStatus)
  162. in.DeepCopyInto(out)
  163. return out
  164. }
  165. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  166. func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
  167. {
  168. in := &in
  169. *out = make(ExtraValue, len(*in))
  170. copy(*out, *in)
  171. return
  172. }
  173. }
  174. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
  175. func (in ExtraValue) DeepCopy() ExtraValue {
  176. if in == nil {
  177. return nil
  178. }
  179. out := new(ExtraValue)
  180. in.DeepCopyInto(out)
  181. return *out
  182. }