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 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 *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.Usages != nil {
  99. in, out := &in.Usages, &out.Usages
  100. *out = make([]KeyUsage, len(*in))
  101. copy(*out, *in)
  102. }
  103. if in.Groups != nil {
  104. in, out := &in.Groups, &out.Groups
  105. *out = make([]string, len(*in))
  106. copy(*out, *in)
  107. }
  108. if in.Extra != nil {
  109. in, out := &in.Extra, &out.Extra
  110. *out = make(map[string]ExtraValue, len(*in))
  111. for key, val := range *in {
  112. var outVal []string
  113. if val == nil {
  114. (*out)[key] = nil
  115. } else {
  116. in, out := &val, &outVal
  117. *out = make(ExtraValue, len(*in))
  118. copy(*out, *in)
  119. }
  120. (*out)[key] = outVal
  121. }
  122. }
  123. return
  124. }
  125. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
  126. func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
  127. if in == nil {
  128. return nil
  129. }
  130. out := new(CertificateSigningRequestSpec)
  131. in.DeepCopyInto(out)
  132. return out
  133. }
  134. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  135. func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) {
  136. *out = *in
  137. if in.Conditions != nil {
  138. in, out := &in.Conditions, &out.Conditions
  139. *out = make([]CertificateSigningRequestCondition, len(*in))
  140. for i := range *in {
  141. (*in)[i].DeepCopyInto(&(*out)[i])
  142. }
  143. }
  144. if in.Certificate != nil {
  145. in, out := &in.Certificate, &out.Certificate
  146. *out = make([]byte, len(*in))
  147. copy(*out, *in)
  148. }
  149. return
  150. }
  151. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
  152. func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
  153. if in == nil {
  154. return nil
  155. }
  156. out := new(CertificateSigningRequestStatus)
  157. in.DeepCopyInto(out)
  158. return out
  159. }
  160. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  161. func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
  162. {
  163. in := &in
  164. *out = make(ExtraValue, len(*in))
  165. copy(*out, *in)
  166. return
  167. }
  168. }
  169. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
  170. func (in ExtraValue) DeepCopy() ExtraValue {
  171. if in == nil {
  172. return nil
  173. }
  174. out := new(ExtraValue)
  175. in.DeepCopyInto(out)
  176. return *out
  177. }