zz_generated.deepcopy.go 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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. v1alpha1 "github.com/knative/build/pkg/apis/build/v1alpha1"
  18. corev1 "k8s.io/api/core/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 *DecorationConfig) DeepCopyInto(out *DecorationConfig) {
  23. *out = *in
  24. if in.UtilityImages != nil {
  25. in, out := &in.UtilityImages, &out.UtilityImages
  26. *out = new(UtilityImages)
  27. **out = **in
  28. }
  29. if in.GCSConfiguration != nil {
  30. in, out := &in.GCSConfiguration, &out.GCSConfiguration
  31. *out = new(GCSConfiguration)
  32. **out = **in
  33. }
  34. if in.SSHKeySecrets != nil {
  35. in, out := &in.SSHKeySecrets, &out.SSHKeySecrets
  36. *out = make([]string, len(*in))
  37. copy(*out, *in)
  38. }
  39. if in.SSHHostFingerprints != nil {
  40. in, out := &in.SSHHostFingerprints, &out.SSHHostFingerprints
  41. *out = make([]string, len(*in))
  42. copy(*out, *in)
  43. }
  44. if in.SkipCloning != nil {
  45. in, out := &in.SkipCloning, &out.SkipCloning
  46. *out = new(bool)
  47. **out = **in
  48. }
  49. return
  50. }
  51. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecorationConfig.
  52. func (in *DecorationConfig) DeepCopy() *DecorationConfig {
  53. if in == nil {
  54. return nil
  55. }
  56. out := new(DecorationConfig)
  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 *GCSConfiguration) DeepCopyInto(out *GCSConfiguration) {
  62. *out = *in
  63. return
  64. }
  65. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSConfiguration.
  66. func (in *GCSConfiguration) DeepCopy() *GCSConfiguration {
  67. if in == nil {
  68. return nil
  69. }
  70. out := new(GCSConfiguration)
  71. in.DeepCopyInto(out)
  72. return out
  73. }
  74. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  75. func (in *ProwJob) DeepCopyInto(out *ProwJob) {
  76. *out = *in
  77. out.TypeMeta = in.TypeMeta
  78. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  79. in.Spec.DeepCopyInto(&out.Spec)
  80. in.Status.DeepCopyInto(&out.Status)
  81. return
  82. }
  83. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJob.
  84. func (in *ProwJob) DeepCopy() *ProwJob {
  85. if in == nil {
  86. return nil
  87. }
  88. out := new(ProwJob)
  89. in.DeepCopyInto(out)
  90. return out
  91. }
  92. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  93. func (in *ProwJob) DeepCopyObject() runtime.Object {
  94. if c := in.DeepCopy(); c != nil {
  95. return c
  96. }
  97. return nil
  98. }
  99. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  100. func (in *ProwJobList) DeepCopyInto(out *ProwJobList) {
  101. *out = *in
  102. out.TypeMeta = in.TypeMeta
  103. out.ListMeta = in.ListMeta
  104. if in.Items != nil {
  105. in, out := &in.Items, &out.Items
  106. *out = make([]ProwJob, len(*in))
  107. for i := range *in {
  108. (*in)[i].DeepCopyInto(&(*out)[i])
  109. }
  110. }
  111. return
  112. }
  113. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobList.
  114. func (in *ProwJobList) DeepCopy() *ProwJobList {
  115. if in == nil {
  116. return nil
  117. }
  118. out := new(ProwJobList)
  119. in.DeepCopyInto(out)
  120. return out
  121. }
  122. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  123. func (in *ProwJobList) DeepCopyObject() runtime.Object {
  124. if c := in.DeepCopy(); c != nil {
  125. return c
  126. }
  127. return nil
  128. }
  129. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  130. func (in *ProwJobSpec) DeepCopyInto(out *ProwJobSpec) {
  131. *out = *in
  132. if in.Refs != nil {
  133. in, out := &in.Refs, &out.Refs
  134. *out = new(Refs)
  135. (*in).DeepCopyInto(*out)
  136. }
  137. if in.ExtraRefs != nil {
  138. in, out := &in.ExtraRefs, &out.ExtraRefs
  139. *out = make([]Refs, len(*in))
  140. for i := range *in {
  141. (*in)[i].DeepCopyInto(&(*out)[i])
  142. }
  143. }
  144. if in.PodSpec != nil {
  145. in, out := &in.PodSpec, &out.PodSpec
  146. *out = new(corev1.PodSpec)
  147. (*in).DeepCopyInto(*out)
  148. }
  149. if in.BuildSpec != nil {
  150. in, out := &in.BuildSpec, &out.BuildSpec
  151. *out = new(v1alpha1.BuildSpec)
  152. (*in).DeepCopyInto(*out)
  153. }
  154. if in.DecorationConfig != nil {
  155. in, out := &in.DecorationConfig, &out.DecorationConfig
  156. *out = new(DecorationConfig)
  157. (*in).DeepCopyInto(*out)
  158. }
  159. if in.RunAfterSuccess != nil {
  160. in, out := &in.RunAfterSuccess, &out.RunAfterSuccess
  161. *out = make([]ProwJobSpec, len(*in))
  162. for i := range *in {
  163. (*in)[i].DeepCopyInto(&(*out)[i])
  164. }
  165. }
  166. return
  167. }
  168. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobSpec.
  169. func (in *ProwJobSpec) DeepCopy() *ProwJobSpec {
  170. if in == nil {
  171. return nil
  172. }
  173. out := new(ProwJobSpec)
  174. in.DeepCopyInto(out)
  175. return out
  176. }
  177. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  178. func (in *ProwJobStatus) DeepCopyInto(out *ProwJobStatus) {
  179. *out = *in
  180. in.StartTime.DeepCopyInto(&out.StartTime)
  181. if in.CompletionTime != nil {
  182. in, out := &in.CompletionTime, &out.CompletionTime
  183. *out = (*in).DeepCopy()
  184. }
  185. if in.PrevReportStates != nil {
  186. in, out := &in.PrevReportStates, &out.PrevReportStates
  187. *out = make(map[string]ProwJobState, len(*in))
  188. for key, val := range *in {
  189. (*out)[key] = val
  190. }
  191. }
  192. return
  193. }
  194. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobStatus.
  195. func (in *ProwJobStatus) DeepCopy() *ProwJobStatus {
  196. if in == nil {
  197. return nil
  198. }
  199. out := new(ProwJobStatus)
  200. in.DeepCopyInto(out)
  201. return out
  202. }
  203. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  204. func (in *Pull) DeepCopyInto(out *Pull) {
  205. *out = *in
  206. return
  207. }
  208. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pull.
  209. func (in *Pull) DeepCopy() *Pull {
  210. if in == nil {
  211. return nil
  212. }
  213. out := new(Pull)
  214. in.DeepCopyInto(out)
  215. return out
  216. }
  217. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  218. func (in *Refs) DeepCopyInto(out *Refs) {
  219. *out = *in
  220. if in.Pulls != nil {
  221. in, out := &in.Pulls, &out.Pulls
  222. *out = make([]Pull, len(*in))
  223. copy(*out, *in)
  224. }
  225. return
  226. }
  227. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Refs.
  228. func (in *Refs) DeepCopy() *Refs {
  229. if in == nil {
  230. return nil
  231. }
  232. out := new(Refs)
  233. in.DeepCopyInto(out)
  234. return out
  235. }
  236. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  237. func (in *UtilityImages) DeepCopyInto(out *UtilityImages) {
  238. *out = *in
  239. return
  240. }
  241. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UtilityImages.
  242. func (in *UtilityImages) DeepCopy() *UtilityImages {
  243. if in == nil {
  244. return nil
  245. }
  246. out := new(UtilityImages)
  247. in.DeepCopyInto(out)
  248. return out
  249. }