k8s.io/kubernetes@v1.29.3/pkg/apis/imagepolicy/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package imagepolicy 23 24 import ( 25 runtime "k8s.io/apimachinery/pkg/runtime" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *ImageReview) DeepCopyInto(out *ImageReview) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 in.Spec.DeepCopyInto(&out.Spec) 34 in.Status.DeepCopyInto(&out.Status) 35 return 36 } 37 38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. 39 func (in *ImageReview) DeepCopy() *ImageReview { 40 if in == nil { 41 return nil 42 } 43 out := new(ImageReview) 44 in.DeepCopyInto(out) 45 return out 46 } 47 48 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 49 func (in *ImageReview) DeepCopyObject() runtime.Object { 50 if c := in.DeepCopy(); c != nil { 51 return c 52 } 53 return nil 54 } 55 56 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 57 func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec) { 58 *out = *in 59 return 60 } 61 62 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. 63 func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { 64 if in == nil { 65 return nil 66 } 67 out := new(ImageReviewContainerSpec) 68 in.DeepCopyInto(out) 69 return out 70 } 71 72 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 73 func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) { 74 *out = *in 75 if in.Containers != nil { 76 in, out := &in.Containers, &out.Containers 77 *out = make([]ImageReviewContainerSpec, len(*in)) 78 copy(*out, *in) 79 } 80 if in.Annotations != nil { 81 in, out := &in.Annotations, &out.Annotations 82 *out = make(map[string]string, len(*in)) 83 for key, val := range *in { 84 (*out)[key] = val 85 } 86 } 87 return 88 } 89 90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. 91 func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec { 92 if in == nil { 93 return nil 94 } 95 out := new(ImageReviewSpec) 96 in.DeepCopyInto(out) 97 return out 98 } 99 100 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 101 func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) { 102 *out = *in 103 if in.AuditAnnotations != nil { 104 in, out := &in.AuditAnnotations, &out.AuditAnnotations 105 *out = make(map[string]string, len(*in)) 106 for key, val := range *in { 107 (*out)[key] = val 108 } 109 } 110 return 111 } 112 113 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. 114 func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus { 115 if in == nil { 116 return nil 117 } 118 out := new(ImageReviewStatus) 119 in.DeepCopyInto(out) 120 return out 121 }