sigs.k8s.io/cluster-api@v1.7.1/exp/runtime/api/v1alpha1/zz_generated.deepcopy.go (about) 1 //go: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 controller-gen. DO NOT EDIT. 20 21 package v1alpha1 22 23 import ( 24 "k8s.io/apimachinery/pkg/apis/meta/v1" 25 "k8s.io/apimachinery/pkg/runtime" 26 "sigs.k8s.io/cluster-api/api/v1beta1" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *ClientConfig) DeepCopyInto(out *ClientConfig) { 31 *out = *in 32 if in.URL != nil { 33 in, out := &in.URL, &out.URL 34 *out = new(string) 35 **out = **in 36 } 37 if in.Service != nil { 38 in, out := &in.Service, &out.Service 39 *out = new(ServiceReference) 40 (*in).DeepCopyInto(*out) 41 } 42 if in.CABundle != nil { 43 in, out := &in.CABundle, &out.CABundle 44 *out = make([]byte, len(*in)) 45 copy(*out, *in) 46 } 47 } 48 49 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfig. 50 func (in *ClientConfig) DeepCopy() *ClientConfig { 51 if in == nil { 52 return nil 53 } 54 out := new(ClientConfig) 55 in.DeepCopyInto(out) 56 return out 57 } 58 59 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 60 func (in *ExtensionConfig) DeepCopyInto(out *ExtensionConfig) { 61 *out = *in 62 out.TypeMeta = in.TypeMeta 63 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 64 in.Spec.DeepCopyInto(&out.Spec) 65 in.Status.DeepCopyInto(&out.Status) 66 } 67 68 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfig. 69 func (in *ExtensionConfig) DeepCopy() *ExtensionConfig { 70 if in == nil { 71 return nil 72 } 73 out := new(ExtensionConfig) 74 in.DeepCopyInto(out) 75 return out 76 } 77 78 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 79 func (in *ExtensionConfig) DeepCopyObject() runtime.Object { 80 if c := in.DeepCopy(); c != nil { 81 return c 82 } 83 return nil 84 } 85 86 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 87 func (in *ExtensionConfigList) DeepCopyInto(out *ExtensionConfigList) { 88 *out = *in 89 out.TypeMeta = in.TypeMeta 90 in.ListMeta.DeepCopyInto(&out.ListMeta) 91 if in.Items != nil { 92 in, out := &in.Items, &out.Items 93 *out = make([]ExtensionConfig, len(*in)) 94 for i := range *in { 95 (*in)[i].DeepCopyInto(&(*out)[i]) 96 } 97 } 98 } 99 100 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfigList. 101 func (in *ExtensionConfigList) DeepCopy() *ExtensionConfigList { 102 if in == nil { 103 return nil 104 } 105 out := new(ExtensionConfigList) 106 in.DeepCopyInto(out) 107 return out 108 } 109 110 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 111 func (in *ExtensionConfigList) DeepCopyObject() runtime.Object { 112 if c := in.DeepCopy(); c != nil { 113 return c 114 } 115 return nil 116 } 117 118 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 119 func (in *ExtensionConfigSpec) DeepCopyInto(out *ExtensionConfigSpec) { 120 *out = *in 121 in.ClientConfig.DeepCopyInto(&out.ClientConfig) 122 if in.NamespaceSelector != nil { 123 in, out := &in.NamespaceSelector, &out.NamespaceSelector 124 *out = new(v1.LabelSelector) 125 (*in).DeepCopyInto(*out) 126 } 127 if in.Settings != nil { 128 in, out := &in.Settings, &out.Settings 129 *out = make(map[string]string, len(*in)) 130 for key, val := range *in { 131 (*out)[key] = val 132 } 133 } 134 } 135 136 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfigSpec. 137 func (in *ExtensionConfigSpec) DeepCopy() *ExtensionConfigSpec { 138 if in == nil { 139 return nil 140 } 141 out := new(ExtensionConfigSpec) 142 in.DeepCopyInto(out) 143 return out 144 } 145 146 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 147 func (in *ExtensionConfigStatus) DeepCopyInto(out *ExtensionConfigStatus) { 148 *out = *in 149 if in.Handlers != nil { 150 in, out := &in.Handlers, &out.Handlers 151 *out = make([]ExtensionHandler, len(*in)) 152 for i := range *in { 153 (*in)[i].DeepCopyInto(&(*out)[i]) 154 } 155 } 156 if in.Conditions != nil { 157 in, out := &in.Conditions, &out.Conditions 158 *out = make(v1beta1.Conditions, len(*in)) 159 for i := range *in { 160 (*in)[i].DeepCopyInto(&(*out)[i]) 161 } 162 } 163 } 164 165 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfigStatus. 166 func (in *ExtensionConfigStatus) DeepCopy() *ExtensionConfigStatus { 167 if in == nil { 168 return nil 169 } 170 out := new(ExtensionConfigStatus) 171 in.DeepCopyInto(out) 172 return out 173 } 174 175 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 176 func (in *ExtensionHandler) DeepCopyInto(out *ExtensionHandler) { 177 *out = *in 178 out.RequestHook = in.RequestHook 179 if in.TimeoutSeconds != nil { 180 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds 181 *out = new(int32) 182 **out = **in 183 } 184 if in.FailurePolicy != nil { 185 in, out := &in.FailurePolicy, &out.FailurePolicy 186 *out = new(FailurePolicy) 187 **out = **in 188 } 189 } 190 191 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionHandler. 192 func (in *ExtensionHandler) DeepCopy() *ExtensionHandler { 193 if in == nil { 194 return nil 195 } 196 out := new(ExtensionHandler) 197 in.DeepCopyInto(out) 198 return out 199 } 200 201 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 202 func (in *GroupVersionHook) DeepCopyInto(out *GroupVersionHook) { 203 *out = *in 204 } 205 206 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionHook. 207 func (in *GroupVersionHook) DeepCopy() *GroupVersionHook { 208 if in == nil { 209 return nil 210 } 211 out := new(GroupVersionHook) 212 in.DeepCopyInto(out) 213 return out 214 } 215 216 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 217 func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { 218 *out = *in 219 if in.Path != nil { 220 in, out := &in.Path, &out.Path 221 *out = new(string) 222 **out = **in 223 } 224 if in.Port != nil { 225 in, out := &in.Port, &out.Port 226 *out = new(int32) 227 **out = **in 228 } 229 } 230 231 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. 232 func (in *ServiceReference) DeepCopy() *ServiceReference { 233 if in == nil { 234 return nil 235 } 236 out := new(ServiceReference) 237 in.DeepCopyInto(out) 238 return out 239 }