zz_generated.deepcopy.go 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 imagepolicy
  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 *ImageReview) DeepCopyInto(out *ImageReview) {
  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 ImageReview.
  29. func (in *ImageReview) DeepCopy() *ImageReview {
  30. if in == nil {
  31. return nil
  32. }
  33. out := new(ImageReview)
  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 *ImageReview) 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 *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec) {
  46. *out = *in
  47. return
  48. }
  49. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec.
  50. func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec {
  51. if in == nil {
  52. return nil
  53. }
  54. out := new(ImageReviewContainerSpec)
  55. in.DeepCopyInto(out)
  56. return out
  57. }
  58. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  59. func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) {
  60. *out = *in
  61. if in.Containers != nil {
  62. in, out := &in.Containers, &out.Containers
  63. *out = make([]ImageReviewContainerSpec, len(*in))
  64. copy(*out, *in)
  65. }
  66. if in.Annotations != nil {
  67. in, out := &in.Annotations, &out.Annotations
  68. *out = make(map[string]string, len(*in))
  69. for key, val := range *in {
  70. (*out)[key] = val
  71. }
  72. }
  73. return
  74. }
  75. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec.
  76. func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec {
  77. if in == nil {
  78. return nil
  79. }
  80. out := new(ImageReviewSpec)
  81. in.DeepCopyInto(out)
  82. return out
  83. }
  84. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  85. func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) {
  86. *out = *in
  87. if in.AuditAnnotations != nil {
  88. in, out := &in.AuditAnnotations, &out.AuditAnnotations
  89. *out = make(map[string]string, len(*in))
  90. for key, val := range *in {
  91. (*out)[key] = val
  92. }
  93. }
  94. return
  95. }
  96. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus.
  97. func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus {
  98. if in == nil {
  99. return nil
  100. }
  101. out := new(ImageReviewStatus)
  102. in.DeepCopyInto(out)
  103. return out
  104. }