Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame] | 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 | return |
| 37 | } |
| 38 | |
| 39 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionRequest. |
| 40 | func (in *AdmissionRequest) DeepCopy() *AdmissionRequest { |
| 41 | if in == nil { |
| 42 | return nil |
| 43 | } |
| 44 | out := new(AdmissionRequest) |
| 45 | in.DeepCopyInto(out) |
| 46 | return out |
| 47 | } |
| 48 | |
| 49 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 50 | func (in *AdmissionResponse) DeepCopyInto(out *AdmissionResponse) { |
| 51 | *out = *in |
| 52 | if in.Result != nil { |
| 53 | in, out := &in.Result, &out.Result |
| 54 | if *in == nil { |
| 55 | *out = nil |
| 56 | } else { |
| 57 | *out = new(v1.Status) |
| 58 | (*in).DeepCopyInto(*out) |
| 59 | } |
| 60 | } |
| 61 | if in.Patch != nil { |
| 62 | in, out := &in.Patch, &out.Patch |
| 63 | *out = make([]byte, len(*in)) |
| 64 | copy(*out, *in) |
| 65 | } |
| 66 | if in.PatchType != nil { |
| 67 | in, out := &in.PatchType, &out.PatchType |
| 68 | if *in == nil { |
| 69 | *out = nil |
| 70 | } else { |
| 71 | *out = new(PatchType) |
| 72 | **out = **in |
| 73 | } |
| 74 | } |
| 75 | return |
| 76 | } |
| 77 | |
| 78 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionResponse. |
| 79 | func (in *AdmissionResponse) DeepCopy() *AdmissionResponse { |
| 80 | if in == nil { |
| 81 | return nil |
| 82 | } |
| 83 | out := new(AdmissionResponse) |
| 84 | in.DeepCopyInto(out) |
| 85 | return out |
| 86 | } |
| 87 | |
| 88 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 89 | func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) { |
| 90 | *out = *in |
| 91 | out.TypeMeta = in.TypeMeta |
| 92 | if in.Request != nil { |
| 93 | in, out := &in.Request, &out.Request |
| 94 | if *in == nil { |
| 95 | *out = nil |
| 96 | } else { |
| 97 | *out = new(AdmissionRequest) |
| 98 | (*in).DeepCopyInto(*out) |
| 99 | } |
| 100 | } |
| 101 | if in.Response != nil { |
| 102 | in, out := &in.Response, &out.Response |
| 103 | if *in == nil { |
| 104 | *out = nil |
| 105 | } else { |
| 106 | *out = new(AdmissionResponse) |
| 107 | (*in).DeepCopyInto(*out) |
| 108 | } |
| 109 | } |
| 110 | return |
| 111 | } |
| 112 | |
| 113 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. |
| 114 | func (in *AdmissionReview) DeepCopy() *AdmissionReview { |
| 115 | if in == nil { |
| 116 | return nil |
| 117 | } |
| 118 | out := new(AdmissionReview) |
| 119 | in.DeepCopyInto(out) |
| 120 | return out |
| 121 | } |
| 122 | |
| 123 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 124 | func (in *AdmissionReview) DeepCopyObject() runtime.Object { |
| 125 | if c := in.DeepCopy(); c != nil { |
| 126 | return c |
| 127 | } |
| 128 | return nil |
| 129 | } |