k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/pkg/proxy/apis/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 import ( 25 v1 "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 *DetectLocalConfiguration) DeepCopyInto(out *DetectLocalConfiguration) { 31 *out = *in 32 return 33 } 34 35 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetectLocalConfiguration. 36 func (in *DetectLocalConfiguration) DeepCopy() *DetectLocalConfiguration { 37 if in == nil { 38 return nil 39 } 40 out := new(DetectLocalConfiguration) 41 in.DeepCopyInto(out) 42 return out 43 } 44 45 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 46 func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) { 47 *out = *in 48 out.TypeMeta = in.TypeMeta 49 if in.FeatureGates != nil { 50 in, out := &in.FeatureGates, &out.FeatureGates 51 *out = make(map[string]bool, len(*in)) 52 for key, val := range *in { 53 (*out)[key] = val 54 } 55 } 56 out.ClientConnection = in.ClientConnection 57 in.Logging.DeepCopyInto(&out.Logging) 58 in.IPTables.DeepCopyInto(&out.IPTables) 59 in.IPVS.DeepCopyInto(&out.IPVS) 60 out.Winkernel = in.Winkernel 61 in.NFTables.DeepCopyInto(&out.NFTables) 62 out.DetectLocal = in.DetectLocal 63 if in.NodePortAddresses != nil { 64 in, out := &in.NodePortAddresses, &out.NodePortAddresses 65 *out = make([]string, len(*in)) 66 copy(*out, *in) 67 } 68 if in.OOMScoreAdj != nil { 69 in, out := &in.OOMScoreAdj, &out.OOMScoreAdj 70 *out = new(int32) 71 **out = **in 72 } 73 in.Conntrack.DeepCopyInto(&out.Conntrack) 74 out.ConfigSyncPeriod = in.ConfigSyncPeriod 75 return 76 } 77 78 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration. 79 func (in *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration { 80 if in == nil { 81 return nil 82 } 83 out := new(KubeProxyConfiguration) 84 in.DeepCopyInto(out) 85 return out 86 } 87 88 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 89 func (in *KubeProxyConfiguration) DeepCopyObject() runtime.Object { 90 if c := in.DeepCopy(); c != nil { 91 return c 92 } 93 return nil 94 } 95 96 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 97 func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackConfiguration) { 98 *out = *in 99 if in.MaxPerCore != nil { 100 in, out := &in.MaxPerCore, &out.MaxPerCore 101 *out = new(int32) 102 **out = **in 103 } 104 if in.Min != nil { 105 in, out := &in.Min, &out.Min 106 *out = new(int32) 107 **out = **in 108 } 109 if in.TCPEstablishedTimeout != nil { 110 in, out := &in.TCPEstablishedTimeout, &out.TCPEstablishedTimeout 111 *out = new(v1.Duration) 112 **out = **in 113 } 114 if in.TCPCloseWaitTimeout != nil { 115 in, out := &in.TCPCloseWaitTimeout, &out.TCPCloseWaitTimeout 116 *out = new(v1.Duration) 117 **out = **in 118 } 119 out.UDPTimeout = in.UDPTimeout 120 out.UDPStreamTimeout = in.UDPStreamTimeout 121 return 122 } 123 124 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration. 125 func (in *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration { 126 if in == nil { 127 return nil 128 } 129 out := new(KubeProxyConntrackConfiguration) 130 in.DeepCopyInto(out) 131 return out 132 } 133 134 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 135 func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesConfiguration) { 136 *out = *in 137 if in.MasqueradeBit != nil { 138 in, out := &in.MasqueradeBit, &out.MasqueradeBit 139 *out = new(int32) 140 **out = **in 141 } 142 if in.LocalhostNodePorts != nil { 143 in, out := &in.LocalhostNodePorts, &out.LocalhostNodePorts 144 *out = new(bool) 145 **out = **in 146 } 147 out.SyncPeriod = in.SyncPeriod 148 out.MinSyncPeriod = in.MinSyncPeriod 149 return 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration. 153 func (in *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration { 154 if in == nil { 155 return nil 156 } 157 out := new(KubeProxyIPTablesConfiguration) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 163 func (in *KubeProxyIPVSConfiguration) DeepCopyInto(out *KubeProxyIPVSConfiguration) { 164 *out = *in 165 out.SyncPeriod = in.SyncPeriod 166 out.MinSyncPeriod = in.MinSyncPeriod 167 if in.ExcludeCIDRs != nil { 168 in, out := &in.ExcludeCIDRs, &out.ExcludeCIDRs 169 *out = make([]string, len(*in)) 170 copy(*out, *in) 171 } 172 out.TCPTimeout = in.TCPTimeout 173 out.TCPFinTimeout = in.TCPFinTimeout 174 out.UDPTimeout = in.UDPTimeout 175 return 176 } 177 178 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPVSConfiguration. 179 func (in *KubeProxyIPVSConfiguration) DeepCopy() *KubeProxyIPVSConfiguration { 180 if in == nil { 181 return nil 182 } 183 out := new(KubeProxyIPVSConfiguration) 184 in.DeepCopyInto(out) 185 return out 186 } 187 188 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 189 func (in *KubeProxyNFTablesConfiguration) DeepCopyInto(out *KubeProxyNFTablesConfiguration) { 190 *out = *in 191 if in.MasqueradeBit != nil { 192 in, out := &in.MasqueradeBit, &out.MasqueradeBit 193 *out = new(int32) 194 **out = **in 195 } 196 out.SyncPeriod = in.SyncPeriod 197 out.MinSyncPeriod = in.MinSyncPeriod 198 return 199 } 200 201 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyNFTablesConfiguration. 202 func (in *KubeProxyNFTablesConfiguration) DeepCopy() *KubeProxyNFTablesConfiguration { 203 if in == nil { 204 return nil 205 } 206 out := new(KubeProxyNFTablesConfiguration) 207 in.DeepCopyInto(out) 208 return out 209 } 210 211 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 212 func (in *KubeProxyWinkernelConfiguration) DeepCopyInto(out *KubeProxyWinkernelConfiguration) { 213 *out = *in 214 return 215 } 216 217 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyWinkernelConfiguration. 218 func (in *KubeProxyWinkernelConfiguration) DeepCopy() *KubeProxyWinkernelConfiguration { 219 if in == nil { 220 return nil 221 } 222 out := new(KubeProxyWinkernelConfiguration) 223 in.DeepCopyInto(out) 224 return out 225 }