Update generated files

This commit is contained in:
Dr. Stefan Schimanski 2018-06-13 09:53:47 +02:00
parent d1bff9f8f4
commit 1208437f84
84 changed files with 1779 additions and 4968 deletions

View File

@ -48,12 +48,8 @@ func (in *AuditPolicyConfiguration) DeepCopyInto(out *AuditPolicyConfiguration)
*out = *in *out = *in
if in.LogMaxAge != nil { if in.LogMaxAge != nil {
in, out := &in.LogMaxAge, &out.LogMaxAge in, out := &in.LogMaxAge, &out.LogMaxAge
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -85,12 +81,8 @@ func (in *Etcd) DeepCopyInto(out *Etcd) {
} }
if in.SelfHosted != nil { if in.SelfHosted != nil {
in, out := &in.SelfHosted, &out.SelfHosted in, out := &in.SelfHosted, &out.SelfHosted
if *in == nil { *out = new(SelfHostedEtcd)
*out = nil **out = **in
} else {
*out = new(SelfHostedEtcd)
**out = **in
}
} }
if in.ServerCertSANs != nil { if in.ServerCertSANs != nil {
in, out := &in.ServerCertSANs, &out.ServerCertSANs in, out := &in.ServerCertSANs, &out.ServerCertSANs
@ -136,12 +128,8 @@ func (in *KubeProxy) DeepCopyInto(out *KubeProxy) {
*out = *in *out = *in
if in.Config != nil { if in.Config != nil {
in, out := &in.Config, &out.Config in, out := &in.Config, &out.Config
if *in == nil { *out = new(kubeproxyconfig_v1alpha1.KubeProxyConfiguration)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(kubeproxyconfig_v1alpha1.KubeProxyConfiguration)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -161,12 +149,8 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
*out = *in *out = *in
if in.BaseConfig != nil { if in.BaseConfig != nil {
in, out := &in.BaseConfig, &out.BaseConfig in, out := &in.BaseConfig, &out.BaseConfig
if *in == nil { *out = new(v1beta1.KubeletConfiguration)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1beta1.KubeletConfiguration)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -197,12 +181,8 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
} }
if in.TokenTTL != nil { if in.TokenTTL != nil {
in, out := &in.TokenTTL, &out.TokenTTL in, out := &in.TokenTTL, &out.TokenTTL
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.TokenUsages != nil { if in.TokenUsages != nil {
in, out := &in.TokenUsages, &out.TokenUsages in, out := &in.TokenUsages, &out.TokenUsages
@ -311,12 +291,8 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) {
} }
if in.DiscoveryTimeout != nil { if in.DiscoveryTimeout != nil {
in, out := &in.DiscoveryTimeout, &out.DiscoveryTimeout in, out := &in.DiscoveryTimeout, &out.DiscoveryTimeout
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.DiscoveryTokenCACertHashes != nil { if in.DiscoveryTokenCACertHashes != nil {
in, out := &in.DiscoveryTokenCACertHashes, &out.DiscoveryTokenCACertHashes in, out := &in.DiscoveryTokenCACertHashes, &out.DiscoveryTokenCACertHashes

View File

@ -49,12 +49,8 @@ func (in *AuditPolicyConfiguration) DeepCopyInto(out *AuditPolicyConfiguration)
*out = *in *out = *in
if in.LogMaxAge != nil { if in.LogMaxAge != nil {
in, out := &in.LogMaxAge, &out.LogMaxAge in, out := &in.LogMaxAge, &out.LogMaxAge
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -74,29 +70,17 @@ func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) {
*out = *in *out = *in
if in.Token != nil { if in.Token != nil {
in, out := &in.Token, &out.Token in, out := &in.Token, &out.Token
if *in == nil { *out = new(BootstrapTokenString)
*out = nil **out = **in
} else {
*out = new(BootstrapTokenString)
**out = **in
}
} }
if in.TTL != nil { if in.TTL != nil {
in, out := &in.TTL, &out.TTL in, out := &in.TTL, &out.TTL
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.Expires != nil { if in.Expires != nil {
in, out := &in.Expires, &out.Expires in, out := &in.Expires, &out.Expires
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.Usages != nil { if in.Usages != nil {
in, out := &in.Usages, &out.Usages in, out := &in.Usages, &out.Usages
@ -142,21 +126,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) {
*out = *in *out = *in
if in.Local != nil { if in.Local != nil {
in, out := &in.Local, &out.Local in, out := &in.Local, &out.Local
if *in == nil { *out = new(LocalEtcd)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(LocalEtcd)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalEtcd)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalEtcd)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -213,12 +189,8 @@ func (in *KubeProxy) DeepCopyInto(out *KubeProxy) {
*out = *in *out = *in
if in.Config != nil { if in.Config != nil {
in, out := &in.Config, &out.Config in, out := &in.Config, &out.Config
if *in == nil { *out = new(v1alpha1.KubeProxyConfiguration)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1alpha1.KubeProxyConfiguration)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -238,12 +210,8 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
*out = *in *out = *in
if in.BaseConfig != nil { if in.BaseConfig != nil {
in, out := &in.BaseConfig, &out.BaseConfig in, out := &in.BaseConfig, &out.BaseConfig
if *in == nil { *out = new(v1beta1.KubeletConfiguration)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1beta1.KubeletConfiguration)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -406,12 +374,8 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) {
} }
if in.DiscoveryTimeout != nil { if in.DiscoveryTimeout != nil {
in, out := &in.DiscoveryTimeout, &out.DiscoveryTimeout in, out := &in.DiscoveryTimeout, &out.DiscoveryTimeout
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.DiscoveryTokenCACertHashes != nil { if in.DiscoveryTokenCACertHashes != nil {
in, out := &in.DiscoveryTokenCACertHashes, &out.DiscoveryTokenCACertHashes in, out := &in.DiscoveryTokenCACertHashes, &out.DiscoveryTokenCACertHashes

View File

@ -49,12 +49,8 @@ func (in *AuditPolicyConfiguration) DeepCopyInto(out *AuditPolicyConfiguration)
*out = *in *out = *in
if in.LogMaxAge != nil { if in.LogMaxAge != nil {
in, out := &in.LogMaxAge, &out.LogMaxAge in, out := &in.LogMaxAge, &out.LogMaxAge
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -74,29 +70,17 @@ func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) {
*out = *in *out = *in
if in.Token != nil { if in.Token != nil {
in, out := &in.Token, &out.Token in, out := &in.Token, &out.Token
if *in == nil { *out = new(BootstrapTokenString)
*out = nil **out = **in
} else {
*out = new(BootstrapTokenString)
**out = **in
}
} }
if in.TTL != nil { if in.TTL != nil {
in, out := &in.TTL, &out.TTL in, out := &in.TTL, &out.TTL
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.Expires != nil { if in.Expires != nil {
in, out := &in.Expires, &out.Expires in, out := &in.Expires, &out.Expires
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.Usages != nil { if in.Usages != nil {
in, out := &in.Usages, &out.Usages in, out := &in.Usages, &out.Usages
@ -142,21 +126,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) {
*out = *in *out = *in
if in.Local != nil { if in.Local != nil {
in, out := &in.Local, &out.Local in, out := &in.Local, &out.Local
if *in == nil { *out = new(LocalEtcd)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(LocalEtcd)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalEtcd)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalEtcd)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -213,12 +189,8 @@ func (in *KubeProxy) DeepCopyInto(out *KubeProxy) {
*out = *in *out = *in
if in.Config != nil { if in.Config != nil {
in, out := &in.Config, &out.Config in, out := &in.Config, &out.Config
if *in == nil { *out = new(v1alpha1.KubeProxyConfiguration)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1alpha1.KubeProxyConfiguration)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -238,12 +210,8 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
*out = *in *out = *in
if in.BaseConfig != nil { if in.BaseConfig != nil {
in, out := &in.BaseConfig, &out.BaseConfig in, out := &in.BaseConfig, &out.BaseConfig
if *in == nil { *out = new(v1beta1.KubeletConfiguration)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1beta1.KubeletConfiguration)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -406,12 +374,8 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) {
} }
if in.DiscoveryTimeout != nil { if in.DiscoveryTimeout != nil {
in, out := &in.DiscoveryTimeout, &out.DiscoveryTimeout in, out := &in.DiscoveryTimeout, &out.DiscoveryTimeout
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.DiscoveryTokenCACertHashes != nil { if in.DiscoveryTokenCACertHashes != nil {
in, out := &in.DiscoveryTokenCACertHashes, &out.DiscoveryTokenCACertHashes in, out := &in.DiscoveryTokenCACertHashes, &out.DiscoveryTokenCACertHashes

View File

@ -59,12 +59,8 @@ func (in *AdmissionResponse) DeepCopyInto(out *AdmissionResponse) {
*out = *in *out = *in
if in.Result != nil { if in.Result != nil {
in, out := &in.Result, &out.Result in, out := &in.Result, &out.Result
if *in == nil { *out = new(v1.Status)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.Status)
(*in).DeepCopyInto(*out)
}
} }
if in.Patch != nil { if in.Patch != nil {
in, out := &in.Patch, &out.Patch in, out := &in.Patch, &out.Patch
@ -73,12 +69,8 @@ func (in *AdmissionResponse) DeepCopyInto(out *AdmissionResponse) {
} }
if in.PatchType != nil { if in.PatchType != nil {
in, out := &in.PatchType, &out.PatchType in, out := &in.PatchType, &out.PatchType
if *in == nil { *out = new(PatchType)
*out = nil **out = **in
} else {
*out = new(PatchType)
**out = **in
}
} }
return return
} }
@ -99,21 +91,13 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) {
out.TypeMeta = in.TypeMeta out.TypeMeta = in.TypeMeta
if in.Request != nil { if in.Request != nil {
in, out := &in.Request, &out.Request in, out := &in.Request, &out.Request
if *in == nil { *out = new(AdmissionRequest)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AdmissionRequest)
(*in).DeepCopyInto(*out)
}
} }
if in.Response != nil { if in.Response != nil {
in, out := &in.Response, &out.Response in, out := &in.Response, &out.Response
if *in == nil { *out = new(AdmissionResponse)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AdmissionResponse)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -238,12 +238,8 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
*out = *in *out = *in
if in.Path != nil { if in.Path != nil {
in, out := &in.Path, &out.Path in, out := &in.Path, &out.Path
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -337,21 +333,13 @@ func (in *Webhook) DeepCopyInto(out *Webhook) {
} }
if in.FailurePolicy != nil { if in.FailurePolicy != nil {
in, out := &in.FailurePolicy, &out.FailurePolicy in, out := &in.FailurePolicy, &out.FailurePolicy
if *in == nil { *out = new(FailurePolicyType)
*out = nil **out = **in
} else {
*out = new(FailurePolicyType)
**out = **in
}
} }
if in.NamespaceSelector != nil { if in.NamespaceSelector != nil {
in, out := &in.NamespaceSelector, &out.NamespaceSelector in, out := &in.NamespaceSelector, &out.NamespaceSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -371,21 +359,13 @@ func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
*out = *in *out = *in
if in.URL != nil { if in.URL != nil {
in, out := &in.URL, &out.URL in, out := &in.URL, &out.URL
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
if in.Service != nil { if in.Service != nil {
in, out := &in.Service, &out.Service in, out := &in.Service, &out.Service
if *in == nil { *out = new(ServiceReference)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ServiceReference)
(*in).DeepCopyInto(*out)
}
} }
if in.CABundle != nil { if in.CABundle != nil {
in, out := &in.CABundle, &out.CABundle in, out := &in.CABundle, &out.CABundle

View File

@ -189,12 +189,8 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
if in.VolumeClaimTemplates != nil { if in.VolumeClaimTemplates != nil {
@ -207,12 +203,8 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -232,21 +224,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
*out = *in *out = *in
if in.ObservedGeneration != nil { if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration in, out := &in.ObservedGeneration, &out.ObservedGeneration
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -273,12 +257,8 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateStatefulSetStrategy)
*out = nil **out = **in
} else {
*out = new(RollingUpdateStatefulSetStrategy)
**out = **in
}
} }
return return
} }

View File

@ -98,12 +98,8 @@ func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
} }
if in.BoundObjectRef != nil { if in.BoundObjectRef != nil {
in, out := &in.BoundObjectRef, &out.BoundObjectRef in, out := &in.BoundObjectRef, &out.BoundObjectRef
if *in == nil { *out = new(BoundObjectReference)
*out = nil **out = **in
} else {
*out = new(BoundObjectReference)
**out = **in
}
} }
return return
} }
@ -208,12 +204,15 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -199,21 +199,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview
*out = *in *out = *in
if in.ResourceAttributes != nil { if in.ResourceAttributes != nil {
in, out := &in.ResourceAttributes, &out.ResourceAttributes in, out := &in.ResourceAttributes, &out.ResourceAttributes
if *in == nil { *out = new(ResourceAttributes)
*out = nil **out = **in
} else {
*out = new(ResourceAttributes)
**out = **in
}
} }
if in.NonResourceAttributes != nil { if in.NonResourceAttributes != nil {
in, out := &in.NonResourceAttributes, &out.NonResourceAttributes in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
if *in == nil { *out = new(NonResourceAttributes)
*out = nil **out = **in
} else {
*out = new(NonResourceAttributes)
**out = **in
}
} }
return return
} }
@ -305,21 +297,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
*out = *in *out = *in
if in.ResourceAttributes != nil { if in.ResourceAttributes != nil {
in, out := &in.ResourceAttributes, &out.ResourceAttributes in, out := &in.ResourceAttributes, &out.ResourceAttributes
if *in == nil { *out = new(ResourceAttributes)
*out = nil **out = **in
} else {
*out = new(ResourceAttributes)
**out = **in
}
} }
if in.NonResourceAttributes != nil { if in.NonResourceAttributes != nil {
in, out := &in.NonResourceAttributes, &out.NonResourceAttributes in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
if *in == nil { *out = new(NonResourceAttributes)
*out = nil **out = **in
} else {
*out = new(NonResourceAttributes)
**out = **in
}
} }
if in.Groups != nil { if in.Groups != nil {
in, out := &in.Groups, &out.Groups in, out := &in.Groups, &out.Groups
@ -330,12 +314,15 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -46,30 +46,18 @@ func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) {
*out = *in *out = *in
if in.MetricSelector != nil { if in.MetricSelector != nil {
in, out := &in.MetricSelector, &out.MetricSelector in, out := &in.MetricSelector, &out.MetricSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.TargetValue != nil { if in.TargetValue != nil {
in, out := &in.TargetValue, &out.TargetValue in, out := &in.TargetValue, &out.TargetValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
if in.TargetAverageValue != nil { if in.TargetAverageValue != nil {
in, out := &in.TargetAverageValue, &out.TargetAverageValue in, out := &in.TargetAverageValue, &out.TargetAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -89,22 +77,14 @@ func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) {
*out = *in *out = *in
if in.MetricSelector != nil { if in.MetricSelector != nil {
in, out := &in.MetricSelector, &out.MetricSelector in, out := &in.MetricSelector, &out.MetricSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
out.CurrentValue = in.CurrentValue.DeepCopy() out.CurrentValue = in.CurrentValue.DeepCopy()
if in.CurrentAverageValue != nil { if in.CurrentAverageValue != nil {
in, out := &in.CurrentAverageValue, &out.CurrentAverageValue in, out := &in.CurrentAverageValue, &out.CurrentAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -203,12 +183,8 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler
out.ScaleTargetRef = in.ScaleTargetRef out.ScaleTargetRef = in.ScaleTargetRef
if in.MinReplicas != nil { if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas in, out := &in.MinReplicas, &out.MinReplicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Metrics != nil { if in.Metrics != nil {
in, out := &in.Metrics, &out.Metrics in, out := &in.Metrics, &out.Metrics
@ -235,20 +211,12 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal
*out = *in *out = *in
if in.ObservedGeneration != nil { if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration in, out := &in.ObservedGeneration, &out.ObservedGeneration
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.LastScaleTime != nil { if in.LastScaleTime != nil {
in, out := &in.LastScaleTime, &out.LastScaleTime in, out := &in.LastScaleTime, &out.LastScaleTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.CurrentMetrics != nil { if in.CurrentMetrics != nil {
in, out := &in.CurrentMetrics, &out.CurrentMetrics in, out := &in.CurrentMetrics, &out.CurrentMetrics
@ -282,39 +250,23 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
*out = *in *out = *in
if in.Object != nil { if in.Object != nil {
in, out := &in.Object, &out.Object in, out := &in.Object, &out.Object
if *in == nil { *out = new(ObjectMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ObjectMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.Pods != nil { if in.Pods != nil {
in, out := &in.Pods, &out.Pods in, out := &in.Pods, &out.Pods
if *in == nil { *out = new(PodsMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PodsMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.Resource != nil { if in.Resource != nil {
in, out := &in.Resource, &out.Resource in, out := &in.Resource, &out.Resource
if *in == nil { *out = new(ResourceMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ResourceMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalMetricSource)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -334,39 +286,23 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
*out = *in *out = *in
if in.Object != nil { if in.Object != nil {
in, out := &in.Object, &out.Object in, out := &in.Object, &out.Object
if *in == nil { *out = new(ObjectMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ObjectMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.Pods != nil { if in.Pods != nil {
in, out := &in.Pods, &out.Pods in, out := &in.Pods, &out.Pods
if *in == nil { *out = new(PodsMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PodsMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.Resource != nil { if in.Resource != nil {
in, out := &in.Resource, &out.Resource in, out := &in.Resource, &out.Resource
if *in == nil { *out = new(ResourceMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ResourceMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -456,21 +392,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
*out = *in *out = *in
if in.TargetAverageUtilization != nil { if in.TargetAverageUtilization != nil {
in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.TargetAverageValue != nil { if in.TargetAverageValue != nil {
in, out := &in.TargetAverageValue, &out.TargetAverageValue in, out := &in.TargetAverageValue, &out.TargetAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -490,12 +418,8 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
*out = *in *out = *in
if in.CurrentAverageUtilization != nil { if in.CurrentAverageUtilization != nil {
in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy() out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
return return

View File

@ -92,40 +92,24 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
*out = *in *out = *in
if in.StartingDeadlineSeconds != nil { if in.StartingDeadlineSeconds != nil {
in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.Suspend != nil { if in.Suspend != nil {
in, out := &in.Suspend, &out.Suspend in, out := &in.Suspend, &out.Suspend
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
in.JobTemplate.DeepCopyInto(&out.JobTemplate) in.JobTemplate.DeepCopyInto(&out.JobTemplate)
if in.SuccessfulJobsHistoryLimit != nil { if in.SuccessfulJobsHistoryLimit != nil {
in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.FailedJobsHistoryLimit != nil { if in.FailedJobsHistoryLimit != nil {
in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -150,11 +134,7 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
} }
if in.LastScheduleTime != nil { if in.LastScheduleTime != nil {
in, out := &in.LastScheduleTime, &out.LastScheduleTime in, out := &in.LastScheduleTime, &out.LastScheduleTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }
@ -253,57 +233,33 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) {
*out = *in *out = *in
if in.Parallelism != nil { if in.Parallelism != nil {
in, out := &in.Parallelism, &out.Parallelism in, out := &in.Parallelism, &out.Parallelism
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Completions != nil { if in.Completions != nil {
in, out := &in.Completions, &out.Completions in, out := &in.Completions, &out.Completions
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.ActiveDeadlineSeconds != nil { if in.ActiveDeadlineSeconds != nil {
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.BackoffLimit != nil { if in.BackoffLimit != nil {
in, out := &in.BackoffLimit, &out.BackoffLimit in, out := &in.BackoffLimit, &out.BackoffLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.ManualSelector != nil { if in.ManualSelector != nil {
in, out := &in.ManualSelector, &out.ManualSelector in, out := &in.ManualSelector, &out.ManualSelector
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return return
@ -331,19 +287,11 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.CompletionTime != nil { if in.CompletionTime != nil {
in, out := &in.CompletionTime, &out.CompletionTime in, out := &in.CompletionTime, &out.CompletionTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -124,12 +124,15 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -207,12 +207,8 @@ func (in *GarbageCollectorControllerConfiguration) DeepCopyInto(out *GarbageColl
*out = *in *out = *in
if in.EnableGarbageCollector != nil { if in.EnableGarbageCollector != nil {
in, out := &in.EnableGarbageCollector, &out.EnableGarbageCollector in, out := &in.EnableGarbageCollector, &out.EnableGarbageCollector
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.GCIgnoredResources != nil { if in.GCIgnoredResources != nil {
in, out := &in.GCIgnoredResources, &out.GCIgnoredResources in, out := &in.GCIgnoredResources, &out.GCIgnoredResources
@ -275,12 +271,8 @@ func (in *HPAControllerConfiguration) DeepCopyInto(out *HPAControllerConfigurati
out.HorizontalPodAutoscalerDownscaleForbiddenWindow = in.HorizontalPodAutoscalerDownscaleForbiddenWindow out.HorizontalPodAutoscalerDownscaleForbiddenWindow = in.HorizontalPodAutoscalerDownscaleForbiddenWindow
if in.HorizontalPodAutoscalerUseRESTClients != nil { if in.HorizontalPodAutoscalerUseRESTClients != nil {
in, out := &in.HorizontalPodAutoscalerUseRESTClients, &out.HorizontalPodAutoscalerUseRESTClients in, out := &in.HorizontalPodAutoscalerUseRESTClients, &out.HorizontalPodAutoscalerUseRESTClients
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
return return
} }
@ -318,12 +310,8 @@ func (in *KubeCloudSharedConfiguration) DeepCopyInto(out *KubeCloudSharedConfigu
out.NodeMonitorPeriod = in.NodeMonitorPeriod out.NodeMonitorPeriod = in.NodeMonitorPeriod
if in.ConfigureCloudRoutes != nil { if in.ConfigureCloudRoutes != nil {
in, out := &in.ConfigureCloudRoutes, &out.ConfigureCloudRoutes in, out := &in.ConfigureCloudRoutes, &out.ConfigureCloudRoutes
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
out.NodeSyncPeriod = in.NodeSyncPeriod out.NodeSyncPeriod = in.NodeSyncPeriod
return return
@ -442,12 +430,8 @@ func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfigura
*out = *in *out = *in
if in.LeaderElect != nil { if in.LeaderElect != nil {
in, out := &in.LeaderElect, &out.LeaderElect in, out := &in.LeaderElect, &out.LeaderElect
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
out.LeaseDuration = in.LeaseDuration out.LeaseDuration = in.LeaseDuration
out.RenewDeadline = in.RenewDeadline out.RenewDeadline = in.RenewDeadline
@ -503,12 +487,8 @@ func (in *NodeLifecycleControllerConfiguration) DeepCopyInto(out *NodeLifecycleC
*out = *in *out = *in
if in.EnableTaintManager != nil { if in.EnableTaintManager != nil {
in, out := &in.EnableTaintManager, &out.EnableTaintManager in, out := &in.EnableTaintManager, &out.EnableTaintManager
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
out.NodeStartupGracePeriod = in.NodeStartupGracePeriod out.NodeStartupGracePeriod = in.NodeStartupGracePeriod
out.NodeMonitorGracePeriod = in.NodeMonitorGracePeriod out.NodeMonitorGracePeriod = in.NodeMonitorGracePeriod
@ -646,21 +626,13 @@ func (in *SchedulerAlgorithmSource) DeepCopyInto(out *SchedulerAlgorithmSource)
*out = *in *out = *in
if in.Policy != nil { if in.Policy != nil {
in, out := &in.Policy, &out.Policy in, out := &in.Policy, &out.Policy
if *in == nil { *out = new(SchedulerPolicySource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(SchedulerPolicySource)
(*in).DeepCopyInto(*out)
}
} }
if in.Provider != nil { if in.Provider != nil {
in, out := &in.Provider, &out.Provider in, out := &in.Provider, &out.Provider
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -712,21 +684,13 @@ func (in *SchedulerPolicySource) DeepCopyInto(out *SchedulerPolicySource) {
*out = *in *out = *in
if in.File != nil { if in.File != nil {
in, out := &in.File, &out.File in, out := &in.File, &out.File
if *in == nil { *out = new(SchedulerPolicyFileSource)
*out = nil **out = **in
} else {
*out = new(SchedulerPolicyFileSource)
**out = **in
}
} }
if in.ConfigMap != nil { if in.ConfigMap != nil {
in, out := &in.ConfigMap, &out.ConfigMap in, out := &in.ConfigMap, &out.ConfigMap
if *in == nil { *out = new(SchedulerPolicyConfigMapSource)
*out = nil **out = **in
} else {
*out = new(SchedulerPolicyConfigMapSource)
**out = **in
}
} }
return return
} }
@ -762,21 +726,13 @@ func (in *VolumeConfiguration) DeepCopyInto(out *VolumeConfiguration) {
*out = *in *out = *in
if in.EnableHostPathProvisioning != nil { if in.EnableHostPathProvisioning != nil {
in, out := &in.EnableHostPathProvisioning, &out.EnableHostPathProvisioning in, out := &in.EnableHostPathProvisioning, &out.EnableHostPathProvisioning
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.EnableDynamicProvisioning != nil { if in.EnableDynamicProvisioning != nil {
in, out := &in.EnableDynamicProvisioning, &out.EnableDynamicProvisioning in, out := &in.EnableDynamicProvisioning, &out.EnableDynamicProvisioning
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
out.PersistentVolumeRecyclerConfiguration = in.PersistentVolumeRecyclerConfiguration out.PersistentVolumeRecyclerConfiguration = in.PersistentVolumeRecyclerConfiguration
return return

View File

@ -282,12 +282,8 @@ func (in *IPPortVar) DeepCopyInto(out *IPPortVar) {
*out = *in *out = *in
if in.Val != nil { if in.Val != nil {
in, out := &in.Val, &out.Val in, out := &in.Val, &out.Val
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -307,12 +303,8 @@ func (in *IPVar) DeepCopyInto(out *IPVar) {
*out = *in *out = *in
if in.Val != nil { if in.Val != nil {
in, out := &in.Val, &out.Val in, out := &in.Val, &out.Val
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -586,12 +578,8 @@ func (in *PortRangeVar) DeepCopyInto(out *PortRangeVar) {
*out = *in *out = *in
if in.Val != nil { if in.Val != nil {
in, out := &in.Val, &out.Val in, out := &in.Val, &out.Val
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -676,21 +664,13 @@ func (in *SchedulerAlgorithmSource) DeepCopyInto(out *SchedulerAlgorithmSource)
*out = *in *out = *in
if in.Policy != nil { if in.Policy != nil {
in, out := &in.Policy, &out.Policy in, out := &in.Policy, &out.Policy
if *in == nil { *out = new(SchedulerPolicySource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(SchedulerPolicySource)
(*in).DeepCopyInto(*out)
}
} }
if in.Provider != nil { if in.Provider != nil {
in, out := &in.Provider, &out.Provider in, out := &in.Provider, &out.Provider
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -742,21 +722,13 @@ func (in *SchedulerPolicySource) DeepCopyInto(out *SchedulerPolicySource) {
*out = *in *out = *in
if in.File != nil { if in.File != nil {
in, out := &in.File, &out.File in, out := &in.File, &out.File
if *in == nil { *out = new(SchedulerPolicyFileSource)
*out = nil **out = **in
} else {
*out = new(SchedulerPolicyFileSource)
**out = **in
}
} }
if in.ConfigMap != nil { if in.ConfigMap != nil {
in, out := &in.ConfigMap, &out.ConfigMap in, out := &in.ConfigMap, &out.ConfigMap
if *in == nil { *out = new(SchedulerPolicyConfigMapSource)
*out = nil **out = **in
} else {
*out = new(SchedulerPolicyConfigMapSource)
**out = **in
}
} }
return return
} }

File diff suppressed because it is too large Load Diff

View File

@ -188,23 +188,15 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -224,12 +216,8 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
*out = *in *out = *in
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -256,12 +244,8 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDaemonSet)
*out = nil **out = **in
} else {
*out = new(RollingUpdateDaemonSet)
**out = **in
}
} }
return return
} }
@ -393,41 +377,25 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.Strategy.DeepCopyInto(&out.Strategy) in.Strategy.DeepCopyInto(&out.Strategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.RollbackTo != nil { if in.RollbackTo != nil {
in, out := &in.RollbackTo, &out.RollbackTo in, out := &in.RollbackTo, &out.RollbackTo
if *in == nil { *out = new(RollbackConfig)
*out = nil **out = **in
} else {
*out = new(RollbackConfig)
**out = **in
}
} }
if in.ProgressDeadlineSeconds != nil { if in.ProgressDeadlineSeconds != nil {
in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -454,12 +422,8 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
} }
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -479,12 +443,8 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDeployment)
*out = nil **out = **in
} else {
*out = new(RollingUpdateDeployment)
**out = **in
}
} }
return return
} }
@ -637,12 +597,8 @@ func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
*out = *in *out = *in
if in.HTTP != nil { if in.HTTP != nil {
in, out := &in.HTTP, &out.HTTP in, out := &in.HTTP, &out.HTTP
if *in == nil { *out = new(HTTPIngressRuleValue)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(HTTPIngressRuleValue)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -662,12 +618,8 @@ func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
*out = *in *out = *in
if in.Backend != nil { if in.Backend != nil {
in, out := &in.Backend, &out.Backend in, out := &in.Backend, &out.Backend
if *in == nil { *out = new(IngressBackend)
*out = nil **out = **in
} else {
*out = new(IngressBackend)
**out = **in
}
} }
if in.TLS != nil { if in.TLS != nil {
in, out := &in.TLS, &out.TLS in, out := &in.TLS, &out.TLS
@ -817,12 +769,8 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return return

View File

@ -173,30 +173,18 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
*out = *in *out = *in
if in.PodSelector != nil { if in.PodSelector != nil {
in, out := &in.PodSelector, &out.PodSelector in, out := &in.PodSelector, &out.PodSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.NamespaceSelector != nil { if in.NamespaceSelector != nil {
in, out := &in.NamespaceSelector, &out.NamespaceSelector in, out := &in.NamespaceSelector, &out.NamespaceSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.IPBlock != nil { if in.IPBlock != nil {
in, out := &in.IPBlock, &out.IPBlock in, out := &in.IPBlock, &out.IPBlock
if *in == nil { *out = new(IPBlock)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(IPBlock)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -216,21 +204,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
*out = *in *out = *in
if in.Protocol != nil { if in.Protocol != nil {
in, out := &in.Protocol, &out.Protocol in, out := &in.Protocol, &out.Protocol
if *in == nil { *out = new(core.Protocol)
*out = nil **out = **in
} else {
*out = new(core.Protocol)
**out = **in
}
} }
if in.Port != nil { if in.Port != nil {
in, out := &in.Port, &out.Port in, out := &in.Port, &out.Port
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }

View File

@ -66,12 +66,8 @@ func (in *Eviction) DeepCopyInto(out *Eviction) {
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
if in.DeleteOptions != nil { if in.DeleteOptions != nil {
in, out := &in.DeleteOptions, &out.DeleteOptions in, out := &in.DeleteOptions, &out.DeleteOptions
if *in == nil { *out = new(v1.DeleteOptions)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.DeleteOptions)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -213,30 +209,18 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
*out = *in *out = *in
if in.MinAvailable != nil { if in.MinAvailable != nil {
in, out := &in.MinAvailable, &out.MinAvailable in, out := &in.MinAvailable, &out.MinAvailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -368,12 +352,8 @@ func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) {
in.FSGroup.DeepCopyInto(&out.FSGroup) in.FSGroup.DeepCopyInto(&out.FSGroup)
if in.DefaultAllowPrivilegeEscalation != nil { if in.DefaultAllowPrivilegeEscalation != nil {
in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.AllowedHostPaths != nil { if in.AllowedHostPaths != nil {
in, out := &in.AllowedHostPaths, &out.AllowedHostPaths in, out := &in.AllowedHostPaths, &out.AllowedHostPaths
@ -434,12 +414,8 @@ func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) {
*out = *in *out = *in
if in.SELinuxOptions != nil { if in.SELinuxOptions != nil {
in, out := &in.SELinuxOptions, &out.SELinuxOptions in, out := &in.SELinuxOptions, &out.SELinuxOptions
if *in == nil { *out = new(core.SELinuxOptions)
*out = nil **out = **in
} else {
*out = new(core.SELinuxOptions)
**out = **in
}
} }
return return
} }

View File

@ -62,12 +62,8 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
} }
if in.AggregationRule != nil { if in.AggregationRule != nil {
in, out := &in.AggregationRule, &out.AggregationRule in, out := &in.AggregationRule, &out.AggregationRule
if *in == nil { *out = new(AggregationRule)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AggregationRule)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -39,12 +39,8 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
} }
if in.ReclaimPolicy != nil { if in.ReclaimPolicy != nil {
in, out := &in.ReclaimPolicy, &out.ReclaimPolicy in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
if *in == nil { *out = new(core.PersistentVolumeReclaimPolicy)
*out = nil **out = **in
} else {
*out = new(core.PersistentVolumeReclaimPolicy)
**out = **in
}
} }
if in.MountOptions != nil { if in.MountOptions != nil {
in, out := &in.MountOptions, &out.MountOptions in, out := &in.MountOptions, &out.MountOptions
@ -53,21 +49,13 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
} }
if in.AllowVolumeExpansion != nil { if in.AllowVolumeExpansion != nil {
in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.VolumeBindingMode != nil { if in.VolumeBindingMode != nil {
in, out := &in.VolumeBindingMode, &out.VolumeBindingMode in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
if *in == nil { *out = new(VolumeBindingMode)
*out = nil **out = **in
} else {
*out = new(VolumeBindingMode)
**out = **in
}
} }
if in.AllowedTopologies != nil { if in.AllowedTopologies != nil {
in, out := &in.AllowedTopologies, &out.AllowedTopologies in, out := &in.AllowedTopologies, &out.AllowedTopologies
@ -196,12 +184,8 @@ func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
*out = *in *out = *in
if in.PersistentVolumeName != nil { if in.PersistentVolumeName != nil {
in, out := &in.PersistentVolumeName, &out.PersistentVolumeName in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -245,21 +229,13 @@ func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
} }
if in.AttachError != nil { if in.AttachError != nil {
in, out := &in.AttachError, &out.AttachError in, out := &in.AttachError, &out.AttachError
if *in == nil { *out = new(VolumeError)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
} }
if in.DetachError != nil { if in.DetachError != nil {
in, out := &in.DetachError, &out.DetachError in, out := &in.DetachError, &out.DetachError
if *in == nil { *out = new(VolumeError)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -29,12 +29,8 @@ func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuth
*out = *in *out = *in
if in.Enabled != nil { if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled in, out := &in.Enabled, &out.Enabled
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
return return
} }
@ -96,12 +92,15 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader
*out = make(map[string][]string, len(*in)) *out = make(map[string][]string, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make([]string, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
if in.TLSCipherSuites != nil { if in.TLSCipherSuites != nil {
@ -113,48 +112,28 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
out.Authorization = in.Authorization out.Authorization = in.Authorization
if in.RegistryPullQPS != nil { if in.RegistryPullQPS != nil {
in, out := &in.RegistryPullQPS, &out.RegistryPullQPS in, out := &in.RegistryPullQPS, &out.RegistryPullQPS
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.EventRecordQPS != nil { if in.EventRecordQPS != nil {
in, out := &in.EventRecordQPS, &out.EventRecordQPS in, out := &in.EventRecordQPS, &out.EventRecordQPS
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.EnableDebuggingHandlers != nil { if in.EnableDebuggingHandlers != nil {
in, out := &in.EnableDebuggingHandlers, &out.EnableDebuggingHandlers in, out := &in.EnableDebuggingHandlers, &out.EnableDebuggingHandlers
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.HealthzPort != nil { if in.HealthzPort != nil {
in, out := &in.HealthzPort, &out.HealthzPort in, out := &in.HealthzPort, &out.HealthzPort
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.OOMScoreAdj != nil { if in.OOMScoreAdj != nil {
in, out := &in.OOMScoreAdj, &out.OOMScoreAdj in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.ClusterDNS != nil { if in.ClusterDNS != nil {
in, out := &in.ClusterDNS, &out.ClusterDNS in, out := &in.ClusterDNS, &out.ClusterDNS
@ -166,31 +145,19 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
out.ImageMinimumGCAge = in.ImageMinimumGCAge out.ImageMinimumGCAge = in.ImageMinimumGCAge
if in.ImageGCHighThresholdPercent != nil { if in.ImageGCHighThresholdPercent != nil {
in, out := &in.ImageGCHighThresholdPercent, &out.ImageGCHighThresholdPercent in, out := &in.ImageGCHighThresholdPercent, &out.ImageGCHighThresholdPercent
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.ImageGCLowThresholdPercent != nil { if in.ImageGCLowThresholdPercent != nil {
in, out := &in.ImageGCLowThresholdPercent, &out.ImageGCLowThresholdPercent in, out := &in.ImageGCLowThresholdPercent, &out.ImageGCLowThresholdPercent
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod
if in.CgroupsPerQOS != nil { if in.CgroupsPerQOS != nil {
in, out := &in.CgroupsPerQOS, &out.CgroupsPerQOS in, out := &in.CgroupsPerQOS, &out.CgroupsPerQOS
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
out.CPUManagerReconcilePeriod = in.CPUManagerReconcilePeriod out.CPUManagerReconcilePeriod = in.CPUManagerReconcilePeriod
if in.QOSReserved != nil { if in.QOSReserved != nil {
@ -203,39 +170,23 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
out.RuntimeRequestTimeout = in.RuntimeRequestTimeout out.RuntimeRequestTimeout = in.RuntimeRequestTimeout
if in.PodPidsLimit != nil { if in.PodPidsLimit != nil {
in, out := &in.PodPidsLimit, &out.PodPidsLimit in, out := &in.PodPidsLimit, &out.PodPidsLimit
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.CPUCFSQuota != nil { if in.CPUCFSQuota != nil {
in, out := &in.CPUCFSQuota, &out.CPUCFSQuota in, out := &in.CPUCFSQuota, &out.CPUCFSQuota
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.KubeAPIQPS != nil { if in.KubeAPIQPS != nil {
in, out := &in.KubeAPIQPS, &out.KubeAPIQPS in, out := &in.KubeAPIQPS, &out.KubeAPIQPS
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.SerializeImagePulls != nil { if in.SerializeImagePulls != nil {
in, out := &in.SerializeImagePulls, &out.SerializeImagePulls in, out := &in.SerializeImagePulls, &out.SerializeImagePulls
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.EvictionHard != nil { if in.EvictionHard != nil {
in, out := &in.EvictionHard, &out.EvictionHard in, out := &in.EvictionHard, &out.EvictionHard
@ -268,39 +219,23 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
} }
if in.EnableControllerAttachDetach != nil { if in.EnableControllerAttachDetach != nil {
in, out := &in.EnableControllerAttachDetach, &out.EnableControllerAttachDetach in, out := &in.EnableControllerAttachDetach, &out.EnableControllerAttachDetach
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.MakeIPTablesUtilChains != nil { if in.MakeIPTablesUtilChains != nil {
in, out := &in.MakeIPTablesUtilChains, &out.MakeIPTablesUtilChains in, out := &in.MakeIPTablesUtilChains, &out.MakeIPTablesUtilChains
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.IPTablesMasqueradeBit != nil { if in.IPTablesMasqueradeBit != nil {
in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.IPTablesDropBit != nil { if in.IPTablesDropBit != nil {
in, out := &in.IPTablesDropBit, &out.IPTablesDropBit in, out := &in.IPTablesDropBit, &out.IPTablesDropBit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.FeatureGates != nil { if in.FeatureGates != nil {
in, out := &in.FeatureGates, &out.FeatureGates in, out := &in.FeatureGates, &out.FeatureGates
@ -311,21 +246,13 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
} }
if in.FailSwapOn != nil { if in.FailSwapOn != nil {
in, out := &in.FailSwapOn, &out.FailSwapOn in, out := &in.FailSwapOn, &out.FailSwapOn
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.ContainerLogMaxFiles != nil { if in.ContainerLogMaxFiles != nil {
in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.SystemReserved != nil { if in.SystemReserved != nil {
in, out := &in.SystemReserved, &out.SystemReserved in, out := &in.SystemReserved, &out.SystemReserved
@ -372,12 +299,8 @@ func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthenti
*out = *in *out = *in
if in.Enabled != nil { if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled in, out := &in.Enabled, &out.Enabled
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
out.CacheTTL = in.CacheTTL out.CacheTTL = in.CacheTTL
return return

View File

@ -87,12 +87,15 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader
*out = make(map[string][]string, len(*in)) *out = make(map[string][]string, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make([]string, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
if in.TLSCipherSuites != nil { if in.TLSCipherSuites != nil {

View File

@ -57,12 +57,8 @@ func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) {
in.IPVS.DeepCopyInto(&out.IPVS) in.IPVS.DeepCopyInto(&out.IPVS)
if in.OOMScoreAdj != nil { if in.OOMScoreAdj != nil {
in, out := &in.OOMScoreAdj, &out.OOMScoreAdj in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.UDPIdleTimeout = in.UDPIdleTimeout out.UDPIdleTimeout = in.UDPIdleTimeout
in.Conntrack.DeepCopyInto(&out.Conntrack) in.Conntrack.DeepCopyInto(&out.Conntrack)
@ -98,48 +94,28 @@ func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackC
*out = *in *out = *in
if in.Max != nil { if in.Max != nil {
in, out := &in.Max, &out.Max in, out := &in.Max, &out.Max
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.MaxPerCore != nil { if in.MaxPerCore != nil {
in, out := &in.MaxPerCore, &out.MaxPerCore in, out := &in.MaxPerCore, &out.MaxPerCore
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Min != nil { if in.Min != nil {
in, out := &in.Min, &out.Min in, out := &in.Min, &out.Min
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.TCPEstablishedTimeout != nil { if in.TCPEstablishedTimeout != nil {
in, out := &in.TCPEstablishedTimeout, &out.TCPEstablishedTimeout in, out := &in.TCPEstablishedTimeout, &out.TCPEstablishedTimeout
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.TCPCloseWaitTimeout != nil { if in.TCPCloseWaitTimeout != nil {
in, out := &in.TCPCloseWaitTimeout, &out.TCPCloseWaitTimeout in, out := &in.TCPCloseWaitTimeout, &out.TCPCloseWaitTimeout
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
return return
} }
@ -159,12 +135,8 @@ func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesCon
*out = *in *out = *in
if in.MasqueradeBit != nil { if in.MasqueradeBit != nil {
in, out := &in.MasqueradeBit, &out.MasqueradeBit in, out := &in.MasqueradeBit, &out.MasqueradeBit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.SyncPeriod = in.SyncPeriod out.SyncPeriod = in.SyncPeriod
out.MinSyncPeriod = in.MinSyncPeriod out.MinSyncPeriod = in.MinSyncPeriod

View File

@ -79,12 +79,8 @@ func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) {
in.IPVS.DeepCopyInto(&out.IPVS) in.IPVS.DeepCopyInto(&out.IPVS)
if in.OOMScoreAdj != nil { if in.OOMScoreAdj != nil {
in, out := &in.OOMScoreAdj, &out.OOMScoreAdj in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.UDPIdleTimeout = in.UDPIdleTimeout out.UDPIdleTimeout = in.UDPIdleTimeout
in.Conntrack.DeepCopyInto(&out.Conntrack) in.Conntrack.DeepCopyInto(&out.Conntrack)
@ -120,48 +116,28 @@ func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackC
*out = *in *out = *in
if in.Max != nil { if in.Max != nil {
in, out := &in.Max, &out.Max in, out := &in.Max, &out.Max
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.MaxPerCore != nil { if in.MaxPerCore != nil {
in, out := &in.MaxPerCore, &out.MaxPerCore in, out := &in.MaxPerCore, &out.MaxPerCore
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Min != nil { if in.Min != nil {
in, out := &in.Min, &out.Min in, out := &in.Min, &out.Min
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.TCPEstablishedTimeout != nil { if in.TCPEstablishedTimeout != nil {
in, out := &in.TCPEstablishedTimeout, &out.TCPEstablishedTimeout in, out := &in.TCPEstablishedTimeout, &out.TCPEstablishedTimeout
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
if in.TCPCloseWaitTimeout != nil { if in.TCPCloseWaitTimeout != nil {
in, out := &in.TCPCloseWaitTimeout, &out.TCPCloseWaitTimeout in, out := &in.TCPCloseWaitTimeout, &out.TCPCloseWaitTimeout
if *in == nil { *out = new(v1.Duration)
*out = nil **out = **in
} else {
*out = new(v1.Duration)
**out = **in
}
} }
return return
} }
@ -181,12 +157,8 @@ func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesCon
*out = *in *out = *in
if in.MasqueradeBit != nil { if in.MasqueradeBit != nil {
in, out := &in.MasqueradeBit, &out.MasqueradeBit in, out := &in.MasqueradeBit, &out.MasqueradeBit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.SyncPeriod = in.SyncPeriod out.SyncPeriod = in.SyncPeriod
out.MinSyncPeriod = in.MinSyncPeriod out.MinSyncPeriod = in.MinSyncPeriod

View File

@ -29,12 +29,8 @@ func (in *ClusterRoleBindingAdapter) DeepCopyInto(out *ClusterRoleBindingAdapter
*out = *in *out = *in
if in.ClusterRoleBinding != nil { if in.ClusterRoleBinding != nil {
in, out := &in.ClusterRoleBinding, &out.ClusterRoleBinding in, out := &in.ClusterRoleBinding, &out.ClusterRoleBinding
if *in == nil { *out = new(v1.ClusterRoleBinding)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.ClusterRoleBinding)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -59,12 +55,8 @@ func (in *ClusterRoleRuleOwner) DeepCopyInto(out *ClusterRoleRuleOwner) {
*out = *in *out = *in
if in.ClusterRole != nil { if in.ClusterRole != nil {
in, out := &in.ClusterRole, &out.ClusterRole in, out := &in.ClusterRole, &out.ClusterRole
if *in == nil { *out = new(v1.ClusterRole)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.ClusterRole)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -89,12 +81,8 @@ func (in *RoleBindingAdapter) DeepCopyInto(out *RoleBindingAdapter) {
*out = *in *out = *in
if in.RoleBinding != nil { if in.RoleBinding != nil {
in, out := &in.RoleBinding, &out.RoleBinding in, out := &in.RoleBinding, &out.RoleBinding
if *in == nil { *out = new(v1.RoleBinding)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.RoleBinding)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -119,12 +107,8 @@ func (in *RoleRuleOwner) DeepCopyInto(out *RoleRuleOwner) {
*out = *in *out = *in
if in.Role != nil { if in.Role != nil {
in, out := &in.Role, &out.Role in, out := &in.Role, &out.Role
if *in == nil { *out = new(v1.Role)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.Role)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -31,33 +31,21 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) {
*out = *in *out = *in
if in.Pod != nil { if in.Pod != nil {
in, out := &in.Pod, &out.Pod in, out := &in.Pod, &out.Pod
if *in == nil { *out = new(core_v1.Pod)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(core_v1.Pod)
(*in).DeepCopyInto(*out)
}
} }
if in.Nodes != nil { if in.Nodes != nil {
in, out := &in.Nodes, &out.Nodes in, out := &in.Nodes, &out.Nodes
if *in == nil { *out = new(core_v1.NodeList)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(core_v1.NodeList)
(*in).DeepCopyInto(*out)
}
} }
if in.NodeNames != nil { if in.NodeNames != nil {
in, out := &in.NodeNames, &out.NodeNames in, out := &in.NodeNames, &out.NodeNames
if *in == nil { *out = new([]string)
*out = nil if **in != nil {
} else { in, out := *in, *out
*out = new([]string) *out = make([]string, len(*in))
if **in != nil { copy(*out, *in)
in, out := *in, *out
*out = make([]string, len(*in))
copy(*out, *in)
}
} }
} }
return return
@ -110,12 +98,8 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) {
*out = *in *out = *in
if in.TLSConfig != nil { if in.TLSConfig != nil {
in, out := &in.TLSConfig, &out.TLSConfig in, out := &in.TLSConfig, &out.TLSConfig
if *in == nil { *out = new(rest.TLSClientConfig)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(rest.TLSClientConfig)
(*in).DeepCopyInto(*out)
}
} }
if in.ManagedResources != nil { if in.ManagedResources != nil {
in, out := &in.ManagedResources, &out.ManagedResources in, out := &in.ManagedResources, &out.ManagedResources
@ -140,24 +124,16 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) {
*out = *in *out = *in
if in.Nodes != nil { if in.Nodes != nil {
in, out := &in.Nodes, &out.Nodes in, out := &in.Nodes, &out.Nodes
if *in == nil { *out = new(core_v1.NodeList)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(core_v1.NodeList)
(*in).DeepCopyInto(*out)
}
} }
if in.NodeNames != nil { if in.NodeNames != nil {
in, out := &in.NodeNames, &out.NodeNames in, out := &in.NodeNames, &out.NodeNames
if *in == nil { *out = new([]string)
*out = nil if **in != nil {
} else { in, out := *in, *out
*out = new([]string) *out = make([]string, len(*in))
if **in != nil { copy(*out, *in)
in, out := *in, *out
*out = make([]string, len(*in))
copy(*out, *in)
}
} }
} }
if in.FailedNodes != nil { if in.FailedNodes != nil {
@ -201,35 +177,37 @@ func (in *ExtenderPreemptionArgs) DeepCopyInto(out *ExtenderPreemptionArgs) {
*out = *in *out = *in
if in.Pod != nil { if in.Pod != nil {
in, out := &in.Pod, &out.Pod in, out := &in.Pod, &out.Pod
if *in == nil { *out = new(core_v1.Pod)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(core_v1.Pod)
(*in).DeepCopyInto(*out)
}
} }
if in.NodeNameToVictims != nil { if in.NodeNameToVictims != nil {
in, out := &in.NodeNameToVictims, &out.NodeNameToVictims in, out := &in.NodeNameToVictims, &out.NodeNameToVictims
*out = make(map[string]*Victims, len(*in)) *out = make(map[string]*Victims, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *Victims
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(Victims) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(Victims)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.NodeNameToMetaVictims != nil { if in.NodeNameToMetaVictims != nil {
in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims
*out = make(map[string]*MetaVictims, len(*in)) *out = make(map[string]*MetaVictims, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *MetaVictims
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(MetaVictims) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(MetaVictims)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
return return
@ -252,12 +230,15 @@ func (in *ExtenderPreemptionResult) DeepCopyInto(out *ExtenderPreemptionResult)
in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims
*out = make(map[string]*MetaVictims, len(*in)) *out = make(map[string]*MetaVictims, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *MetaVictims
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(MetaVictims) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(MetaVictims)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
return return
@ -394,8 +375,9 @@ func (in *MetaVictims) DeepCopyInto(out *MetaVictims) {
if (*in)[i] == nil { if (*in)[i] == nil {
(*out)[i] = nil (*out)[i] = nil
} else { } else {
(*out)[i] = new(MetaPod) in, out := &(*in)[i], &(*out)[i]
(*in)[i].DeepCopyInto((*out)[i]) *out = new(MetaPod)
**out = **in
} }
} }
} }
@ -463,21 +445,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) {
*out = *in *out = *in
if in.ServiceAffinity != nil { if in.ServiceAffinity != nil {
in, out := &in.ServiceAffinity, &out.ServiceAffinity in, out := &in.ServiceAffinity, &out.ServiceAffinity
if *in == nil { *out = new(ServiceAffinity)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ServiceAffinity)
(*in).DeepCopyInto(*out)
}
} }
if in.LabelsPresence != nil { if in.LabelsPresence != nil {
in, out := &in.LabelsPresence, &out.LabelsPresence in, out := &in.LabelsPresence, &out.LabelsPresence
if *in == nil { *out = new(LabelsPresence)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(LabelsPresence)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -497,12 +471,8 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) {
*out = *in *out = *in
if in.Argument != nil { if in.Argument != nil {
in, out := &in.Argument, &out.Argument in, out := &in.Argument, &out.Argument
if *in == nil { *out = new(PredicateArgument)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PredicateArgument)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -522,30 +492,18 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) {
*out = *in *out = *in
if in.ServiceAntiAffinity != nil { if in.ServiceAntiAffinity != nil {
in, out := &in.ServiceAntiAffinity, &out.ServiceAntiAffinity in, out := &in.ServiceAntiAffinity, &out.ServiceAntiAffinity
if *in == nil { *out = new(ServiceAntiAffinity)
*out = nil **out = **in
} else {
*out = new(ServiceAntiAffinity)
**out = **in
}
} }
if in.LabelPreference != nil { if in.LabelPreference != nil {
in, out := &in.LabelPreference, &out.LabelPreference in, out := &in.LabelPreference, &out.LabelPreference
if *in == nil { *out = new(LabelPreference)
*out = nil **out = **in
} else {
*out = new(LabelPreference)
**out = **in
}
} }
if in.RequestedToCapacityRatioArguments != nil { if in.RequestedToCapacityRatioArguments != nil {
in, out := &in.RequestedToCapacityRatioArguments, &out.RequestedToCapacityRatioArguments in, out := &in.RequestedToCapacityRatioArguments, &out.RequestedToCapacityRatioArguments
if *in == nil { *out = new(RequestedToCapacityRatioArguments)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RequestedToCapacityRatioArguments)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -565,12 +523,8 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) {
*out = *in *out = *in
if in.Argument != nil { if in.Argument != nil {
in, out := &in.Argument, &out.Argument in, out := &in.Argument, &out.Argument
if *in == nil { *out = new(PriorityArgument)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PriorityArgument)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -669,8 +623,9 @@ func (in *Victims) DeepCopyInto(out *Victims) {
if (*in)[i] == nil { if (*in)[i] == nil {
(*out)[i] = nil (*out)[i] = nil
} else { } else {
(*out)[i] = new(core_v1.Pod) in, out := &(*in)[i], &(*out)[i]
(*in)[i].DeepCopyInto((*out)[i]) *out = new(core_v1.Pod)
(*in).DeepCopyInto(*out)
} }
} }
} }

View File

@ -31,33 +31,21 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) {
*out = *in *out = *in
if in.Pod != nil { if in.Pod != nil {
in, out := &in.Pod, &out.Pod in, out := &in.Pod, &out.Pod
if *in == nil { *out = new(v1.Pod)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.Pod)
(*in).DeepCopyInto(*out)
}
} }
if in.Nodes != nil { if in.Nodes != nil {
in, out := &in.Nodes, &out.Nodes in, out := &in.Nodes, &out.Nodes
if *in == nil { *out = new(v1.NodeList)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.NodeList)
(*in).DeepCopyInto(*out)
}
} }
if in.NodeNames != nil { if in.NodeNames != nil {
in, out := &in.NodeNames, &out.NodeNames in, out := &in.NodeNames, &out.NodeNames
if *in == nil { *out = new([]string)
*out = nil if **in != nil {
} else { in, out := *in, *out
*out = new([]string) *out = make([]string, len(*in))
if **in != nil { copy(*out, *in)
in, out := *in, *out
*out = make([]string, len(*in))
copy(*out, *in)
}
} }
} }
return return
@ -110,12 +98,8 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) {
*out = *in *out = *in
if in.TLSConfig != nil { if in.TLSConfig != nil {
in, out := &in.TLSConfig, &out.TLSConfig in, out := &in.TLSConfig, &out.TLSConfig
if *in == nil { *out = new(rest.TLSClientConfig)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(rest.TLSClientConfig)
(*in).DeepCopyInto(*out)
}
} }
if in.ManagedResources != nil { if in.ManagedResources != nil {
in, out := &in.ManagedResources, &out.ManagedResources in, out := &in.ManagedResources, &out.ManagedResources
@ -140,24 +124,16 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) {
*out = *in *out = *in
if in.Nodes != nil { if in.Nodes != nil {
in, out := &in.Nodes, &out.Nodes in, out := &in.Nodes, &out.Nodes
if *in == nil { *out = new(v1.NodeList)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.NodeList)
(*in).DeepCopyInto(*out)
}
} }
if in.NodeNames != nil { if in.NodeNames != nil {
in, out := &in.NodeNames, &out.NodeNames in, out := &in.NodeNames, &out.NodeNames
if *in == nil { *out = new([]string)
*out = nil if **in != nil {
} else { in, out := *in, *out
*out = new([]string) *out = make([]string, len(*in))
if **in != nil { copy(*out, *in)
in, out := *in, *out
*out = make([]string, len(*in))
copy(*out, *in)
}
} }
} }
if in.FailedNodes != nil { if in.FailedNodes != nil {
@ -201,35 +177,37 @@ func (in *ExtenderPreemptionArgs) DeepCopyInto(out *ExtenderPreemptionArgs) {
*out = *in *out = *in
if in.Pod != nil { if in.Pod != nil {
in, out := &in.Pod, &out.Pod in, out := &in.Pod, &out.Pod
if *in == nil { *out = new(v1.Pod)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.Pod)
(*in).DeepCopyInto(*out)
}
} }
if in.NodeNameToVictims != nil { if in.NodeNameToVictims != nil {
in, out := &in.NodeNameToVictims, &out.NodeNameToVictims in, out := &in.NodeNameToVictims, &out.NodeNameToVictims
*out = make(map[string]*Victims, len(*in)) *out = make(map[string]*Victims, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *Victims
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(Victims) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(Victims)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.NodeNameToMetaVictims != nil { if in.NodeNameToMetaVictims != nil {
in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims
*out = make(map[string]*MetaVictims, len(*in)) *out = make(map[string]*MetaVictims, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *MetaVictims
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(MetaVictims) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(MetaVictims)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
return return
@ -252,12 +230,15 @@ func (in *ExtenderPreemptionResult) DeepCopyInto(out *ExtenderPreemptionResult)
in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims
*out = make(map[string]*MetaVictims, len(*in)) *out = make(map[string]*MetaVictims, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *MetaVictims
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(MetaVictims) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(MetaVictims)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
return return
@ -394,8 +375,9 @@ func (in *MetaVictims) DeepCopyInto(out *MetaVictims) {
if (*in)[i] == nil { if (*in)[i] == nil {
(*out)[i] = nil (*out)[i] = nil
} else { } else {
(*out)[i] = new(MetaPod) in, out := &(*in)[i], &(*out)[i]
(*in)[i].DeepCopyInto((*out)[i]) *out = new(MetaPod)
**out = **in
} }
} }
} }
@ -463,21 +445,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) {
*out = *in *out = *in
if in.ServiceAffinity != nil { if in.ServiceAffinity != nil {
in, out := &in.ServiceAffinity, &out.ServiceAffinity in, out := &in.ServiceAffinity, &out.ServiceAffinity
if *in == nil { *out = new(ServiceAffinity)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ServiceAffinity)
(*in).DeepCopyInto(*out)
}
} }
if in.LabelsPresence != nil { if in.LabelsPresence != nil {
in, out := &in.LabelsPresence, &out.LabelsPresence in, out := &in.LabelsPresence, &out.LabelsPresence
if *in == nil { *out = new(LabelsPresence)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(LabelsPresence)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -497,12 +471,8 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) {
*out = *in *out = *in
if in.Argument != nil { if in.Argument != nil {
in, out := &in.Argument, &out.Argument in, out := &in.Argument, &out.Argument
if *in == nil { *out = new(PredicateArgument)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PredicateArgument)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -522,30 +492,18 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) {
*out = *in *out = *in
if in.ServiceAntiAffinity != nil { if in.ServiceAntiAffinity != nil {
in, out := &in.ServiceAntiAffinity, &out.ServiceAntiAffinity in, out := &in.ServiceAntiAffinity, &out.ServiceAntiAffinity
if *in == nil { *out = new(ServiceAntiAffinity)
*out = nil **out = **in
} else {
*out = new(ServiceAntiAffinity)
**out = **in
}
} }
if in.LabelPreference != nil { if in.LabelPreference != nil {
in, out := &in.LabelPreference, &out.LabelPreference in, out := &in.LabelPreference, &out.LabelPreference
if *in == nil { *out = new(LabelPreference)
*out = nil **out = **in
} else {
*out = new(LabelPreference)
**out = **in
}
} }
if in.RequestedToCapacityRatioArguments != nil { if in.RequestedToCapacityRatioArguments != nil {
in, out := &in.RequestedToCapacityRatioArguments, &out.RequestedToCapacityRatioArguments in, out := &in.RequestedToCapacityRatioArguments, &out.RequestedToCapacityRatioArguments
if *in == nil { *out = new(RequestedToCapacityRatioArguments)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RequestedToCapacityRatioArguments)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -565,12 +523,8 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) {
*out = *in *out = *in
if in.Argument != nil { if in.Argument != nil {
in, out := &in.Argument, &out.Argument in, out := &in.Argument, &out.Argument
if *in == nil { *out = new(PriorityArgument)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PriorityArgument)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -669,8 +623,9 @@ func (in *Victims) DeepCopyInto(out *Victims) {
if (*in)[i] == nil { if (*in)[i] == nil {
(*out)[i] = nil (*out)[i] = nil
} else { } else {
(*out)[i] = new(v1.Pod) in, out := &(*in)[i], &(*out)[i]
(*in)[i].DeepCopyInto((*out)[i]) *out = new(v1.Pod)
(*in).DeepCopyInto(*out)
} }
} }
} }

View File

@ -51,12 +51,8 @@ func (in *AdmissionResponse) DeepCopyInto(out *AdmissionResponse) {
*out = *in *out = *in
if in.Result != nil { if in.Result != nil {
in, out := &in.Result, &out.Result in, out := &in.Result, &out.Result
if *in == nil { *out = new(v1.Status)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.Status)
(*in).DeepCopyInto(*out)
}
} }
if in.Patch != nil { if in.Patch != nil {
in, out := &in.Patch, &out.Patch in, out := &in.Patch, &out.Patch
@ -65,12 +61,8 @@ func (in *AdmissionResponse) DeepCopyInto(out *AdmissionResponse) {
} }
if in.PatchType != nil { if in.PatchType != nil {
in, out := &in.PatchType, &out.PatchType in, out := &in.PatchType, &out.PatchType
if *in == nil { *out = new(PatchType)
*out = nil **out = **in
} else {
*out = new(PatchType)
**out = **in
}
} }
return return
} }
@ -91,21 +83,13 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) {
out.TypeMeta = in.TypeMeta out.TypeMeta = in.TypeMeta
if in.Request != nil { if in.Request != nil {
in, out := &in.Request, &out.Request in, out := &in.Request, &out.Request
if *in == nil { *out = new(AdmissionRequest)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AdmissionRequest)
(*in).DeepCopyInto(*out)
}
} }
if in.Response != nil { if in.Response != nil {
in, out := &in.Response, &out.Response in, out := &in.Response, &out.Response
if *in == nil { *out = new(AdmissionResponse)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AdmissionResponse)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -149,12 +149,8 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
*out = *in *out = *in
if in.Path != nil { if in.Path != nil {
in, out := &in.Path, &out.Path in, out := &in.Path, &out.Path
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -248,21 +244,13 @@ func (in *Webhook) DeepCopyInto(out *Webhook) {
} }
if in.FailurePolicy != nil { if in.FailurePolicy != nil {
in, out := &in.FailurePolicy, &out.FailurePolicy in, out := &in.FailurePolicy, &out.FailurePolicy
if *in == nil { *out = new(FailurePolicyType)
*out = nil **out = **in
} else {
*out = new(FailurePolicyType)
**out = **in
}
} }
if in.NamespaceSelector != nil { if in.NamespaceSelector != nil {
in, out := &in.NamespaceSelector, &out.NamespaceSelector in, out := &in.NamespaceSelector, &out.NamespaceSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -282,21 +270,13 @@ func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
*out = *in *out = *in
if in.URL != nil { if in.URL != nil {
in, out := &in.URL, &out.URL in, out := &in.URL, &out.URL
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
if in.Service != nil { if in.Service != nil {
in, out := &in.Service, &out.Service in, out := &in.Service, &out.Service
if *in == nil { *out = new(ServiceReference)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ServiceReference)
(*in).DeepCopyInto(*out)
}
} }
if in.CABundle != nil { if in.CABundle != nil {
in, out := &in.CABundle, &out.CABundle in, out := &in.CABundle, &out.CABundle

View File

@ -170,23 +170,15 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -206,12 +198,8 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
*out = *in *out = *in
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -238,12 +226,8 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDaemonSet)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateDaemonSet)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -342,41 +326,25 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.Strategy.DeepCopyInto(&out.Strategy) in.Strategy.DeepCopyInto(&out.Strategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.ProgressDeadlineSeconds != nil { if in.ProgressDeadlineSeconds != nil {
in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -403,12 +371,8 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
} }
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -428,12 +392,8 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDeployment)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateDeployment)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -531,21 +491,13 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return return
@ -589,12 +541,8 @@ func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
*out = *in *out = *in
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -614,21 +562,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
*out = *in *out = *in
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
if in.MaxSurge != nil { if in.MaxSurge != nil {
in, out := &in.MaxSurge, &out.MaxSurge in, out := &in.MaxSurge, &out.MaxSurge
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -648,12 +588,8 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
*out = *in *out = *in
if in.Partition != nil { if in.Partition != nil {
in, out := &in.Partition, &out.Partition in, out := &in.Partition, &out.Partition
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -751,21 +687,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
if in.VolumeClaimTemplates != nil { if in.VolumeClaimTemplates != nil {
@ -778,12 +706,8 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -803,12 +727,8 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
*out = *in *out = *in
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -835,12 +755,8 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateStatefulSetStrategy)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateStatefulSetStrategy)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -204,50 +204,30 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.Strategy.DeepCopyInto(&out.Strategy) in.Strategy.DeepCopyInto(&out.Strategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.RollbackTo != nil { if in.RollbackTo != nil {
in, out := &in.RollbackTo, &out.RollbackTo in, out := &in.RollbackTo, &out.RollbackTo
if *in == nil { *out = new(RollbackConfig)
*out = nil **out = **in
} else {
*out = new(RollbackConfig)
**out = **in
}
} }
if in.ProgressDeadlineSeconds != nil { if in.ProgressDeadlineSeconds != nil {
in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -274,12 +254,8 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
} }
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -299,12 +275,8 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDeployment)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateDeployment)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -340,21 +312,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
*out = *in *out = *in
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
if in.MaxSurge != nil { if in.MaxSurge != nil {
in, out := &in.MaxSurge, &out.MaxSurge in, out := &in.MaxSurge, &out.MaxSurge
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -374,12 +338,8 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
*out = *in *out = *in
if in.Partition != nil { if in.Partition != nil {
in, out := &in.Partition, &out.Partition in, out := &in.Partition, &out.Partition
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -544,21 +504,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
if in.VolumeClaimTemplates != nil { if in.VolumeClaimTemplates != nil {
@ -571,12 +523,8 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -596,21 +544,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
*out = *in *out = *in
if in.ObservedGeneration != nil { if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration in, out := &in.ObservedGeneration, &out.ObservedGeneration
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -637,12 +577,8 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateStatefulSetStrategy)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateStatefulSetStrategy)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -170,23 +170,15 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -206,12 +198,8 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
*out = *in *out = *in
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -238,12 +226,8 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDaemonSet)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateDaemonSet)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -342,41 +326,25 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.Strategy.DeepCopyInto(&out.Strategy) in.Strategy.DeepCopyInto(&out.Strategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.ProgressDeadlineSeconds != nil { if in.ProgressDeadlineSeconds != nil {
in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -403,12 +371,8 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
} }
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -428,12 +392,8 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDeployment)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateDeployment)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -531,21 +491,13 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return return
@ -589,12 +541,8 @@ func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
*out = *in *out = *in
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -614,21 +562,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
*out = *in *out = *in
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
if in.MaxSurge != nil { if in.MaxSurge != nil {
in, out := &in.MaxSurge, &out.MaxSurge in, out := &in.MaxSurge, &out.MaxSurge
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -648,12 +588,8 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
*out = *in *out = *in
if in.Partition != nil { if in.Partition != nil {
in, out := &in.Partition, &out.Partition in, out := &in.Partition, &out.Partition
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -818,21 +754,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
if in.VolumeClaimTemplates != nil { if in.VolumeClaimTemplates != nil {
@ -845,12 +773,8 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -870,12 +794,8 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
*out = *in *out = *in
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -902,12 +822,8 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateStatefulSetStrategy)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateStatefulSetStrategy)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -98,21 +98,13 @@ func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
} }
if in.ExpirationSeconds != nil { if in.ExpirationSeconds != nil {
in, out := &in.ExpirationSeconds, &out.ExpirationSeconds in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.BoundObjectRef != nil { if in.BoundObjectRef != nil {
in, out := &in.BoundObjectRef, &out.BoundObjectRef in, out := &in.BoundObjectRef, &out.BoundObjectRef
if *in == nil { *out = new(BoundObjectReference)
*out = nil **out = **in
} else {
*out = new(BoundObjectReference)
**out = **in
}
} }
return return
} }
@ -217,12 +209,15 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -117,12 +117,15 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -199,21 +199,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview
*out = *in *out = *in
if in.ResourceAttributes != nil { if in.ResourceAttributes != nil {
in, out := &in.ResourceAttributes, &out.ResourceAttributes in, out := &in.ResourceAttributes, &out.ResourceAttributes
if *in == nil { *out = new(ResourceAttributes)
*out = nil **out = **in
} else {
*out = new(ResourceAttributes)
**out = **in
}
} }
if in.NonResourceAttributes != nil { if in.NonResourceAttributes != nil {
in, out := &in.NonResourceAttributes, &out.NonResourceAttributes in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
if *in == nil { *out = new(NonResourceAttributes)
*out = nil **out = **in
} else {
*out = new(NonResourceAttributes)
**out = **in
}
} }
return return
} }
@ -305,21 +297,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
*out = *in *out = *in
if in.ResourceAttributes != nil { if in.ResourceAttributes != nil {
in, out := &in.ResourceAttributes, &out.ResourceAttributes in, out := &in.ResourceAttributes, &out.ResourceAttributes
if *in == nil { *out = new(ResourceAttributes)
*out = nil **out = **in
} else {
*out = new(ResourceAttributes)
**out = **in
}
} }
if in.NonResourceAttributes != nil { if in.NonResourceAttributes != nil {
in, out := &in.NonResourceAttributes, &out.NonResourceAttributes in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
if *in == nil { *out = new(NonResourceAttributes)
*out = nil **out = **in
} else {
*out = new(NonResourceAttributes)
**out = **in
}
} }
if in.Groups != nil { if in.Groups != nil {
in, out := &in.Groups, &out.Groups in, out := &in.Groups, &out.Groups
@ -330,12 +314,15 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -199,21 +199,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview
*out = *in *out = *in
if in.ResourceAttributes != nil { if in.ResourceAttributes != nil {
in, out := &in.ResourceAttributes, &out.ResourceAttributes in, out := &in.ResourceAttributes, &out.ResourceAttributes
if *in == nil { *out = new(ResourceAttributes)
*out = nil **out = **in
} else {
*out = new(ResourceAttributes)
**out = **in
}
} }
if in.NonResourceAttributes != nil { if in.NonResourceAttributes != nil {
in, out := &in.NonResourceAttributes, &out.NonResourceAttributes in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
if *in == nil { *out = new(NonResourceAttributes)
*out = nil **out = **in
} else {
*out = new(NonResourceAttributes)
**out = **in
}
} }
return return
} }
@ -305,21 +297,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
*out = *in *out = *in
if in.ResourceAttributes != nil { if in.ResourceAttributes != nil {
in, out := &in.ResourceAttributes, &out.ResourceAttributes in, out := &in.ResourceAttributes, &out.ResourceAttributes
if *in == nil { *out = new(ResourceAttributes)
*out = nil **out = **in
} else {
*out = new(ResourceAttributes)
**out = **in
}
} }
if in.NonResourceAttributes != nil { if in.NonResourceAttributes != nil {
in, out := &in.NonResourceAttributes, &out.NonResourceAttributes in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
if *in == nil { *out = new(NonResourceAttributes)
*out = nil **out = **in
} else {
*out = new(NonResourceAttributes)
**out = **in
}
} }
if in.Groups != nil { if in.Groups != nil {
in, out := &in.Groups, &out.Groups in, out := &in.Groups, &out.Groups
@ -330,12 +314,15 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -46,30 +46,18 @@ func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) {
*out = *in *out = *in
if in.MetricSelector != nil { if in.MetricSelector != nil {
in, out := &in.MetricSelector, &out.MetricSelector in, out := &in.MetricSelector, &out.MetricSelector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.TargetValue != nil { if in.TargetValue != nil {
in, out := &in.TargetValue, &out.TargetValue in, out := &in.TargetValue, &out.TargetValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
if in.TargetAverageValue != nil { if in.TargetAverageValue != nil {
in, out := &in.TargetAverageValue, &out.TargetAverageValue in, out := &in.TargetAverageValue, &out.TargetAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -89,22 +77,14 @@ func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) {
*out = *in *out = *in
if in.MetricSelector != nil { if in.MetricSelector != nil {
in, out := &in.MetricSelector, &out.MetricSelector in, out := &in.MetricSelector, &out.MetricSelector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
out.CurrentValue = in.CurrentValue.DeepCopy() out.CurrentValue = in.CurrentValue.DeepCopy()
if in.CurrentAverageValue != nil { if in.CurrentAverageValue != nil {
in, out := &in.CurrentAverageValue, &out.CurrentAverageValue in, out := &in.CurrentAverageValue, &out.CurrentAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -203,21 +183,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler
out.ScaleTargetRef = in.ScaleTargetRef out.ScaleTargetRef = in.ScaleTargetRef
if in.MinReplicas != nil { if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas in, out := &in.MinReplicas, &out.MinReplicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.TargetCPUUtilizationPercentage != nil { if in.TargetCPUUtilizationPercentage != nil {
in, out := &in.TargetCPUUtilizationPercentage, &out.TargetCPUUtilizationPercentage in, out := &in.TargetCPUUtilizationPercentage, &out.TargetCPUUtilizationPercentage
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -237,29 +209,17 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal
*out = *in *out = *in
if in.ObservedGeneration != nil { if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration in, out := &in.ObservedGeneration, &out.ObservedGeneration
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.LastScaleTime != nil { if in.LastScaleTime != nil {
in, out := &in.LastScaleTime, &out.LastScaleTime in, out := &in.LastScaleTime, &out.LastScaleTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.CurrentCPUUtilizationPercentage != nil { if in.CurrentCPUUtilizationPercentage != nil {
in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -279,39 +239,23 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
*out = *in *out = *in
if in.Object != nil { if in.Object != nil {
in, out := &in.Object, &out.Object in, out := &in.Object, &out.Object
if *in == nil { *out = new(ObjectMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ObjectMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.Pods != nil { if in.Pods != nil {
in, out := &in.Pods, &out.Pods in, out := &in.Pods, &out.Pods
if *in == nil { *out = new(PodsMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PodsMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.Resource != nil { if in.Resource != nil {
in, out := &in.Resource, &out.Resource in, out := &in.Resource, &out.Resource
if *in == nil { *out = new(ResourceMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ResourceMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalMetricSource)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -331,39 +275,23 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
*out = *in *out = *in
if in.Object != nil { if in.Object != nil {
in, out := &in.Object, &out.Object in, out := &in.Object, &out.Object
if *in == nil { *out = new(ObjectMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ObjectMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.Pods != nil { if in.Pods != nil {
in, out := &in.Pods, &out.Pods in, out := &in.Pods, &out.Pods
if *in == nil { *out = new(PodsMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PodsMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.Resource != nil { if in.Resource != nil {
in, out := &in.Resource, &out.Resource in, out := &in.Resource, &out.Resource
if *in == nil { *out = new(ResourceMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ResourceMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -453,21 +381,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
*out = *in *out = *in
if in.TargetAverageUtilization != nil { if in.TargetAverageUtilization != nil {
in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.TargetAverageValue != nil { if in.TargetAverageValue != nil {
in, out := &in.TargetAverageValue, &out.TargetAverageValue in, out := &in.TargetAverageValue, &out.TargetAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -487,12 +407,8 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
*out = *in *out = *in
if in.CurrentAverageUtilization != nil { if in.CurrentAverageUtilization != nil {
in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy() out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
return return

View File

@ -46,30 +46,18 @@ func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) {
*out = *in *out = *in
if in.MetricSelector != nil { if in.MetricSelector != nil {
in, out := &in.MetricSelector, &out.MetricSelector in, out := &in.MetricSelector, &out.MetricSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.TargetValue != nil { if in.TargetValue != nil {
in, out := &in.TargetValue, &out.TargetValue in, out := &in.TargetValue, &out.TargetValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
if in.TargetAverageValue != nil { if in.TargetAverageValue != nil {
in, out := &in.TargetAverageValue, &out.TargetAverageValue in, out := &in.TargetAverageValue, &out.TargetAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -89,22 +77,14 @@ func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) {
*out = *in *out = *in
if in.MetricSelector != nil { if in.MetricSelector != nil {
in, out := &in.MetricSelector, &out.MetricSelector in, out := &in.MetricSelector, &out.MetricSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
out.CurrentValue = in.CurrentValue.DeepCopy() out.CurrentValue = in.CurrentValue.DeepCopy()
if in.CurrentAverageValue != nil { if in.CurrentAverageValue != nil {
in, out := &in.CurrentAverageValue, &out.CurrentAverageValue in, out := &in.CurrentAverageValue, &out.CurrentAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -203,12 +183,8 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler
out.ScaleTargetRef = in.ScaleTargetRef out.ScaleTargetRef = in.ScaleTargetRef
if in.MinReplicas != nil { if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas in, out := &in.MinReplicas, &out.MinReplicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Metrics != nil { if in.Metrics != nil {
in, out := &in.Metrics, &out.Metrics in, out := &in.Metrics, &out.Metrics
@ -235,20 +211,12 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal
*out = *in *out = *in
if in.ObservedGeneration != nil { if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration in, out := &in.ObservedGeneration, &out.ObservedGeneration
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.LastScaleTime != nil { if in.LastScaleTime != nil {
in, out := &in.LastScaleTime, &out.LastScaleTime in, out := &in.LastScaleTime, &out.LastScaleTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.CurrentMetrics != nil { if in.CurrentMetrics != nil {
in, out := &in.CurrentMetrics, &out.CurrentMetrics in, out := &in.CurrentMetrics, &out.CurrentMetrics
@ -282,39 +250,23 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
*out = *in *out = *in
if in.Object != nil { if in.Object != nil {
in, out := &in.Object, &out.Object in, out := &in.Object, &out.Object
if *in == nil { *out = new(ObjectMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ObjectMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.Pods != nil { if in.Pods != nil {
in, out := &in.Pods, &out.Pods in, out := &in.Pods, &out.Pods
if *in == nil { *out = new(PodsMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PodsMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.Resource != nil { if in.Resource != nil {
in, out := &in.Resource, &out.Resource in, out := &in.Resource, &out.Resource
if *in == nil { *out = new(ResourceMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ResourceMetricSource)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalMetricSource)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalMetricSource)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -334,39 +286,23 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
*out = *in *out = *in
if in.Object != nil { if in.Object != nil {
in, out := &in.Object, &out.Object in, out := &in.Object, &out.Object
if *in == nil { *out = new(ObjectMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ObjectMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.Pods != nil { if in.Pods != nil {
in, out := &in.Pods, &out.Pods in, out := &in.Pods, &out.Pods
if *in == nil { *out = new(PodsMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(PodsMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.Resource != nil { if in.Resource != nil {
in, out := &in.Resource, &out.Resource in, out := &in.Resource, &out.Resource
if *in == nil { *out = new(ResourceMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ResourceMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
if in.External != nil { if in.External != nil {
in, out := &in.External, &out.External in, out := &in.External, &out.External
if *in == nil { *out = new(ExternalMetricStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExternalMetricStatus)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -456,21 +392,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
*out = *in *out = *in
if in.TargetAverageUtilization != nil { if in.TargetAverageUtilization != nil {
in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.TargetAverageValue != nil { if in.TargetAverageValue != nil {
in, out := &in.TargetAverageValue, &out.TargetAverageValue in, out := &in.TargetAverageValue, &out.TargetAverageValue
if *in == nil { x := (*in).DeepCopy()
*out = nil *out = &x
} else {
x := (*in).DeepCopy()
*out = &x
}
} }
return return
} }
@ -490,12 +418,8 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
*out = *in *out = *in
if in.CurrentAverageUtilization != nil { if in.CurrentAverageUtilization != nil {
in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy() out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
return return

View File

@ -109,57 +109,33 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) {
*out = *in *out = *in
if in.Parallelism != nil { if in.Parallelism != nil {
in, out := &in.Parallelism, &out.Parallelism in, out := &in.Parallelism, &out.Parallelism
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Completions != nil { if in.Completions != nil {
in, out := &in.Completions, &out.Completions in, out := &in.Completions, &out.Completions
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.ActiveDeadlineSeconds != nil { if in.ActiveDeadlineSeconds != nil {
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.BackoffLimit != nil { if in.BackoffLimit != nil {
in, out := &in.BackoffLimit, &out.BackoffLimit in, out := &in.BackoffLimit, &out.BackoffLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.ManualSelector != nil { if in.ManualSelector != nil {
in, out := &in.ManualSelector, &out.ManualSelector in, out := &in.ManualSelector, &out.ManualSelector
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return return
@ -187,19 +163,11 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.CompletionTime != nil { if in.CompletionTime != nil {
in, out := &in.CompletionTime, &out.CompletionTime in, out := &in.CompletionTime, &out.CompletionTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -91,40 +91,24 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
*out = *in *out = *in
if in.StartingDeadlineSeconds != nil { if in.StartingDeadlineSeconds != nil {
in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.Suspend != nil { if in.Suspend != nil {
in, out := &in.Suspend, &out.Suspend in, out := &in.Suspend, &out.Suspend
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
in.JobTemplate.DeepCopyInto(&out.JobTemplate) in.JobTemplate.DeepCopyInto(&out.JobTemplate)
if in.SuccessfulJobsHistoryLimit != nil { if in.SuccessfulJobsHistoryLimit != nil {
in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.FailedJobsHistoryLimit != nil { if in.FailedJobsHistoryLimit != nil {
in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -149,11 +133,7 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
} }
if in.LastScheduleTime != nil { if in.LastScheduleTime != nil {
in, out := &in.LastScheduleTime, &out.LastScheduleTime in, out := &in.LastScheduleTime, &out.LastScheduleTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -91,40 +91,24 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
*out = *in *out = *in
if in.StartingDeadlineSeconds != nil { if in.StartingDeadlineSeconds != nil {
in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.Suspend != nil { if in.Suspend != nil {
in, out := &in.Suspend, &out.Suspend in, out := &in.Suspend, &out.Suspend
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
in.JobTemplate.DeepCopyInto(&out.JobTemplate) in.JobTemplate.DeepCopyInto(&out.JobTemplate)
if in.SuccessfulJobsHistoryLimit != nil { if in.SuccessfulJobsHistoryLimit != nil {
in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.FailedJobsHistoryLimit != nil { if in.FailedJobsHistoryLimit != nil {
in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -149,11 +133,7 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
} }
if in.LastScheduleTime != nil { if in.LastScheduleTime != nil {
in, out := &in.LastScheduleTime, &out.LastScheduleTime in, out := &in.LastScheduleTime, &out.LastScheduleTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -124,12 +124,15 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

File diff suppressed because it is too large Load Diff

View File

@ -33,22 +33,14 @@ func (in *Event) DeepCopyInto(out *Event) {
in.EventTime.DeepCopyInto(&out.EventTime) in.EventTime.DeepCopyInto(&out.EventTime)
if in.Series != nil { if in.Series != nil {
in, out := &in.Series, &out.Series in, out := &in.Series, &out.Series
if *in == nil { *out = new(EventSeries)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(EventSeries)
(*in).DeepCopyInto(*out)
}
} }
out.Regarding = in.Regarding out.Regarding = in.Regarding
if in.Related != nil { if in.Related != nil {
in, out := &in.Related, &out.Related in, out := &in.Related, &out.Related
if *in == nil { *out = new(v1.ObjectReference)
*out = nil **out = **in
} else {
*out = new(v1.ObjectReference)
**out = **in
}
} }
out.DeprecatedSource = in.DeprecatedSource out.DeprecatedSource = in.DeprecatedSource
in.DeprecatedFirstTimestamp.DeepCopyInto(&out.DeprecatedFirstTimestamp) in.DeprecatedFirstTimestamp.DeepCopyInto(&out.DeprecatedFirstTimestamp)

View File

@ -222,23 +222,15 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -258,12 +250,8 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
*out = *in *out = *in
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Conditions != nil { if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions in, out := &in.Conditions, &out.Conditions
@ -290,12 +278,8 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDaemonSet)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateDaemonSet)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -427,50 +411,30 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
in.Strategy.DeepCopyInto(&out.Strategy) in.Strategy.DeepCopyInto(&out.Strategy)
if in.RevisionHistoryLimit != nil { if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.RollbackTo != nil { if in.RollbackTo != nil {
in, out := &in.RollbackTo, &out.RollbackTo in, out := &in.RollbackTo, &out.RollbackTo
if *in == nil { *out = new(RollbackConfig)
*out = nil **out = **in
} else {
*out = new(RollbackConfig)
**out = **in
}
} }
if in.ProgressDeadlineSeconds != nil { if in.ProgressDeadlineSeconds != nil {
in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -497,12 +461,8 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
} }
if in.CollisionCount != nil { if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount in, out := &in.CollisionCount, &out.CollisionCount
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }
@ -522,12 +482,8 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
*out = *in *out = *in
if in.RollingUpdate != nil { if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate in, out := &in.RollingUpdate, &out.RollingUpdate
if *in == nil { *out = new(RollingUpdateDeployment)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(RollingUpdateDeployment)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -754,12 +710,8 @@ func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
*out = *in *out = *in
if in.HTTP != nil { if in.HTTP != nil {
in, out := &in.HTTP, &out.HTTP in, out := &in.HTTP, &out.HTTP
if *in == nil { *out = new(HTTPIngressRuleValue)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(HTTPIngressRuleValue)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -779,12 +731,8 @@ func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
*out = *in *out = *in
if in.Backend != nil { if in.Backend != nil {
in, out := &in.Backend, &out.Backend in, out := &in.Backend, &out.Backend
if *in == nil { *out = new(IngressBackend)
*out = nil **out = **in
} else {
*out = new(IngressBackend)
**out = **in
}
} }
if in.TLS != nil { if in.TLS != nil {
in, out := &in.TLS, &out.TLS in, out := &in.TLS, &out.TLS
@ -976,30 +924,18 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
*out = *in *out = *in
if in.PodSelector != nil { if in.PodSelector != nil {
in, out := &in.PodSelector, &out.PodSelector in, out := &in.PodSelector, &out.PodSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.NamespaceSelector != nil { if in.NamespaceSelector != nil {
in, out := &in.NamespaceSelector, &out.NamespaceSelector in, out := &in.NamespaceSelector, &out.NamespaceSelector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.IPBlock != nil { if in.IPBlock != nil {
in, out := &in.IPBlock, &out.IPBlock in, out := &in.IPBlock, &out.IPBlock
if *in == nil { *out = new(IPBlock)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(IPBlock)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -1019,21 +955,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
*out = *in *out = *in
if in.Protocol != nil { if in.Protocol != nil {
in, out := &in.Protocol, &out.Protocol in, out := &in.Protocol, &out.Protocol
if *in == nil { *out = new(core_v1.Protocol)
*out = nil **out = **in
} else {
*out = new(core_v1.Protocol)
**out = **in
}
} }
if in.Port != nil { if in.Port != nil {
in, out := &in.Port, &out.Port in, out := &in.Port, &out.Port
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -1178,21 +1106,13 @@ func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) {
in.FSGroup.DeepCopyInto(&out.FSGroup) in.FSGroup.DeepCopyInto(&out.FSGroup)
if in.DefaultAllowPrivilegeEscalation != nil { if in.DefaultAllowPrivilegeEscalation != nil {
in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.AllowPrivilegeEscalation != nil { if in.AllowPrivilegeEscalation != nil {
in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.AllowedHostPaths != nil { if in.AllowedHostPaths != nil {
in, out := &in.AllowedHostPaths, &out.AllowedHostPaths in, out := &in.AllowedHostPaths, &out.AllowedHostPaths
@ -1310,21 +1230,13 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
in.Template.DeepCopyInto(&out.Template) in.Template.DeepCopyInto(&out.Template)
return return
@ -1409,12 +1321,8 @@ func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
*out = *in *out = *in
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -1434,21 +1342,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
*out = *in *out = *in
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
if in.MaxSurge != nil { if in.MaxSurge != nil {
in, out := &in.MaxSurge, &out.MaxSurge in, out := &in.MaxSurge, &out.MaxSurge
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -1489,12 +1389,8 @@ func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) {
*out = *in *out = *in
if in.SELinuxOptions != nil { if in.SELinuxOptions != nil {
in, out := &in.SELinuxOptions, &out.SELinuxOptions in, out := &in.SELinuxOptions, &out.SELinuxOptions
if *in == nil { *out = new(core_v1.SELinuxOptions)
*out = nil **out = **in
} else {
*out = new(core_v1.SELinuxOptions)
**out = **in
}
} }
return return
} }

View File

@ -173,30 +173,18 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
*out = *in *out = *in
if in.PodSelector != nil { if in.PodSelector != nil {
in, out := &in.PodSelector, &out.PodSelector in, out := &in.PodSelector, &out.PodSelector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.NamespaceSelector != nil { if in.NamespaceSelector != nil {
in, out := &in.NamespaceSelector, &out.NamespaceSelector in, out := &in.NamespaceSelector, &out.NamespaceSelector
if *in == nil { *out = new(meta_v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.IPBlock != nil { if in.IPBlock != nil {
in, out := &in.IPBlock, &out.IPBlock in, out := &in.IPBlock, &out.IPBlock
if *in == nil { *out = new(IPBlock)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(IPBlock)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -216,21 +204,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
*out = *in *out = *in
if in.Protocol != nil { if in.Protocol != nil {
in, out := &in.Protocol, &out.Protocol in, out := &in.Protocol, &out.Protocol
if *in == nil { *out = new(core_v1.Protocol)
*out = nil **out = **in
} else {
*out = new(core_v1.Protocol)
**out = **in
}
} }
if in.Port != nil { if in.Port != nil {
in, out := &in.Port, &out.Port in, out := &in.Port, &out.Port
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }

View File

@ -66,12 +66,8 @@ func (in *Eviction) DeepCopyInto(out *Eviction) {
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
if in.DeleteOptions != nil { if in.DeleteOptions != nil {
in, out := &in.DeleteOptions, &out.DeleteOptions in, out := &in.DeleteOptions, &out.DeleteOptions
if *in == nil { *out = new(v1.DeleteOptions)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.DeleteOptions)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -213,30 +209,18 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
*out = *in *out = *in
if in.MinAvailable != nil { if in.MinAvailable != nil {
in, out := &in.MinAvailable, &out.MinAvailable in, out := &in.MinAvailable, &out.MinAvailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
if in.MaxUnavailable != nil { if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil { *out = new(intstr.IntOrString)
*out = nil **out = **in
} else {
*out = new(intstr.IntOrString)
**out = **in
}
} }
return return
} }
@ -368,21 +352,13 @@ func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) {
in.FSGroup.DeepCopyInto(&out.FSGroup) in.FSGroup.DeepCopyInto(&out.FSGroup)
if in.DefaultAllowPrivilegeEscalation != nil { if in.DefaultAllowPrivilegeEscalation != nil {
in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.AllowPrivilegeEscalation != nil { if in.AllowPrivilegeEscalation != nil {
in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.AllowedHostPaths != nil { if in.AllowedHostPaths != nil {
in, out := &in.AllowedHostPaths, &out.AllowedHostPaths in, out := &in.AllowedHostPaths, &out.AllowedHostPaths
@ -443,12 +419,8 @@ func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) {
*out = *in *out = *in
if in.SELinuxOptions != nil { if in.SELinuxOptions != nil {
in, out := &in.SELinuxOptions, &out.SELinuxOptions in, out := &in.SELinuxOptions, &out.SELinuxOptions
if *in == nil { *out = new(core_v1.SELinuxOptions)
*out = nil **out = **in
} else {
*out = new(core_v1.SELinuxOptions)
**out = **in
}
} }
return return
} }

View File

@ -62,12 +62,8 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
} }
if in.AggregationRule != nil { if in.AggregationRule != nil {
in, out := &in.AggregationRule, &out.AggregationRule in, out := &in.AggregationRule, &out.AggregationRule
if *in == nil { *out = new(AggregationRule)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AggregationRule)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -62,12 +62,8 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
} }
if in.AggregationRule != nil { if in.AggregationRule != nil {
in, out := &in.AggregationRule, &out.AggregationRule in, out := &in.AggregationRule, &out.AggregationRule
if *in == nil { *out = new(AggregationRule)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AggregationRule)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -62,12 +62,8 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
} }
if in.AggregationRule != nil { if in.AggregationRule != nil {
in, out := &in.AggregationRule, &out.AggregationRule in, out := &in.AggregationRule, &out.AggregationRule
if *in == nil { *out = new(AggregationRule)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AggregationRule)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -39,12 +39,8 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
} }
if in.ReclaimPolicy != nil { if in.ReclaimPolicy != nil {
in, out := &in.ReclaimPolicy, &out.ReclaimPolicy in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
if *in == nil { *out = new(core_v1.PersistentVolumeReclaimPolicy)
*out = nil **out = **in
} else {
*out = new(core_v1.PersistentVolumeReclaimPolicy)
**out = **in
}
} }
if in.MountOptions != nil { if in.MountOptions != nil {
in, out := &in.MountOptions, &out.MountOptions in, out := &in.MountOptions, &out.MountOptions
@ -53,21 +49,13 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
} }
if in.AllowVolumeExpansion != nil { if in.AllowVolumeExpansion != nil {
in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.VolumeBindingMode != nil { if in.VolumeBindingMode != nil {
in, out := &in.VolumeBindingMode, &out.VolumeBindingMode in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
if *in == nil { *out = new(VolumeBindingMode)
*out = nil **out = **in
} else {
*out = new(VolumeBindingMode)
**out = **in
}
} }
if in.AllowedTopologies != nil { if in.AllowedTopologies != nil {
in, out := &in.AllowedTopologies, &out.AllowedTopologies in, out := &in.AllowedTopologies, &out.AllowedTopologies

View File

@ -90,12 +90,8 @@ func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
*out = *in *out = *in
if in.PersistentVolumeName != nil { if in.PersistentVolumeName != nil {
in, out := &in.PersistentVolumeName, &out.PersistentVolumeName in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -139,21 +135,13 @@ func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
} }
if in.AttachError != nil { if in.AttachError != nil {
in, out := &in.AttachError, &out.AttachError in, out := &in.AttachError, &out.AttachError
if *in == nil { *out = new(VolumeError)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
} }
if in.DetachError != nil { if in.DetachError != nil {
in, out := &in.DetachError, &out.DetachError in, out := &in.DetachError, &out.DetachError
if *in == nil { *out = new(VolumeError)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -39,12 +39,8 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
} }
if in.ReclaimPolicy != nil { if in.ReclaimPolicy != nil {
in, out := &in.ReclaimPolicy, &out.ReclaimPolicy in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
if *in == nil { *out = new(v1.PersistentVolumeReclaimPolicy)
*out = nil **out = **in
} else {
*out = new(v1.PersistentVolumeReclaimPolicy)
**out = **in
}
} }
if in.MountOptions != nil { if in.MountOptions != nil {
in, out := &in.MountOptions, &out.MountOptions in, out := &in.MountOptions, &out.MountOptions
@ -53,21 +49,13 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
} }
if in.AllowVolumeExpansion != nil { if in.AllowVolumeExpansion != nil {
in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.VolumeBindingMode != nil { if in.VolumeBindingMode != nil {
in, out := &in.VolumeBindingMode, &out.VolumeBindingMode in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
if *in == nil { *out = new(VolumeBindingMode)
*out = nil **out = **in
} else {
*out = new(VolumeBindingMode)
**out = **in
}
} }
if in.AllowedTopologies != nil { if in.AllowedTopologies != nil {
in, out := &in.AllowedTopologies, &out.AllowedTopologies in, out := &in.AllowedTopologies, &out.AllowedTopologies
@ -196,12 +184,8 @@ func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
*out = *in *out = *in
if in.PersistentVolumeName != nil { if in.PersistentVolumeName != nil {
in, out := &in.PersistentVolumeName, &out.PersistentVolumeName in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -245,21 +229,13 @@ func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
} }
if in.AttachError != nil { if in.AttachError != nil {
in, out := &in.AttachError, &out.AttachError in, out := &in.AttachError, &out.AttachError
if *in == nil { *out = new(VolumeError)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
} }
if in.DetachError != nil { if in.DetachError != nil {
in, out := &in.DetachError, &out.DetachError in, out := &in.DetachError, &out.DetachError
if *in == nil { *out = new(VolumeError)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(VolumeError)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -150,21 +150,13 @@ func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefiniti
in.Names.DeepCopyInto(&out.Names) in.Names.DeepCopyInto(&out.Names)
if in.Validation != nil { if in.Validation != nil {
in, out := &in.Validation, &out.Validation in, out := &in.Validation, &out.Validation
if *in == nil { *out = new(CustomResourceValidation)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(CustomResourceValidation)
(*in).DeepCopyInto(*out)
}
} }
if in.Subresources != nil { if in.Subresources != nil {
in, out := &in.Subresources, &out.Subresources in, out := &in.Subresources, &out.Subresources
if *in == nil { *out = new(CustomResourceSubresources)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(CustomResourceSubresources)
(*in).DeepCopyInto(*out)
}
} }
if in.Versions != nil { if in.Versions != nil {
in, out := &in.Versions, &out.Versions in, out := &in.Versions, &out.Versions
@ -239,12 +231,8 @@ func (in *CustomResourceSubresourceScale) DeepCopyInto(out *CustomResourceSubres
*out = *in *out = *in
if in.LabelSelectorPath != nil { if in.LabelSelectorPath != nil {
in, out := &in.LabelSelectorPath, &out.LabelSelectorPath in, out := &in.LabelSelectorPath, &out.LabelSelectorPath
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -280,21 +268,13 @@ func (in *CustomResourceSubresources) DeepCopyInto(out *CustomResourceSubresourc
*out = *in *out = *in
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil { *out = new(CustomResourceSubresourceStatus)
*out = nil **out = **in
} else {
*out = new(CustomResourceSubresourceStatus)
**out = **in
}
} }
if in.Scale != nil { if in.Scale != nil {
in, out := &in.Scale, &out.Scale in, out := &in.Scale, &out.Scale
if *in == nil { *out = new(CustomResourceSubresourceScale)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(CustomResourceSubresourceScale)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -314,11 +294,7 @@ func (in *CustomResourceValidation) DeepCopyInto(out *CustomResourceValidation)
*out = *in *out = *in
if in.OpenAPIV3Schema != nil { if in.OpenAPIV3Schema != nil {
in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }
@ -426,11 +402,7 @@ func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
*out = *in *out = *in
if in.Schema != nil { if in.Schema != nil {
in, out := &in.Schema, &out.Schema in, out := &in.Schema, &out.Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.JSONSchemas != nil { if in.JSONSchemas != nil {
in, out := &in.JSONSchemas, &out.JSONSchemas in, out := &in.JSONSchemas, &out.JSONSchemas
@ -457,11 +429,7 @@ func (in *JSONSchemaPropsOrBool) DeepCopyInto(out *JSONSchemaPropsOrBool) {
*out = *in *out = *in
if in.Schema != nil { if in.Schema != nil {
in, out := &in.Schema, &out.Schema in, out := &in.Schema, &out.Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }
@ -481,11 +449,7 @@ func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out *JSONSchemaPropsOrStrin
*out = *in *out = *in
if in.Schema != nil { if in.Schema != nil {
in, out := &in.Schema, &out.Schema in, out := &in.Schema, &out.Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.Property != nil { if in.Property != nil {
in, out := &in.Property, &out.Property in, out := &in.Property, &out.Property

View File

@ -150,21 +150,13 @@ func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefiniti
in.Names.DeepCopyInto(&out.Names) in.Names.DeepCopyInto(&out.Names)
if in.Validation != nil { if in.Validation != nil {
in, out := &in.Validation, &out.Validation in, out := &in.Validation, &out.Validation
if *in == nil { *out = new(CustomResourceValidation)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(CustomResourceValidation)
(*in).DeepCopyInto(*out)
}
} }
if in.Subresources != nil { if in.Subresources != nil {
in, out := &in.Subresources, &out.Subresources in, out := &in.Subresources, &out.Subresources
if *in == nil { *out = new(CustomResourceSubresources)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(CustomResourceSubresources)
(*in).DeepCopyInto(*out)
}
} }
if in.Versions != nil { if in.Versions != nil {
in, out := &in.Versions, &out.Versions in, out := &in.Versions, &out.Versions
@ -239,12 +231,8 @@ func (in *CustomResourceSubresourceScale) DeepCopyInto(out *CustomResourceSubres
*out = *in *out = *in
if in.LabelSelectorPath != nil { if in.LabelSelectorPath != nil {
in, out := &in.LabelSelectorPath, &out.LabelSelectorPath in, out := &in.LabelSelectorPath, &out.LabelSelectorPath
if *in == nil { *out = new(string)
*out = nil **out = **in
} else {
*out = new(string)
**out = **in
}
} }
return return
} }
@ -280,21 +268,13 @@ func (in *CustomResourceSubresources) DeepCopyInto(out *CustomResourceSubresourc
*out = *in *out = *in
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil { *out = new(CustomResourceSubresourceStatus)
*out = nil **out = **in
} else {
*out = new(CustomResourceSubresourceStatus)
**out = **in
}
} }
if in.Scale != nil { if in.Scale != nil {
in, out := &in.Scale, &out.Scale in, out := &in.Scale, &out.Scale
if *in == nil { *out = new(CustomResourceSubresourceScale)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(CustomResourceSubresourceScale)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -314,11 +294,7 @@ func (in *CustomResourceValidation) DeepCopyInto(out *CustomResourceValidation)
*out = *in *out = *in
if in.OpenAPIV3Schema != nil { if in.OpenAPIV3Schema != nil {
in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }
@ -405,11 +381,7 @@ func (in *JSONSchemaPropsOrArray) DeepCopyInto(out *JSONSchemaPropsOrArray) {
*out = *in *out = *in
if in.Schema != nil { if in.Schema != nil {
in, out := &in.Schema, &out.Schema in, out := &in.Schema, &out.Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.JSONSchemas != nil { if in.JSONSchemas != nil {
in, out := &in.JSONSchemas, &out.JSONSchemas in, out := &in.JSONSchemas, &out.JSONSchemas
@ -436,11 +408,7 @@ func (in *JSONSchemaPropsOrBool) DeepCopyInto(out *JSONSchemaPropsOrBool) {
*out = *in *out = *in
if in.Schema != nil { if in.Schema != nil {
in, out := &in.Schema, &out.Schema in, out := &in.Schema, &out.Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }
@ -460,11 +428,7 @@ func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out *JSONSchemaPropsOrStrin
*out = *in *out = *in
if in.Schema != nil { if in.Schema != nil {
in, out := &in.Schema, &out.Schema in, out := &in.Schema, &out.Schema
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.Property != nil { if in.Property != nil {
in, out := &in.Property, &out.Property in, out := &in.Property, &out.Property

View File

@ -77,12 +77,8 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) {
} }
if in.TimeoutSeconds != nil { if in.TimeoutSeconds != nil {
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
return return
} }

View File

@ -197,39 +197,23 @@ func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions) {
out.TypeMeta = in.TypeMeta out.TypeMeta = in.TypeMeta
if in.GracePeriodSeconds != nil { if in.GracePeriodSeconds != nil {
in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.Preconditions != nil { if in.Preconditions != nil {
in, out := &in.Preconditions, &out.Preconditions in, out := &in.Preconditions, &out.Preconditions
if *in == nil { *out = new(Preconditions)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(Preconditions)
(*in).DeepCopyInto(*out)
}
} }
if in.OrphanDependents != nil { if in.OrphanDependents != nil {
in, out := &in.OrphanDependents, &out.OrphanDependents in, out := &in.OrphanDependents, &out.OrphanDependents
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.PropagationPolicy != nil { if in.PropagationPolicy != nil {
in, out := &in.PropagationPolicy, &out.PropagationPolicy in, out := &in.PropagationPolicy, &out.PropagationPolicy
if *in == nil { *out = new(DeletionPropagation)
*out = nil **out = **in
} else {
*out = new(DeletionPropagation)
**out = **in
}
} }
return return
} }
@ -440,12 +424,8 @@ func (in *Initializers) DeepCopyInto(out *Initializers) {
} }
if in.Result != nil { if in.Result != nil {
in, out := &in.Result, &out.Result in, out := &in.Result, &out.Result
if *in == nil { *out = new(Status)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(Status)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -587,12 +567,8 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) {
out.TypeMeta = in.TypeMeta out.TypeMeta = in.TypeMeta
if in.TimeoutSeconds != nil { if in.TimeoutSeconds != nil {
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
return return
} }
@ -631,20 +607,12 @@ func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) {
in.CreationTimestamp.DeepCopyInto(&out.CreationTimestamp) in.CreationTimestamp.DeepCopyInto(&out.CreationTimestamp)
if in.DeletionTimestamp != nil { if in.DeletionTimestamp != nil {
in, out := &in.DeletionTimestamp, &out.DeletionTimestamp in, out := &in.DeletionTimestamp, &out.DeletionTimestamp
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
if in.DeletionGracePeriodSeconds != nil { if in.DeletionGracePeriodSeconds != nil {
in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.Labels != nil { if in.Labels != nil {
in, out := &in.Labels, &out.Labels in, out := &in.Labels, &out.Labels
@ -669,12 +637,8 @@ func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) {
} }
if in.Initializers != nil { if in.Initializers != nil {
in, out := &in.Initializers, &out.Initializers in, out := &in.Initializers, &out.Initializers
if *in == nil { *out = new(Initializers)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(Initializers)
(*in).DeepCopyInto(*out)
}
} }
if in.Finalizers != nil { if in.Finalizers != nil {
in, out := &in.Finalizers, &out.Finalizers in, out := &in.Finalizers, &out.Finalizers
@ -699,21 +663,13 @@ func (in *OwnerReference) DeepCopyInto(out *OwnerReference) {
*out = *in *out = *in
if in.Controller != nil { if in.Controller != nil {
in, out := &in.Controller, &out.Controller in, out := &in.Controller, &out.Controller
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
if in.BlockOwnerDeletion != nil { if in.BlockOwnerDeletion != nil {
in, out := &in.BlockOwnerDeletion, &out.BlockOwnerDeletion in, out := &in.BlockOwnerDeletion, &out.BlockOwnerDeletion
if *in == nil { *out = new(bool)
*out = nil **out = **in
} else {
*out = new(bool)
**out = **in
}
} }
return return
} }
@ -749,12 +705,8 @@ func (in *Preconditions) DeepCopyInto(out *Preconditions) {
*out = *in *out = *in
if in.UID != nil { if in.UID != nil {
in, out := &in.UID, &out.UID in, out := &in.UID, &out.UID
if *in == nil { *out = new(types.UID)
*out = nil **out = **in
} else {
*out = new(types.UID)
**out = **in
}
} }
return return
} }
@ -813,12 +765,8 @@ func (in *Status) DeepCopyInto(out *Status) {
out.ListMeta = in.ListMeta out.ListMeta = in.ListMeta
if in.Details != nil { if in.Details != nil {
in, out := &in.Details, &out.Details in, out := &in.Details, &out.Details
if *in == nil { *out = new(StatusDetails)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(StatusDetails)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -61,8 +61,9 @@ func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList
if (*in)[i] == nil { if (*in)[i] == nil {
(*out)[i] = nil (*out)[i] = nil
} else { } else {
(*out)[i] = new(PartialObjectMetadata) in, out := &(*in)[i], &(*out)[i]
(*in)[i].DeepCopyInto((*out)[i]) *out = new(PartialObjectMetadata)
(*in).DeepCopyInto(*out)
} }
} }
} }

View File

@ -108,21 +108,13 @@ func (in *CarpSpec) DeepCopyInto(out *CarpSpec) {
*out = *in *out = *in
if in.TerminationGracePeriodSeconds != nil { if in.TerminationGracePeriodSeconds != nil {
in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.ActiveDeadlineSeconds != nil { if in.ActiveDeadlineSeconds != nil {
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.NodeSelector != nil { if in.NodeSelector != nil {
in, out := &in.NodeSelector, &out.NodeSelector in, out := &in.NodeSelector, &out.NodeSelector
@ -156,11 +148,7 @@ func (in *CarpStatus) DeepCopyInto(out *CarpStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -108,21 +108,13 @@ func (in *CarpSpec) DeepCopyInto(out *CarpSpec) {
*out = *in *out = *in
if in.TerminationGracePeriodSeconds != nil { if in.TerminationGracePeriodSeconds != nil {
in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.ActiveDeadlineSeconds != nil { if in.ActiveDeadlineSeconds != nil {
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.NodeSelector != nil { if in.NodeSelector != nil {
in, out := &in.NodeSelector, &out.NodeSelector in, out := &in.NodeSelector, &out.NodeSelector
@ -156,11 +148,7 @@ func (in *CarpStatus) DeepCopyInto(out *CarpStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -70,12 +70,8 @@ func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1) {
} }
if in.O != nil { if in.O != nil {
in, out := &in.O, &out.O in, out := &in.O, &out.O
if *in == nil { *out = new(ExternalTestType2)
*out = nil **out = **in
} else {
*out = new(ExternalTestType2)
**out = **in
}
} }
if in.P != nil { if in.P != nil {
in, out := &in.P, &out.P in, out := &in.P, &out.P
@ -147,12 +143,8 @@ func (in *TestType1) DeepCopyInto(out *TestType1) {
} }
if in.O != nil { if in.O != nil {
in, out := &in.O, &out.O in, out := &in.O, &out.O
if *in == nil { *out = new(TestType2)
*out = nil **out = **in
} else {
*out = new(TestType2)
**out = **in
}
} }
if in.P != nil { if in.P != nil {
in, out := &in.P, &out.P in, out := &in.P, &out.P

View File

@ -284,12 +284,8 @@ func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1) {
} }
if in.O != nil { if in.O != nil {
in, out := &in.O, &out.O in, out := &in.O, &out.O
if *in == nil { *out = new(ExternalTestType2)
*out = nil **out = **in
} else {
*out = new(ExternalTestType2)
**out = **in
}
} }
if in.P != nil { if in.P != nil {
in, out := &in.P, &out.P in, out := &in.P, &out.P
@ -539,12 +535,8 @@ func (in *TestType1) DeepCopyInto(out *TestType1) {
} }
if in.O != nil { if in.O != nil {
in, out := &in.O, &out.O in, out := &in.O, &out.O
if *in == nil { *out = new(TestType2)
*out = nil **out = **in
} else {
*out = new(TestType2)
**out = **in
}
} }
if in.P != nil { if in.P != nil {
in, out := &in.P, &out.P in, out := &in.P, &out.P

View File

@ -61,12 +61,8 @@ func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfigu
*out = *in *out = *in
if in.Configuration != nil { if in.Configuration != nil {
in, out := &in.Configuration, &out.Configuration in, out := &in.Configuration, &out.Configuration
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -61,12 +61,8 @@ func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfigu
*out = *in *out = *in
if in.Configuration != nil { if in.Configuration != nil {
in, out := &in.Configuration, &out.Configuration in, out := &in.Configuration, &out.Configuration
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -35,12 +35,8 @@ func (in *Event) DeepCopyInto(out *Event) {
in.User.DeepCopyInto(&out.User) in.User.DeepCopyInto(&out.User)
if in.ImpersonatedUser != nil { if in.ImpersonatedUser != nil {
in, out := &in.ImpersonatedUser, &out.ImpersonatedUser in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
if *in == nil { *out = new(v1.UserInfo)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.UserInfo)
(*in).DeepCopyInto(*out)
}
} }
if in.SourceIPs != nil { if in.SourceIPs != nil {
in, out := &in.SourceIPs, &out.SourceIPs in, out := &in.SourceIPs, &out.SourceIPs
@ -49,39 +45,23 @@ func (in *Event) DeepCopyInto(out *Event) {
} }
if in.ObjectRef != nil { if in.ObjectRef != nil {
in, out := &in.ObjectRef, &out.ObjectRef in, out := &in.ObjectRef, &out.ObjectRef
if *in == nil { *out = new(ObjectReference)
*out = nil **out = **in
} else {
*out = new(ObjectReference)
**out = **in
}
} }
if in.ResponseStatus != nil { if in.ResponseStatus != nil {
in, out := &in.ResponseStatus, &out.ResponseStatus in, out := &in.ResponseStatus, &out.ResponseStatus
if *in == nil { *out = new(meta_v1.Status)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.Status)
(*in).DeepCopyInto(*out)
}
} }
if in.RequestObject != nil { if in.RequestObject != nil {
in, out := &in.RequestObject, &out.RequestObject in, out := &in.RequestObject, &out.RequestObject
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
if in.ResponseObject != nil { if in.ResponseObject != nil {
in, out := &in.ResponseObject, &out.ResponseObject in, out := &in.ResponseObject, &out.ResponseObject
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
in.RequestReceivedTimestamp.DeepCopyInto(&out.RequestReceivedTimestamp) in.RequestReceivedTimestamp.DeepCopyInto(&out.RequestReceivedTimestamp)
in.StageTimestamp.DeepCopyInto(&out.StageTimestamp) in.StageTimestamp.DeepCopyInto(&out.StageTimestamp)

View File

@ -35,12 +35,8 @@ func (in *Event) DeepCopyInto(out *Event) {
in.User.DeepCopyInto(&out.User) in.User.DeepCopyInto(&out.User)
if in.ImpersonatedUser != nil { if in.ImpersonatedUser != nil {
in, out := &in.ImpersonatedUser, &out.ImpersonatedUser in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
if *in == nil { *out = new(v1.UserInfo)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.UserInfo)
(*in).DeepCopyInto(*out)
}
} }
if in.SourceIPs != nil { if in.SourceIPs != nil {
in, out := &in.SourceIPs, &out.SourceIPs in, out := &in.SourceIPs, &out.SourceIPs
@ -49,39 +45,23 @@ func (in *Event) DeepCopyInto(out *Event) {
} }
if in.ObjectRef != nil { if in.ObjectRef != nil {
in, out := &in.ObjectRef, &out.ObjectRef in, out := &in.ObjectRef, &out.ObjectRef
if *in == nil { *out = new(ObjectReference)
*out = nil **out = **in
} else {
*out = new(ObjectReference)
**out = **in
}
} }
if in.ResponseStatus != nil { if in.ResponseStatus != nil {
in, out := &in.ResponseStatus, &out.ResponseStatus in, out := &in.ResponseStatus, &out.ResponseStatus
if *in == nil { *out = new(meta_v1.Status)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(meta_v1.Status)
(*in).DeepCopyInto(*out)
}
} }
if in.RequestObject != nil { if in.RequestObject != nil {
in, out := &in.RequestObject, &out.RequestObject in, out := &in.RequestObject, &out.RequestObject
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
if in.ResponseObject != nil { if in.ResponseObject != nil {
in, out := &in.ResponseObject, &out.ResponseObject in, out := &in.ResponseObject, &out.ResponseObject
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
in.RequestReceivedTimestamp.DeepCopyInto(&out.RequestReceivedTimestamp) in.RequestReceivedTimestamp.DeepCopyInto(&out.RequestReceivedTimestamp)
in.StageTimestamp.DeepCopyInto(&out.StageTimestamp) in.StageTimestamp.DeepCopyInto(&out.StageTimestamp)

View File

@ -32,12 +32,8 @@ func (in *Event) DeepCopyInto(out *Event) {
in.User.DeepCopyInto(&out.User) in.User.DeepCopyInto(&out.User)
if in.ImpersonatedUser != nil { if in.ImpersonatedUser != nil {
in, out := &in.ImpersonatedUser, &out.ImpersonatedUser in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
if *in == nil { *out = new(UserInfo)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(UserInfo)
(*in).DeepCopyInto(*out)
}
} }
if in.SourceIPs != nil { if in.SourceIPs != nil {
in, out := &in.SourceIPs, &out.SourceIPs in, out := &in.SourceIPs, &out.SourceIPs
@ -46,39 +42,23 @@ func (in *Event) DeepCopyInto(out *Event) {
} }
if in.ObjectRef != nil { if in.ObjectRef != nil {
in, out := &in.ObjectRef, &out.ObjectRef in, out := &in.ObjectRef, &out.ObjectRef
if *in == nil { *out = new(ObjectReference)
*out = nil **out = **in
} else {
*out = new(ObjectReference)
**out = **in
}
} }
if in.ResponseStatus != nil { if in.ResponseStatus != nil {
in, out := &in.ResponseStatus, &out.ResponseStatus in, out := &in.ResponseStatus, &out.ResponseStatus
if *in == nil { *out = new(v1.Status)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.Status)
(*in).DeepCopyInto(*out)
}
} }
if in.RequestObject != nil { if in.RequestObject != nil {
in, out := &in.RequestObject, &out.RequestObject in, out := &in.RequestObject, &out.RequestObject
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
if in.ResponseObject != nil { if in.ResponseObject != nil {
in, out := &in.ResponseObject, &out.ResponseObject in, out := &in.ResponseObject, &out.ResponseObject
if *in == nil { *out = new(runtime.Unknown)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(runtime.Unknown)
(*in).DeepCopyInto(*out)
}
} }
in.RequestReceivedTimestamp.DeepCopyInto(&out.RequestReceivedTimestamp) in.RequestReceivedTimestamp.DeepCopyInto(&out.RequestReceivedTimestamp)
in.StageTimestamp.DeepCopyInto(&out.StageTimestamp) in.StageTimestamp.DeepCopyInto(&out.StageTimestamp)
@ -341,12 +321,15 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
in, out := &in.Extra, &out.Extra in, out := &in.Extra, &out.Extra
*out = make(map[string]ExtraValue, len(*in)) *out = make(map[string]ExtraValue, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make(ExtraValue, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -108,21 +108,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) {
*out = *in *out = *in
if in.TerminationGracePeriodSeconds != nil { if in.TerminationGracePeriodSeconds != nil {
in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.ActiveDeadlineSeconds != nil { if in.ActiveDeadlineSeconds != nil {
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.NodeSelector != nil { if in.NodeSelector != nil {
in, out := &in.NodeSelector, &out.NodeSelector in, out := &in.NodeSelector, &out.NodeSelector
@ -156,11 +148,7 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -108,21 +108,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) {
*out = *in *out = *in
if in.TerminationGracePeriodSeconds != nil { if in.TerminationGracePeriodSeconds != nil {
in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.ActiveDeadlineSeconds != nil { if in.ActiveDeadlineSeconds != nil {
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
if in.NodeSelector != nil { if in.NodeSelector != nil {
in, out := &in.NodeSelector, &out.NodeSelector in, out := &in.NodeSelector, &out.NodeSelector
@ -156,11 +148,7 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) {
} }
if in.StartTime != nil { if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime in, out := &in.StartTime, &out.StartTime
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -57,12 +57,8 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }

View File

@ -31,12 +31,8 @@ func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil { *out = new(ExecCredentialStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExecCredentialStatus)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -64,12 +60,8 @@ func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
*out = *in *out = *in
if in.Response != nil { if in.Response != nil {
in, out := &in.Response, &out.Response in, out := &in.Response, &out.Response
if *in == nil { *out = new(Response)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(Response)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -89,11 +81,7 @@ func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
*out = *in *out = *in
if in.ExpirationTimestamp != nil { if in.ExpirationTimestamp != nil {
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }
@ -115,12 +103,15 @@ func (in *Response) DeepCopyInto(out *Response) {
in, out := &in.Header, &out.Header in, out := &in.Header, &out.Header
*out = make(map[string][]string, len(*in)) *out = make(map[string][]string, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make([]string, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -31,12 +31,8 @@ func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
out.Spec = in.Spec out.Spec = in.Spec
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil { *out = new(ExecCredentialStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExecCredentialStatus)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -80,11 +76,7 @@ func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
*out = *in *out = *in
if in.ExpirationTimestamp != nil { if in.ExpirationTimestamp != nil {
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }

View File

@ -31,12 +31,8 @@ func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
in.Spec.DeepCopyInto(&out.Spec) in.Spec.DeepCopyInto(&out.Spec)
if in.Status != nil { if in.Status != nil {
in, out := &in.Status, &out.Status in, out := &in.Status, &out.Status
if *in == nil { *out = new(ExecCredentialStatus)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExecCredentialStatus)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -64,12 +60,8 @@ func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
*out = *in *out = *in
if in.Response != nil { if in.Response != nil {
in, out := &in.Response, &out.Response in, out := &in.Response, &out.Response
if *in == nil { *out = new(Response)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(Response)
(*in).DeepCopyInto(*out)
}
} }
return return
} }
@ -89,11 +81,7 @@ func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
*out = *in *out = *in
if in.ExpirationTimestamp != nil { if in.ExpirationTimestamp != nil {
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
if *in == nil { *out = (*in).DeepCopy()
*out = nil
} else {
*out = (*in).DeepCopy()
}
} }
return return
} }
@ -115,12 +103,15 @@ func (in *Response) DeepCopyInto(out *Response) {
in, out := &in.Header, &out.Header in, out := &in.Header, &out.Header
*out = make(map[string][]string, len(*in)) *out = make(map[string][]string, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make([]string, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
return return

View File

@ -74,12 +74,8 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
*out = *in *out = *in
if in.Selector != nil { if in.Selector != nil {
in, out := &in.Selector, &out.Selector in, out := &in.Selector, &out.Selector
if *in == nil { *out = new(v1.LabelSelector)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
}
} }
return return
} }

View File

@ -46,31 +46,26 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra
*out = make(map[string][]string, len(*in)) *out = make(map[string][]string, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make([]string, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
if in.AuthProvider != nil { if in.AuthProvider != nil {
in, out := &in.AuthProvider, &out.AuthProvider in, out := &in.AuthProvider, &out.AuthProvider
if *in == nil { *out = new(AuthProviderConfig)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AuthProviderConfig)
(*in).DeepCopyInto(*out)
}
} }
if in.Exec != nil { if in.Exec != nil {
in, out := &in.Exec, &out.Exec in, out := &in.Exec, &out.Exec
if *in == nil { *out = new(ExecConfig)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExecConfig)
(*in).DeepCopyInto(*out)
}
} }
if in.Extensions != nil { if in.Extensions != nil {
in, out := &in.Extensions, &out.Extensions in, out := &in.Extensions, &out.Extensions

View File

@ -46,31 +46,26 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) {
in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra
*out = make(map[string][]string, len(*in)) *out = make(map[string][]string, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal []string
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = make([]string, len(val)) in, out := &val, &outVal
copy((*out)[key], val) *out = make([]string, len(*in))
copy(*out, *in)
} }
(*out)[key] = outVal
} }
} }
if in.AuthProvider != nil { if in.AuthProvider != nil {
in, out := &in.AuthProvider, &out.AuthProvider in, out := &in.AuthProvider, &out.AuthProvider
if *in == nil { *out = new(AuthProviderConfig)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(AuthProviderConfig)
(*in).DeepCopyInto(*out)
}
} }
if in.Exec != nil { if in.Exec != nil {
in, out := &in.Exec, &out.Exec in, out := &in.Exec, &out.Exec
if *in == nil { *out = new(ExecConfig)
*out = nil (*in).DeepCopyInto(*out)
} else {
*out = new(ExecConfig)
(*in).DeepCopyInto(*out)
}
} }
if in.Extensions != nil { if in.Extensions != nil {
in, out := &in.Extensions, &out.Extensions in, out := &in.Extensions, &out.Extensions
@ -159,36 +154,45 @@ func (in *Config) DeepCopyInto(out *Config) {
in, out := &in.Clusters, &out.Clusters in, out := &in.Clusters, &out.Clusters
*out = make(map[string]*Cluster, len(*in)) *out = make(map[string]*Cluster, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *Cluster
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(Cluster) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(Cluster)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.AuthInfos != nil { if in.AuthInfos != nil {
in, out := &in.AuthInfos, &out.AuthInfos in, out := &in.AuthInfos, &out.AuthInfos
*out = make(map[string]*AuthInfo, len(*in)) *out = make(map[string]*AuthInfo, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *AuthInfo
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(AuthInfo) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(AuthInfo)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.Contexts != nil { if in.Contexts != nil {
in, out := &in.Contexts, &out.Contexts in, out := &in.Contexts, &out.Contexts
*out = make(map[string]*Context, len(*in)) *out = make(map[string]*Context, len(*in))
for key, val := range *in { for key, val := range *in {
var outVal *Context
if val == nil { if val == nil {
(*out)[key] = nil (*out)[key] = nil
} else { } else {
(*out)[key] = new(Context) in, out := &val, &outVal
val.DeepCopyInto((*out)[key]) *out = new(Context)
(*in).DeepCopyInto(*out)
} }
(*out)[key] = outVal
} }
} }
if in.Extensions != nil { if in.Extensions != nil {

View File

@ -107,12 +107,8 @@ func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) {
*out = *in *out = *in
if in.Service != nil { if in.Service != nil {
in, out := &in.Service, &out.Service in, out := &in.Service, &out.Service
if *in == nil { *out = new(ServiceReference)
*out = nil **out = **in
} else {
*out = new(ServiceReference)
**out = **in
}
} }
if in.CABundle != nil { if in.CABundle != nil {
in, out := &in.CABundle, &out.CABundle in, out := &in.CABundle, &out.CABundle

View File

@ -107,12 +107,8 @@ func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) {
*out = *in *out = *in
if in.Service != nil { if in.Service != nil {
in, out := &in.Service, &out.Service in, out := &in.Service, &out.Service
if *in == nil { *out = new(ServiceReference)
*out = nil **out = **in
} else {
*out = new(ServiceReference)
**out = **in
}
} }
if in.CABundle != nil { if in.CABundle != nil {
in, out := &in.CABundle, &out.CABundle in, out := &in.CABundle, &out.CABundle

View File

@ -107,12 +107,8 @@ func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) {
*out = *in *out = *in
if in.Service != nil { if in.Service != nil {
in, out := &in.Service, &out.Service in, out := &in.Service, &out.Service
if *in == nil { *out = new(ServiceReference)
*out = nil **out = **in
} else {
*out = new(ServiceReference)
**out = **in
}
} }
if in.CABundle != nil { if in.CABundle != nil {
in, out := &in.CABundle, &out.CABundle in, out := &in.CABundle, &out.CABundle
@ -164,8 +160,9 @@ func (in ByGroupPriorityMinimum) DeepCopyInto(out *ByGroupPriorityMinimum) {
if (*in)[i] == nil { if (*in)[i] == nil {
(*out)[i] = nil (*out)[i] = nil
} else { } else {
(*out)[i] = new(APIService) in, out := &(*in)[i], &(*out)[i]
(*in)[i].DeepCopyInto((*out)[i]) *out = new(APIService)
(*in).DeepCopyInto(*out)
} }
} }
return return
@ -191,8 +188,9 @@ func (in ByVersionPriority) DeepCopyInto(out *ByVersionPriority) {
if (*in)[i] == nil { if (*in)[i] == nil {
(*out)[i] = nil (*out)[i] = nil
} else { } else {
(*out)[i] = new(APIService) in, out := &(*in)[i], &(*out)[i]
(*in)[i].DeepCopyInto((*out)[i]) *out = new(APIService)
(*in).DeepCopyInto(*out)
} }
} }
return return

View File

@ -32,12 +32,8 @@ func (in *MetricValue) DeepCopyInto(out *MetricValue) {
in.Timestamp.DeepCopyInto(&out.Timestamp) in.Timestamp.DeepCopyInto(&out.Timestamp)
if in.WindowSeconds != nil { if in.WindowSeconds != nil {
in, out := &in.WindowSeconds, &out.WindowSeconds in, out := &in.WindowSeconds, &out.WindowSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
out.Value = in.Value.DeepCopy() out.Value = in.Value.DeepCopy()
return return

View File

@ -32,12 +32,8 @@ func (in *MetricValue) DeepCopyInto(out *MetricValue) {
in.Timestamp.DeepCopyInto(&out.Timestamp) in.Timestamp.DeepCopyInto(&out.Timestamp)
if in.WindowSeconds != nil { if in.WindowSeconds != nil {
in, out := &in.WindowSeconds, &out.WindowSeconds in, out := &in.WindowSeconds, &out.WindowSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
out.Value = in.Value.DeepCopy() out.Value = in.Value.DeepCopy()
return return

View File

@ -38,12 +38,8 @@ func (in *ExternalMetricValue) DeepCopyInto(out *ExternalMetricValue) {
in.Timestamp.DeepCopyInto(&out.Timestamp) in.Timestamp.DeepCopyInto(&out.Timestamp)
if in.WindowSeconds != nil { if in.WindowSeconds != nil {
in, out := &in.WindowSeconds, &out.WindowSeconds in, out := &in.WindowSeconds, &out.WindowSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
out.Value = in.Value.DeepCopy() out.Value = in.Value.DeepCopy()
return return

View File

@ -38,12 +38,8 @@ func (in *ExternalMetricValue) DeepCopyInto(out *ExternalMetricValue) {
in.Timestamp.DeepCopyInto(&out.Timestamp) in.Timestamp.DeepCopyInto(&out.Timestamp)
if in.WindowSeconds != nil { if in.WindowSeconds != nil {
in, out := &in.WindowSeconds, &out.WindowSeconds in, out := &in.WindowSeconds, &out.WindowSeconds
if *in == nil { *out = new(int64)
*out = nil **out = **in
} else {
*out = new(int64)
**out = **in
}
} }
out.Value = in.Value.DeepCopy() out.Value = in.Value.DeepCopy()
return return

View File

@ -154,12 +154,8 @@ func (in *FlunderSpec) DeepCopyInto(out *FlunderSpec) {
*out = *in *out = *in
if in.ReferenceType != nil { if in.ReferenceType != nil {
in, out := &in.ReferenceType, &out.ReferenceType in, out := &in.ReferenceType, &out.ReferenceType
if *in == nil { *out = new(ReferenceType)
*out = nil **out = **in
} else {
*out = new(ReferenceType)
**out = **in
}
} }
return return
} }

View File

@ -90,12 +90,8 @@ func (in *FooSpec) DeepCopyInto(out *FooSpec) {
*out = *in *out = *in
if in.Replicas != nil { if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas in, out := &in.Replicas, &out.Replicas
if *in == nil { *out = new(int32)
*out = nil **out = **in
} else {
*out = new(int32)
**out = **in
}
} }
return return
} }