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