zz_generated.deepcopy.go 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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 auditregistration
  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 *AuditSink) DeepCopyInto(out *AuditSink) {
  21. *out = *in
  22. out.TypeMeta = in.TypeMeta
  23. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  24. in.Spec.DeepCopyInto(&out.Spec)
  25. return
  26. }
  27. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSink.
  28. func (in *AuditSink) DeepCopy() *AuditSink {
  29. if in == nil {
  30. return nil
  31. }
  32. out := new(AuditSink)
  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 *AuditSink) 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 *AuditSinkList) DeepCopyInto(out *AuditSinkList) {
  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([]AuditSink, len(*in))
  51. for i := range *in {
  52. (*in)[i].DeepCopyInto(&(*out)[i])
  53. }
  54. }
  55. return
  56. }
  57. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkList.
  58. func (in *AuditSinkList) DeepCopy() *AuditSinkList {
  59. if in == nil {
  60. return nil
  61. }
  62. out := new(AuditSinkList)
  63. in.DeepCopyInto(out)
  64. return out
  65. }
  66. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  67. func (in *AuditSinkList) DeepCopyObject() runtime.Object {
  68. if c := in.DeepCopy(); c != nil {
  69. return c
  70. }
  71. return nil
  72. }
  73. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  74. func (in *AuditSinkSpec) DeepCopyInto(out *AuditSinkSpec) {
  75. *out = *in
  76. in.Policy.DeepCopyInto(&out.Policy)
  77. in.Webhook.DeepCopyInto(&out.Webhook)
  78. return
  79. }
  80. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkSpec.
  81. func (in *AuditSinkSpec) DeepCopy() *AuditSinkSpec {
  82. if in == nil {
  83. return nil
  84. }
  85. out := new(AuditSinkSpec)
  86. in.DeepCopyInto(out)
  87. return out
  88. }
  89. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  90. func (in *Policy) DeepCopyInto(out *Policy) {
  91. *out = *in
  92. if in.Stages != nil {
  93. in, out := &in.Stages, &out.Stages
  94. *out = make([]Stage, len(*in))
  95. copy(*out, *in)
  96. }
  97. return
  98. }
  99. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
  100. func (in *Policy) DeepCopy() *Policy {
  101. if in == nil {
  102. return nil
  103. }
  104. out := new(Policy)
  105. in.DeepCopyInto(out)
  106. return out
  107. }
  108. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  109. func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
  110. *out = *in
  111. if in.Path != nil {
  112. in, out := &in.Path, &out.Path
  113. *out = new(string)
  114. **out = **in
  115. }
  116. return
  117. }
  118. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
  119. func (in *ServiceReference) DeepCopy() *ServiceReference {
  120. if in == nil {
  121. return nil
  122. }
  123. out := new(ServiceReference)
  124. in.DeepCopyInto(out)
  125. return out
  126. }
  127. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  128. func (in *Webhook) DeepCopyInto(out *Webhook) {
  129. *out = *in
  130. if in.Throttle != nil {
  131. in, out := &in.Throttle, &out.Throttle
  132. *out = new(WebhookThrottleConfig)
  133. (*in).DeepCopyInto(*out)
  134. }
  135. in.ClientConfig.DeepCopyInto(&out.ClientConfig)
  136. return
  137. }
  138. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
  139. func (in *Webhook) DeepCopy() *Webhook {
  140. if in == nil {
  141. return nil
  142. }
  143. out := new(Webhook)
  144. in.DeepCopyInto(out)
  145. return out
  146. }
  147. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  148. func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
  149. *out = *in
  150. if in.URL != nil {
  151. in, out := &in.URL, &out.URL
  152. *out = new(string)
  153. **out = **in
  154. }
  155. if in.Service != nil {
  156. in, out := &in.Service, &out.Service
  157. *out = new(ServiceReference)
  158. (*in).DeepCopyInto(*out)
  159. }
  160. if in.CABundle != nil {
  161. in, out := &in.CABundle, &out.CABundle
  162. *out = make([]byte, len(*in))
  163. copy(*out, *in)
  164. }
  165. return
  166. }
  167. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
  168. func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
  169. if in == nil {
  170. return nil
  171. }
  172. out := new(WebhookClientConfig)
  173. in.DeepCopyInto(out)
  174. return out
  175. }
  176. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  177. func (in *WebhookThrottleConfig) DeepCopyInto(out *WebhookThrottleConfig) {
  178. *out = *in
  179. if in.QPS != nil {
  180. in, out := &in.QPS, &out.QPS
  181. *out = new(int64)
  182. **out = **in
  183. }
  184. if in.Burst != nil {
  185. in, out := &in.Burst, &out.Burst
  186. *out = new(int64)
  187. **out = **in
  188. }
  189. return
  190. }
  191. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookThrottleConfig.
  192. func (in *WebhookThrottleConfig) DeepCopy() *WebhookThrottleConfig {
  193. if in == nil {
  194. return nil
  195. }
  196. out := new(WebhookThrottleConfig)
  197. in.DeepCopyInto(out)
  198. return out
  199. }