zz_generated.deepcopy.go 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. //go:build !ignore_autogenerated
  2. // +build !ignore_autogenerated
  3. /*
  4. Copyright The Kubernetes Authors.
  5. Licensed under the Apache License, Version 2.0 (the "License");
  6. you may not use this file except in compliance with the License.
  7. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. */
  15. // Code generated by deepcopy-gen. DO NOT EDIT.
  16. package v1alpha3
  17. import (
  18. v1 "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 *CELDeviceSelector) DeepCopyInto(out *CELDeviceSelector) {
  23. *out = *in
  24. return
  25. }
  26. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CELDeviceSelector.
  27. func (in *CELDeviceSelector) DeepCopy() *CELDeviceSelector {
  28. if in == nil {
  29. return nil
  30. }
  31. out := new(CELDeviceSelector)
  32. in.DeepCopyInto(out)
  33. return out
  34. }
  35. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  36. func (in *DeviceSelector) DeepCopyInto(out *DeviceSelector) {
  37. *out = *in
  38. if in.CEL != nil {
  39. in, out := &in.CEL, &out.CEL
  40. *out = new(CELDeviceSelector)
  41. **out = **in
  42. }
  43. return
  44. }
  45. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSelector.
  46. func (in *DeviceSelector) DeepCopy() *DeviceSelector {
  47. if in == nil {
  48. return nil
  49. }
  50. out := new(DeviceSelector)
  51. in.DeepCopyInto(out)
  52. return out
  53. }
  54. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  55. func (in *DeviceTaint) DeepCopyInto(out *DeviceTaint) {
  56. *out = *in
  57. if in.TimeAdded != nil {
  58. in, out := &in.TimeAdded, &out.TimeAdded
  59. *out = (*in).DeepCopy()
  60. }
  61. return
  62. }
  63. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaint.
  64. func (in *DeviceTaint) DeepCopy() *DeviceTaint {
  65. if in == nil {
  66. return nil
  67. }
  68. out := new(DeviceTaint)
  69. in.DeepCopyInto(out)
  70. return out
  71. }
  72. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  73. func (in *DeviceTaintRule) DeepCopyInto(out *DeviceTaintRule) {
  74. *out = *in
  75. out.TypeMeta = in.TypeMeta
  76. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  77. in.Spec.DeepCopyInto(&out.Spec)
  78. in.Status.DeepCopyInto(&out.Status)
  79. return
  80. }
  81. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintRule.
  82. func (in *DeviceTaintRule) DeepCopy() *DeviceTaintRule {
  83. if in == nil {
  84. return nil
  85. }
  86. out := new(DeviceTaintRule)
  87. in.DeepCopyInto(out)
  88. return out
  89. }
  90. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  91. func (in *DeviceTaintRule) DeepCopyObject() runtime.Object {
  92. if c := in.DeepCopy(); c != nil {
  93. return c
  94. }
  95. return nil
  96. }
  97. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  98. func (in *DeviceTaintRuleList) DeepCopyInto(out *DeviceTaintRuleList) {
  99. *out = *in
  100. out.TypeMeta = in.TypeMeta
  101. in.ListMeta.DeepCopyInto(&out.ListMeta)
  102. if in.Items != nil {
  103. in, out := &in.Items, &out.Items
  104. *out = make([]DeviceTaintRule, len(*in))
  105. for i := range *in {
  106. (*in)[i].DeepCopyInto(&(*out)[i])
  107. }
  108. }
  109. return
  110. }
  111. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintRuleList.
  112. func (in *DeviceTaintRuleList) DeepCopy() *DeviceTaintRuleList {
  113. if in == nil {
  114. return nil
  115. }
  116. out := new(DeviceTaintRuleList)
  117. in.DeepCopyInto(out)
  118. return out
  119. }
  120. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  121. func (in *DeviceTaintRuleList) DeepCopyObject() runtime.Object {
  122. if c := in.DeepCopy(); c != nil {
  123. return c
  124. }
  125. return nil
  126. }
  127. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  128. func (in *DeviceTaintRuleSpec) DeepCopyInto(out *DeviceTaintRuleSpec) {
  129. *out = *in
  130. if in.DeviceSelector != nil {
  131. in, out := &in.DeviceSelector, &out.DeviceSelector
  132. *out = new(DeviceTaintSelector)
  133. (*in).DeepCopyInto(*out)
  134. }
  135. in.Taint.DeepCopyInto(&out.Taint)
  136. return
  137. }
  138. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintRuleSpec.
  139. func (in *DeviceTaintRuleSpec) DeepCopy() *DeviceTaintRuleSpec {
  140. if in == nil {
  141. return nil
  142. }
  143. out := new(DeviceTaintRuleSpec)
  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 *DeviceTaintRuleStatus) DeepCopyInto(out *DeviceTaintRuleStatus) {
  149. *out = *in
  150. if in.Conditions != nil {
  151. in, out := &in.Conditions, &out.Conditions
  152. *out = make([]v1.Condition, len(*in))
  153. for i := range *in {
  154. (*in)[i].DeepCopyInto(&(*out)[i])
  155. }
  156. }
  157. return
  158. }
  159. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintRuleStatus.
  160. func (in *DeviceTaintRuleStatus) DeepCopy() *DeviceTaintRuleStatus {
  161. if in == nil {
  162. return nil
  163. }
  164. out := new(DeviceTaintRuleStatus)
  165. in.DeepCopyInto(out)
  166. return out
  167. }
  168. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  169. func (in *DeviceTaintSelector) DeepCopyInto(out *DeviceTaintSelector) {
  170. *out = *in
  171. if in.Driver != nil {
  172. in, out := &in.Driver, &out.Driver
  173. *out = new(string)
  174. **out = **in
  175. }
  176. if in.Pool != nil {
  177. in, out := &in.Pool, &out.Pool
  178. *out = new(string)
  179. **out = **in
  180. }
  181. if in.Device != nil {
  182. in, out := &in.Device, &out.Device
  183. *out = new(string)
  184. **out = **in
  185. }
  186. return
  187. }
  188. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintSelector.
  189. func (in *DeviceTaintSelector) DeepCopy() *DeviceTaintSelector {
  190. if in == nil {
  191. return nil
  192. }
  193. out := new(DeviceTaintSelector)
  194. in.DeepCopyInto(out)
  195. return out
  196. }