github.com/verrazzano/verrazzano@v1.7.0/application-operator/apis/app/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Copyright (c) 2021, 2023, Oracle and/or its affiliates. 5 // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 6 7 // Code generated by controller-gen. DO NOT EDIT. 8 9 package v1alpha1 10 11 import ( 12 runtime "k8s.io/apimachinery/pkg/runtime" 13 ) 14 15 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 16 func (in *MetricsBinding) DeepCopyInto(out *MetricsBinding) { 17 *out = *in 18 out.TypeMeta = in.TypeMeta 19 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 20 out.Spec = in.Spec 21 } 22 23 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsBinding. 24 func (in *MetricsBinding) DeepCopy() *MetricsBinding { 25 if in == nil { 26 return nil 27 } 28 out := new(MetricsBinding) 29 in.DeepCopyInto(out) 30 return out 31 } 32 33 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 34 func (in *MetricsBinding) DeepCopyObject() runtime.Object { 35 if c := in.DeepCopy(); c != nil { 36 return c 37 } 38 return nil 39 } 40 41 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 42 func (in *MetricsBindingList) DeepCopyInto(out *MetricsBindingList) { 43 *out = *in 44 out.TypeMeta = in.TypeMeta 45 in.ListMeta.DeepCopyInto(&out.ListMeta) 46 if in.Items != nil { 47 in, out := &in.Items, &out.Items 48 *out = make([]MetricsBinding, len(*in)) 49 for i := range *in { 50 (*in)[i].DeepCopyInto(&(*out)[i]) 51 } 52 } 53 } 54 55 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsBindingList. 56 func (in *MetricsBindingList) DeepCopy() *MetricsBindingList { 57 if in == nil { 58 return nil 59 } 60 out := new(MetricsBindingList) 61 in.DeepCopyInto(out) 62 return out 63 } 64 65 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 66 func (in *MetricsBindingList) DeepCopyObject() runtime.Object { 67 if c := in.DeepCopy(); c != nil { 68 return c 69 } 70 return nil 71 } 72 73 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 74 func (in *MetricsBindingSpec) DeepCopyInto(out *MetricsBindingSpec) { 75 *out = *in 76 out.MetricsTemplate = in.MetricsTemplate 77 out.PrometheusConfigMap = in.PrometheusConfigMap 78 out.PrometheusConfigSecret = in.PrometheusConfigSecret 79 out.Workload = in.Workload 80 } 81 82 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsBindingSpec. 83 func (in *MetricsBindingSpec) DeepCopy() *MetricsBindingSpec { 84 if in == nil { 85 return nil 86 } 87 out := new(MetricsBindingSpec) 88 in.DeepCopyInto(out) 89 return out 90 } 91 92 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 93 func (in *MetricsTemplate) DeepCopyInto(out *MetricsTemplate) { 94 *out = *in 95 out.TypeMeta = in.TypeMeta 96 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 97 in.Spec.DeepCopyInto(&out.Spec) 98 } 99 100 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsTemplate. 101 func (in *MetricsTemplate) DeepCopy() *MetricsTemplate { 102 if in == nil { 103 return nil 104 } 105 out := new(MetricsTemplate) 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 *MetricsTemplate) 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 *MetricsTemplateList) DeepCopyInto(out *MetricsTemplateList) { 120 *out = *in 121 out.TypeMeta = in.TypeMeta 122 in.ListMeta.DeepCopyInto(&out.ListMeta) 123 if in.Items != nil { 124 in, out := &in.Items, &out.Items 125 *out = make([]MetricsTemplate, len(*in)) 126 for i := range *in { 127 (*in)[i].DeepCopyInto(&(*out)[i]) 128 } 129 } 130 } 131 132 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsTemplateList. 133 func (in *MetricsTemplateList) DeepCopy() *MetricsTemplateList { 134 if in == nil { 135 return nil 136 } 137 out := new(MetricsTemplateList) 138 in.DeepCopyInto(out) 139 return out 140 } 141 142 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 143 func (in *MetricsTemplateList) DeepCopyObject() runtime.Object { 144 if c := in.DeepCopy(); c != nil { 145 return c 146 } 147 return nil 148 } 149 150 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 151 func (in *MetricsTemplateSpec) DeepCopyInto(out *MetricsTemplateSpec) { 152 *out = *in 153 out.PrometheusConfig = in.PrometheusConfig 154 in.WorkloadSelector.DeepCopyInto(&out.WorkloadSelector) 155 } 156 157 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsTemplateSpec. 158 func (in *MetricsTemplateSpec) DeepCopy() *MetricsTemplateSpec { 159 if in == nil { 160 return nil 161 } 162 out := new(MetricsTemplateSpec) 163 in.DeepCopyInto(out) 164 return out 165 } 166 167 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 168 func (in *NamespaceName) DeepCopyInto(out *NamespaceName) { 169 *out = *in 170 } 171 172 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceName. 173 func (in *NamespaceName) DeepCopy() *NamespaceName { 174 if in == nil { 175 return nil 176 } 177 out := new(NamespaceName) 178 in.DeepCopyInto(out) 179 return out 180 } 181 182 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 183 func (in *PrometheusConfig) DeepCopyInto(out *PrometheusConfig) { 184 *out = *in 185 out.TargetConfigMap = in.TargetConfigMap 186 } 187 188 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusConfig. 189 func (in *PrometheusConfig) DeepCopy() *PrometheusConfig { 190 if in == nil { 191 return nil 192 } 193 out := new(PrometheusConfig) 194 in.DeepCopyInto(out) 195 return out 196 } 197 198 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 199 func (in *SecretKey) DeepCopyInto(out *SecretKey) { 200 *out = *in 201 } 202 203 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKey. 204 func (in *SecretKey) DeepCopy() *SecretKey { 205 if in == nil { 206 return nil 207 } 208 out := new(SecretKey) 209 in.DeepCopyInto(out) 210 return out 211 } 212 213 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 214 func (in *TargetConfigMap) DeepCopyInto(out *TargetConfigMap) { 215 *out = *in 216 } 217 218 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetConfigMap. 219 func (in *TargetConfigMap) DeepCopy() *TargetConfigMap { 220 if in == nil { 221 return nil 222 } 223 out := new(TargetConfigMap) 224 in.DeepCopyInto(out) 225 return out 226 } 227 228 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 229 func (in *Workload) DeepCopyInto(out *Workload) { 230 *out = *in 231 out.TypeMeta = in.TypeMeta 232 } 233 234 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload. 235 func (in *Workload) DeepCopy() *Workload { 236 if in == nil { 237 return nil 238 } 239 out := new(Workload) 240 in.DeepCopyInto(out) 241 return out 242 } 243 244 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 245 func (in *WorkloadSelector) DeepCopyInto(out *WorkloadSelector) { 246 *out = *in 247 if in.APIGroups != nil { 248 in, out := &in.APIGroups, &out.APIGroups 249 *out = make([]string, len(*in)) 250 copy(*out, *in) 251 } 252 if in.APIVersions != nil { 253 in, out := &in.APIVersions, &out.APIVersions 254 *out = make([]string, len(*in)) 255 copy(*out, *in) 256 } 257 in.NamespaceSelector.DeepCopyInto(&out.NamespaceSelector) 258 in.ObjectSelector.DeepCopyInto(&out.ObjectSelector) 259 if in.Resources != nil { 260 in, out := &in.Resources, &out.Resources 261 *out = make([]string, len(*in)) 262 copy(*out, *in) 263 } 264 } 265 266 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSelector. 267 func (in *WorkloadSelector) DeepCopy() *WorkloadSelector { 268 if in == nil { 269 return nil 270 } 271 out := new(WorkloadSelector) 272 in.DeepCopyInto(out) 273 return out 274 }