k8s.io/kubernetes@v1.29.3/pkg/controller/volume/persistentvolume/config/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 config 23 24 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 25 func (in *PersistentVolumeBinderControllerConfiguration) DeepCopyInto(out *PersistentVolumeBinderControllerConfiguration) { 26 *out = *in 27 out.PVClaimBinderSyncPeriod = in.PVClaimBinderSyncPeriod 28 out.VolumeConfiguration = in.VolumeConfiguration 29 if in.VolumeHostCIDRDenylist != nil { 30 in, out := &in.VolumeHostCIDRDenylist, &out.VolumeHostCIDRDenylist 31 *out = make([]string, len(*in)) 32 copy(*out, *in) 33 } 34 return 35 } 36 37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeBinderControllerConfiguration. 38 func (in *PersistentVolumeBinderControllerConfiguration) DeepCopy() *PersistentVolumeBinderControllerConfiguration { 39 if in == nil { 40 return nil 41 } 42 out := new(PersistentVolumeBinderControllerConfiguration) 43 in.DeepCopyInto(out) 44 return out 45 } 46 47 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 48 func (in *PersistentVolumeRecyclerConfiguration) DeepCopyInto(out *PersistentVolumeRecyclerConfiguration) { 49 *out = *in 50 return 51 } 52 53 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration. 54 func (in *PersistentVolumeRecyclerConfiguration) DeepCopy() *PersistentVolumeRecyclerConfiguration { 55 if in == nil { 56 return nil 57 } 58 out := new(PersistentVolumeRecyclerConfiguration) 59 in.DeepCopyInto(out) 60 return out 61 } 62 63 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 64 func (in *VolumeConfiguration) DeepCopyInto(out *VolumeConfiguration) { 65 *out = *in 66 out.PersistentVolumeRecyclerConfiguration = in.PersistentVolumeRecyclerConfiguration 67 return 68 } 69 70 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfiguration. 71 func (in *VolumeConfiguration) DeepCopy() *VolumeConfiguration { 72 if in == nil { 73 return nil 74 } 75 out := new(VolumeConfiguration) 76 in.DeepCopyInto(out) 77 return out 78 }