zz_generated.deepcopy.go 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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 certificates
  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. return
  49. }
  50. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
  51. func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
  52. if in == nil {
  53. return nil
  54. }
  55. out := new(CertificateSigningRequestCondition)
  56. in.DeepCopyInto(out)
  57. return out
  58. }
  59. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  60. func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningRequestList) {
  61. *out = *in
  62. out.TypeMeta = in.TypeMeta
  63. in.ListMeta.DeepCopyInto(&out.ListMeta)
  64. if in.Items != nil {
  65. in, out := &in.Items, &out.Items
  66. *out = make([]CertificateSigningRequest, len(*in))
  67. for i := range *in {
  68. (*in)[i].DeepCopyInto(&(*out)[i])
  69. }
  70. }
  71. return
  72. }
  73. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
  74. func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
  75. if in == nil {
  76. return nil
  77. }
  78. out := new(CertificateSigningRequestList)
  79. in.DeepCopyInto(out)
  80. return out
  81. }
  82. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  83. func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
  84. if c := in.DeepCopy(); c != nil {
  85. return c
  86. }
  87. return nil
  88. }
  89. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  90. func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningRequestSpec) {
  91. *out = *in
  92. if in.Request != nil {
  93. in, out := &in.Request, &out.Request
  94. *out = make([]byte, len(*in))
  95. copy(*out, *in)
  96. }
  97. if in.Usages != nil {
  98. in, out := &in.Usages, &out.Usages
  99. *out = make([]KeyUsage, len(*in))
  100. copy(*out, *in)
  101. }
  102. if in.Groups != nil {
  103. in, out := &in.Groups, &out.Groups
  104. *out = make([]string, len(*in))
  105. copy(*out, *in)
  106. }
  107. if in.Extra != nil {
  108. in, out := &in.Extra, &out.Extra
  109. *out = make(map[string]ExtraValue, len(*in))
  110. for key, val := range *in {
  111. var outVal []string
  112. if val == nil {
  113. (*out)[key] = nil
  114. } else {
  115. in, out := &val, &outVal
  116. *out = make(ExtraValue, len(*in))
  117. copy(*out, *in)
  118. }
  119. (*out)[key] = outVal
  120. }
  121. }
  122. return
  123. }
  124. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
  125. func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
  126. if in == nil {
  127. return nil
  128. }
  129. out := new(CertificateSigningRequestSpec)
  130. in.DeepCopyInto(out)
  131. return out
  132. }
  133. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  134. func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) {
  135. *out = *in
  136. if in.Conditions != nil {
  137. in, out := &in.Conditions, &out.Conditions
  138. *out = make([]CertificateSigningRequestCondition, len(*in))
  139. for i := range *in {
  140. (*in)[i].DeepCopyInto(&(*out)[i])
  141. }
  142. }
  143. if in.Certificate != nil {
  144. in, out := &in.Certificate, &out.Certificate
  145. *out = make([]byte, len(*in))
  146. copy(*out, *in)
  147. }
  148. return
  149. }
  150. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
  151. func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
  152. if in == nil {
  153. return nil
  154. }
  155. out := new(CertificateSigningRequestStatus)
  156. in.DeepCopyInto(out)
  157. return out
  158. }
  159. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  160. func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
  161. {
  162. in := &in
  163. *out = make(ExtraValue, len(*in))
  164. copy(*out, *in)
  165. return
  166. }
  167. }
  168. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
  169. func (in ExtraValue) DeepCopy() ExtraValue {
  170. if in == nil {
  171. return nil
  172. }
  173. out := new(ExtraValue)
  174. in.DeepCopyInto(out)
  175. return *out
  176. }