k8s.io/apiserver@v0.31.1/pkg/apis/apiserver/v1/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 v1 23 24 import ( 25 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *AESConfiguration) DeepCopyInto(out *AESConfiguration) { 31 *out = *in 32 if in.Keys != nil { 33 in, out := &in.Keys, &out.Keys 34 *out = make([]Key, len(*in)) 35 copy(*out, *in) 36 } 37 return 38 } 39 40 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AESConfiguration. 41 func (in *AESConfiguration) DeepCopy() *AESConfiguration { 42 if in == nil { 43 return nil 44 } 45 out := new(AESConfiguration) 46 in.DeepCopyInto(out) 47 return out 48 } 49 50 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 51 func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) { 52 *out = *in 53 out.TypeMeta = in.TypeMeta 54 if in.Plugins != nil { 55 in, out := &in.Plugins, &out.Plugins 56 *out = make([]AdmissionPluginConfiguration, len(*in)) 57 for i := range *in { 58 (*in)[i].DeepCopyInto(&(*out)[i]) 59 } 60 } 61 return 62 } 63 64 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. 65 func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { 66 if in == nil { 67 return nil 68 } 69 out := new(AdmissionConfiguration) 70 in.DeepCopyInto(out) 71 return out 72 } 73 74 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 75 func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object { 76 if c := in.DeepCopy(); c != nil { 77 return c 78 } 79 return nil 80 } 81 82 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 83 func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfiguration) { 84 *out = *in 85 if in.Configuration != nil { 86 in, out := &in.Configuration, &out.Configuration 87 *out = new(runtime.Unknown) 88 (*in).DeepCopyInto(*out) 89 } 90 return 91 } 92 93 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. 94 func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { 95 if in == nil { 96 return nil 97 } 98 out := new(AdmissionPluginConfiguration) 99 in.DeepCopyInto(out) 100 return out 101 } 102 103 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 104 func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration) { 105 *out = *in 106 out.TypeMeta = in.TypeMeta 107 if in.Resources != nil { 108 in, out := &in.Resources, &out.Resources 109 *out = make([]ResourceConfiguration, len(*in)) 110 for i := range *in { 111 (*in)[i].DeepCopyInto(&(*out)[i]) 112 } 113 } 114 return 115 } 116 117 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfiguration. 118 func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration { 119 if in == nil { 120 return nil 121 } 122 out := new(EncryptionConfiguration) 123 in.DeepCopyInto(out) 124 return out 125 } 126 127 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 128 func (in *EncryptionConfiguration) DeepCopyObject() runtime.Object { 129 if c := in.DeepCopy(); c != nil { 130 return c 131 } 132 return nil 133 } 134 135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 136 func (in *IdentityConfiguration) DeepCopyInto(out *IdentityConfiguration) { 137 *out = *in 138 return 139 } 140 141 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityConfiguration. 142 func (in *IdentityConfiguration) DeepCopy() *IdentityConfiguration { 143 if in == nil { 144 return nil 145 } 146 out := new(IdentityConfiguration) 147 in.DeepCopyInto(out) 148 return out 149 } 150 151 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 152 func (in *KMSConfiguration) DeepCopyInto(out *KMSConfiguration) { 153 *out = *in 154 if in.CacheSize != nil { 155 in, out := &in.CacheSize, &out.CacheSize 156 *out = new(int32) 157 **out = **in 158 } 159 if in.Timeout != nil { 160 in, out := &in.Timeout, &out.Timeout 161 *out = new(metav1.Duration) 162 **out = **in 163 } 164 return 165 } 166 167 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfiguration. 168 func (in *KMSConfiguration) DeepCopy() *KMSConfiguration { 169 if in == nil { 170 return nil 171 } 172 out := new(KMSConfiguration) 173 in.DeepCopyInto(out) 174 return out 175 } 176 177 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 178 func (in *Key) DeepCopyInto(out *Key) { 179 *out = *in 180 return 181 } 182 183 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key. 184 func (in *Key) DeepCopy() *Key { 185 if in == nil { 186 return nil 187 } 188 out := new(Key) 189 in.DeepCopyInto(out) 190 return out 191 } 192 193 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 194 func (in *ProviderConfiguration) DeepCopyInto(out *ProviderConfiguration) { 195 *out = *in 196 if in.AESGCM != nil { 197 in, out := &in.AESGCM, &out.AESGCM 198 *out = new(AESConfiguration) 199 (*in).DeepCopyInto(*out) 200 } 201 if in.AESCBC != nil { 202 in, out := &in.AESCBC, &out.AESCBC 203 *out = new(AESConfiguration) 204 (*in).DeepCopyInto(*out) 205 } 206 if in.Secretbox != nil { 207 in, out := &in.Secretbox, &out.Secretbox 208 *out = new(SecretboxConfiguration) 209 (*in).DeepCopyInto(*out) 210 } 211 if in.Identity != nil { 212 in, out := &in.Identity, &out.Identity 213 *out = new(IdentityConfiguration) 214 **out = **in 215 } 216 if in.KMS != nil { 217 in, out := &in.KMS, &out.KMS 218 *out = new(KMSConfiguration) 219 (*in).DeepCopyInto(*out) 220 } 221 return 222 } 223 224 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfiguration. 225 func (in *ProviderConfiguration) DeepCopy() *ProviderConfiguration { 226 if in == nil { 227 return nil 228 } 229 out := new(ProviderConfiguration) 230 in.DeepCopyInto(out) 231 return out 232 } 233 234 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 235 func (in *ResourceConfiguration) DeepCopyInto(out *ResourceConfiguration) { 236 *out = *in 237 if in.Resources != nil { 238 in, out := &in.Resources, &out.Resources 239 *out = make([]string, len(*in)) 240 copy(*out, *in) 241 } 242 if in.Providers != nil { 243 in, out := &in.Providers, &out.Providers 244 *out = make([]ProviderConfiguration, len(*in)) 245 for i := range *in { 246 (*in)[i].DeepCopyInto(&(*out)[i]) 247 } 248 } 249 return 250 } 251 252 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConfiguration. 253 func (in *ResourceConfiguration) DeepCopy() *ResourceConfiguration { 254 if in == nil { 255 return nil 256 } 257 out := new(ResourceConfiguration) 258 in.DeepCopyInto(out) 259 return out 260 } 261 262 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 263 func (in *SecretboxConfiguration) DeepCopyInto(out *SecretboxConfiguration) { 264 *out = *in 265 if in.Keys != nil { 266 in, out := &in.Keys, &out.Keys 267 *out = make([]Key, len(*in)) 268 copy(*out, *in) 269 } 270 return 271 } 272 273 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretboxConfiguration. 274 func (in *SecretboxConfiguration) DeepCopy() *SecretboxConfiguration { 275 if in == nil { 276 return nil 277 } 278 out := new(SecretboxConfiguration) 279 in.DeepCopyInto(out) 280 return out 281 }