1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25 runtime "k8s.io/apimachinery/pkg/runtime"
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) {
32 out.Resource = in.Resource
33 in.UserInfo.DeepCopyInto(&out.UserInfo)
34 in.Object.DeepCopyInto(&out.Object)
35 in.OldObject.DeepCopyInto(&out.OldObject)
37 in, out := &in.DryRun, &out.DryRun
44 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionRequest.
45 func (in *AdmissionRequest) DeepCopy() *AdmissionRequest {
49 out := new(AdmissionRequest)
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) {
58 in, out := &in.Result, &out.Result
60 (*in).DeepCopyInto(*out)
63 in, out := &in.Patch, &out.Patch
64 *out = make([]byte, len(*in))
67 if in.PatchType != nil {
68 in, out := &in.PatchType, &out.PatchType
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 {
82 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionResponse.
83 func (in *AdmissionResponse) DeepCopy() *AdmissionResponse {
87 out := new(AdmissionResponse)
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) {
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)
101 if in.Response != nil {
102 in, out := &in.Response, &out.Response
103 *out = new(AdmissionResponse)
104 (*in).DeepCopyInto(*out)
109 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview.
110 func (in *AdmissionReview) DeepCopy() *AdmissionReview {
114 out := new(AdmissionReview)
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 {