This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 17ffaf15544954301d1278ceaa375392927e181c
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Mon Oct 5 12:42:28 2020 +0200

    chore: Re-generate deepcopy for API packages
---
 pkg/apis/camel/v1/zz_generated.deepcopy.go       | 59 +------------------
 pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go | 74 ++++++------------------
 2 files changed, 22 insertions(+), 111 deletions(-)

diff --git a/pkg/apis/camel/v1/zz_generated.deepcopy.go 
b/pkg/apis/camel/v1/zz_generated.deepcopy.go
index 1b72431..e734bde 100644
--- a/pkg/apis/camel/v1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1/zz_generated.deepcopy.go
@@ -1,21 +1,19 @@
 // +build !ignore_autogenerated
 
-// Code generated by operator-sdk. DO NOT EDIT.
+// Code generated by controller-gen. DO NOT EDIT.
 
 package v1
 
 import (
-       json "encoding/json"
-
+       "encoding/json"
        corev1 "k8s.io/api/core/v1"
        metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-       runtime "k8s.io/apimachinery/pkg/runtime"
+       "k8s.io/apimachinery/pkg/runtime"
 )
 
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *Artifact) DeepCopyInto(out *Artifact) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Artifact.
@@ -50,7 +48,6 @@ func (in *BaseTask) DeepCopyInto(out *BaseTask) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new BaseTask.
@@ -70,7 +67,6 @@ func (in *Build) DeepCopyInto(out *Build) {
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
        in.Spec.DeepCopyInto(&out.Spec)
        in.Status.DeepCopyInto(&out.Status)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Build.
@@ -96,7 +92,6 @@ func (in *BuildCondition) DeepCopyInto(out *BuildCondition) {
        *out = *in
        in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
        in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new BuildCondition.
@@ -121,7 +116,6 @@ func (in *BuildList) DeepCopyInto(out *BuildList) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new BuildList.
@@ -152,7 +146,6 @@ func (in *BuildSpec) DeepCopyInto(out *BuildSpec) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new BuildSpec.
@@ -189,7 +182,6 @@ func (in *BuildStatus) DeepCopyInto(out *BuildStatus) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new BuildStatus.
@@ -239,7 +231,6 @@ func (in *BuilderTask) DeepCopyInto(out *BuilderTask) {
                }
        }
        out.Timeout = in.Timeout
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new BuilderTask.
@@ -283,7 +274,6 @@ func (in *CamelArtifact) DeepCopyInto(out *CamelArtifact) {
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelArtifact.
@@ -305,7 +295,6 @@ func (in *CamelArtifactDependency) DeepCopyInto(out 
*CamelArtifactDependency) {
                *out = make([]CamelArtifactExclusion, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelArtifactDependency.
@@ -321,7 +310,6 @@ func (in *CamelArtifactDependency) DeepCopy() 
*CamelArtifactDependency {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *CamelArtifactExclusion) DeepCopyInto(out *CamelArtifactExclusion) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelArtifactExclusion.
@@ -341,7 +329,6 @@ func (in *CamelCatalog) DeepCopyInto(out *CamelCatalog) {
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
        out.Status = in.Status
        in.Spec.DeepCopyInto(&out.Spec)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelCatalog.
@@ -374,7 +361,6 @@ func (in *CamelCatalogList) DeepCopyInto(out 
*CamelCatalogList) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelCatalogList.
@@ -413,7 +399,6 @@ func (in *CamelCatalogSpec) DeepCopyInto(out 
*CamelCatalogSpec) {
                        (*out)[key] = *val.DeepCopy()
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelCatalogSpec.
@@ -429,7 +414,6 @@ func (in *CamelCatalogSpec) DeepCopy() *CamelCatalogSpec {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *CamelCatalogStatus) DeepCopyInto(out *CamelCatalogStatus) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelCatalogStatus.
@@ -456,7 +440,6 @@ func (in *CamelLoader) DeepCopyInto(out *CamelLoader) {
                *out = make([]MavenArtifact, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelLoader.
@@ -472,7 +455,6 @@ func (in *CamelLoader) DeepCopy() *CamelLoader {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *CamelScheme) DeepCopyInto(out *CamelScheme) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new CamelScheme.
@@ -500,7 +482,6 @@ func (in *Capability) DeepCopyInto(out *Capability) {
                        (*out)[key] = val
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Capability.
@@ -516,7 +497,6 @@ func (in *Capability) DeepCopy() *Capability {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ConfigurationSpec.
@@ -555,7 +535,6 @@ func (in *ContainerTask) DeepCopyInto(out *ContainerTask) {
                *out = new(corev1.SecurityContext)
                (*in).DeepCopyInto(*out)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ContainerTask.
@@ -571,7 +550,6 @@ func (in *ContainerTask) DeepCopy() *ContainerTask {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *DataSpec) DeepCopyInto(out *DataSpec) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new DataSpec.
@@ -589,7 +567,6 @@ func (in *Failure) DeepCopyInto(out *Failure) {
        *out = *in
        in.Time.DeepCopyInto(&out.Time)
        in.Recovery.DeepCopyInto(&out.Recovery)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Failure.
@@ -606,7 +583,6 @@ func (in *Failure) DeepCopy() *Failure {
 func (in *FailureRecovery) DeepCopyInto(out *FailureRecovery) {
        *out = *in
        in.AttemptTime.DeepCopyInto(&out.AttemptTime)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new FailureRecovery.
@@ -627,7 +603,6 @@ func (in *Flow) DeepCopyInto(out *Flow) {
                *out = make(json.RawMessage, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Flow.
@@ -644,7 +619,6 @@ func (in *Flow) DeepCopy() *Flow {
 func (in *ImageTask) DeepCopyInto(out *ImageTask) {
        *out = *in
        in.ContainerTask.DeepCopyInto(&out.ContainerTask)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ImageTask.
@@ -664,7 +638,6 @@ func (in *Integration) DeepCopyInto(out *Integration) {
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
        in.Spec.DeepCopyInto(&out.Spec)
        in.Status.DeepCopyInto(&out.Status)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Integration.
@@ -690,7 +663,6 @@ func (in *IntegrationCondition) DeepCopyInto(out 
*IntegrationCondition) {
        *out = *in
        in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
        in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationCondition.
@@ -710,7 +682,6 @@ func (in *IntegrationKit) DeepCopyInto(out *IntegrationKit) 
{
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
        in.Spec.DeepCopyInto(&out.Spec)
        in.Status.DeepCopyInto(&out.Status)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationKit.
@@ -736,7 +707,6 @@ func (in *IntegrationKitCondition) DeepCopyInto(out 
*IntegrationKitCondition) {
        *out = *in
        in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
        in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationKitCondition.
@@ -761,7 +731,6 @@ func (in *IntegrationKitList) DeepCopyInto(out 
*IntegrationKitList) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationKitList.
@@ -807,7 +776,6 @@ func (in *IntegrationKitSpec) DeepCopyInto(out 
*IntegrationKitSpec) {
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationKitSpec.
@@ -840,7 +808,6 @@ func (in *IntegrationKitStatus) DeepCopyInto(out 
*IntegrationKitStatus) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationKitStatus.
@@ -865,7 +832,6 @@ func (in *IntegrationList) DeepCopyInto(out 
*IntegrationList) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationList.
@@ -893,7 +859,6 @@ func (in *IntegrationPlatform) DeepCopyInto(out 
*IntegrationPlatform) {
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
        in.Spec.DeepCopyInto(&out.Spec)
        in.Status.DeepCopyInto(&out.Status)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatform.
@@ -936,7 +901,6 @@ func (in *IntegrationPlatformBuildSpec) DeepCopyInto(out 
*IntegrationPlatformBui
                *out = new(bool)
                **out = **in
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatformBuildSpec.
@@ -954,7 +918,6 @@ func (in *IntegrationPlatformCondition) DeepCopyInto(out 
*IntegrationPlatformCon
        *out = *in
        in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
        in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatformCondition.
@@ -979,7 +942,6 @@ func (in *IntegrationPlatformList) DeepCopyInto(out 
*IntegrationPlatformList) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatformList.
@@ -1003,7 +965,6 @@ func (in *IntegrationPlatformList) DeepCopyObject() 
runtime.Object {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *IntegrationPlatformRegistrySpec) DeepCopyInto(out 
*IntegrationPlatformRegistrySpec) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatformRegistrySpec.
@@ -1019,7 +980,6 @@ func (in *IntegrationPlatformRegistrySpec) DeepCopy() 
*IntegrationPlatformRegist
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *IntegrationPlatformResourcesSpec) DeepCopyInto(out 
*IntegrationPlatformResourcesSpec) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatformResourcesSpec.
@@ -1049,7 +1009,6 @@ func (in *IntegrationPlatformSpec) DeepCopyInto(out 
*IntegrationPlatformSpec) {
                *out = make([]ConfigurationSpec, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatformSpec.
@@ -1073,7 +1032,6 @@ func (in *IntegrationPlatformStatus) DeepCopyInto(out 
*IntegrationPlatformStatus
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationPlatformStatus.
@@ -1135,7 +1093,6 @@ func (in *IntegrationSpec) DeepCopyInto(out 
*IntegrationSpec) {
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationSpec.
@@ -1195,7 +1152,6 @@ func (in *IntegrationStatus) DeepCopyInto(out 
*IntegrationStatus) {
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new IntegrationStatus.
@@ -1211,7 +1167,6 @@ func (in *IntegrationStatus) DeepCopy() 
*IntegrationStatus {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *MavenArtifact) DeepCopyInto(out *MavenArtifact) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new MavenArtifact.
@@ -1233,7 +1188,6 @@ func (in *MavenSpec) DeepCopyInto(out *MavenSpec) {
                *out = new(metav1.Duration)
                **out = **in
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new MavenSpec.
@@ -1250,7 +1204,6 @@ func (in *MavenSpec) DeepCopy() *MavenSpec {
 func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) {
        *out = *in
        out.DataSpec = in.DataSpec
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ResourceSpec.
@@ -1285,7 +1238,6 @@ func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
                        (*out)[key] = *val.DeepCopy()
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new RuntimeSpec.
@@ -1312,7 +1264,6 @@ func (in *SourceSpec) DeepCopyInto(out *SourceSpec) {
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new SourceSpec.
@@ -1338,7 +1289,6 @@ func (in *Task) DeepCopyInto(out *Task) {
                *out = new(ImageTask)
                (*in).DeepCopyInto(*out)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Task.
@@ -1359,7 +1309,6 @@ func (in *TraitConfiguration) DeepCopyInto(out 
*TraitConfiguration) {
                *out = make(json.RawMessage, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new TraitConfiguration.
@@ -1376,7 +1325,6 @@ func (in *TraitConfiguration) DeepCopy() 
*TraitConfiguration {
 func (in *TraitSpec) DeepCopyInto(out *TraitSpec) {
        *out = *in
        in.Configuration.DeepCopyInto(&out.Configuration)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new TraitSpec.
@@ -1402,7 +1350,6 @@ func (in *ValueSource) DeepCopyInto(out *ValueSource) {
                *out = new(corev1.SecretKeySelector)
                (*in).DeepCopyInto(*out)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ValueSource.
diff --git a/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go 
b/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
index 4788c17..5f5082b 100644
--- a/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
@@ -1,21 +1,19 @@
 // +build !ignore_autogenerated
 
-// Code generated by operator-sdk. DO NOT EDIT.
+// Code generated by controller-gen. DO NOT EDIT.
 
 package v1alpha1
 
 import (
-       json "encoding/json"
-
-       camelv1 "github.com/apache/camel-k/pkg/apis/camel/v1"
-       v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-       runtime "k8s.io/apimachinery/pkg/runtime"
+       "encoding/json"
+       "github.com/apache/camel-k/pkg/apis/camel/v1"
+       metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+       "k8s.io/apimachinery/pkg/runtime"
 )
 
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *AuthorizationSpec) DeepCopyInto(out *AuthorizationSpec) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new AuthorizationSpec.
@@ -33,7 +31,7 @@ func (in *Endpoint) DeepCopyInto(out *Endpoint) {
        *out = *in
        if in.Ref != nil {
                in, out := &in.Ref, &out.Ref
-               *out = new(v1.OwnerReference)
+               *out = new(metav1.OwnerReference)
                (*in).DeepCopyInto(*out)
        }
        if in.URI != nil {
@@ -42,7 +40,6 @@ func (in *Endpoint) DeepCopyInto(out *Endpoint) {
                **out = **in
        }
        in.Properties.DeepCopyInto(&out.Properties)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Endpoint.
@@ -63,7 +60,6 @@ func (in *EndpointProperties) DeepCopyInto(out 
*EndpointProperties) {
                *out = make(json.RawMessage, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new EndpointProperties.
@@ -84,7 +80,6 @@ func (in *EventTypeSpec) DeepCopyInto(out *EventTypeSpec) {
                *out = new(JSONSchemaProps)
                (*in).DeepCopyInto(*out)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new EventTypeSpec.
@@ -100,7 +95,6 @@ func (in *EventTypeSpec) DeepCopy() *EventTypeSpec {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *ExternalDocumentation) DeepCopyInto(out *ExternalDocumentation) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ExternalDocumentation.
@@ -116,12 +110,11 @@ func (in *ExternalDocumentation) DeepCopy() 
*ExternalDocumentation {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *JSON) DeepCopyInto(out *JSON) {
        *out = *in
-       if in.Raw != nil {
-               in, out := &in.Raw, &out.Raw
-               *out = make([]byte, len(*in))
+       if in.RawMessage != nil {
+               in, out := &in.RawMessage, &out.RawMessage
+               *out = make(json.RawMessage, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new JSON.
@@ -142,7 +135,6 @@ func (in JSONSchemaDefinitions) DeepCopyInto(out 
*JSONSchemaDefinitions) {
                for key, val := range *in {
                        (*out)[key] = *val.DeepCopy()
                }
-               return
        }
 }
 
@@ -172,7 +164,6 @@ func (in JSONSchemaDependencies) DeepCopyInto(out 
*JSONSchemaDependencies) {
                        }
                        (*out)[key] = outVal
                }
-               return
        }
 }
 
@@ -196,12 +187,8 @@ func (in *JSONSchemaProps) DeepCopyInto(out 
*JSONSchemaProps) {
        }
        if in.Default != nil {
                in, out := &in.Default, &out.Default
-               *out = new(json.RawMessage)
-               if **in != nil {
-                       in, out := *in, *out
-                       *out = make([]byte, len(*in))
-                       copy(*out, *in)
-               }
+               *out = new(JSON)
+               (*in).DeepCopyInto(*out)
        }
        if in.Maximum != nil {
                in, out := &in.Maximum, &out.Maximum
@@ -240,16 +227,12 @@ func (in *JSONSchemaProps) DeepCopyInto(out 
*JSONSchemaProps) {
        }
        if in.Enum != nil {
                in, out := &in.Enum, &out.Enum
-               *out = make([]*json.RawMessage, len(*in))
+               *out = make([]*JSON, len(*in))
                for i := range *in {
                        if (*in)[i] != nil {
                                in, out := &(*in)[i], &(*out)[i]
-                               *out = new(json.RawMessage)
-                               if **in != nil {
-                                       in, out := *in, *out
-                                       *out = make([]byte, len(*in))
-                                       copy(*out, *in)
-                               }
+                               *out = new(JSON)
+                               (*in).DeepCopyInto(*out)
                        }
                }
        }
@@ -352,12 +335,8 @@ func (in *JSONSchemaProps) DeepCopyInto(out 
*JSONSchemaProps) {
        }
        if in.Example != nil {
                in, out := &in.Example, &out.Example
-               *out = new(json.RawMessage)
-               if **in != nil {
-                       in, out := *in, *out
-                       *out = make([]byte, len(*in))
-                       copy(*out, *in)
-               }
+               *out = new(JSON)
+               (*in).DeepCopyInto(*out)
        }
        if in.XPreserveUnknownFields != nil {
                in, out := &in.XPreserveUnknownFields, 
&out.XPreserveUnknownFields
@@ -384,7 +363,6 @@ func (in *JSONSchemaProps) DeepCopyInto(out 
*JSONSchemaProps) {
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new JSONSchemaProps.
@@ -412,7 +390,6 @@ func (in *JSONSchemaPropsOrArray) DeepCopyInto(out 
*JSONSchemaPropsOrArray) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new JSONSchemaPropsOrArray.
@@ -433,7 +410,6 @@ func (in *JSONSchemaPropsOrBool) DeepCopyInto(out 
*JSONSchemaPropsOrBool) {
                *out = new(JSONSchemaProps)
                (*in).DeepCopyInto(*out)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new JSONSchemaPropsOrBool.
@@ -459,7 +435,6 @@ func (in *JSONSchemaPropsOrStringArray) DeepCopyInto(out 
*JSONSchemaPropsOrStrin
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new JSONSchemaPropsOrStringArray.
@@ -479,7 +454,6 @@ func (in *Kamelet) DeepCopyInto(out *Kamelet) {
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
        in.Spec.DeepCopyInto(&out.Spec)
        in.Status.DeepCopyInto(&out.Status)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new Kamelet.
@@ -507,7 +481,6 @@ func (in *KameletBinding) DeepCopyInto(out *KameletBinding) 
{
        in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
        in.Spec.DeepCopyInto(&out.Spec)
        in.Status.DeepCopyInto(&out.Status)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletBinding.
@@ -533,7 +506,6 @@ func (in *KameletBindingCondition) DeepCopyInto(out 
*KameletBindingCondition) {
        *out = *in
        in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
        in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletBindingCondition.
@@ -558,7 +530,6 @@ func (in *KameletBindingList) DeepCopyInto(out 
*KameletBindingList) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletBindingList.
@@ -584,12 +555,11 @@ func (in *KameletBindingSpec) DeepCopyInto(out 
*KameletBindingSpec) {
        *out = *in
        if in.Integration != nil {
                in, out := &in.Integration, &out.Integration
-               *out = new(camelv1.IntegrationSpec)
+               *out = new(v1.IntegrationSpec)
                (*in).DeepCopyInto(*out)
        }
        in.Source.DeepCopyInto(&out.Source)
        in.Sink.DeepCopyInto(&out.Sink)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletBindingSpec.
@@ -612,7 +582,6 @@ func (in *KameletBindingStatus) DeepCopyInto(out 
*KameletBindingStatus) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletBindingStatus.
@@ -630,7 +599,6 @@ func (in *KameletCondition) DeepCopyInto(out 
*KameletCondition) {
        *out = *in
        in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
        in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletCondition.
@@ -655,7 +623,6 @@ func (in *KameletList) DeepCopyInto(out *KameletList) {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletList.
@@ -679,7 +646,6 @@ func (in *KameletList) DeepCopyObject() runtime.Object {
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *KameletProperty) DeepCopyInto(out *KameletProperty) {
        *out = *in
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletProperty.
@@ -698,14 +664,14 @@ func (in *KameletSpec) DeepCopyInto(out *KameletSpec) {
        in.Definition.DeepCopyInto(&out.Definition)
        if in.Sources != nil {
                in, out := &in.Sources, &out.Sources
-               *out = make([]camelv1.SourceSpec, len(*in))
+               *out = make([]v1.SourceSpec, len(*in))
                for i := range *in {
                        (*in)[i].DeepCopyInto(&(*out)[i])
                }
        }
        if in.Flow != nil {
                in, out := &in.Flow, &out.Flow
-               *out = new(camelv1.Flow)
+               *out = new(v1.Flow)
                (*in).DeepCopyInto(*out)
        }
        out.Authorization = in.Authorization
@@ -721,7 +687,6 @@ func (in *KameletSpec) DeepCopyInto(out *KameletSpec) {
                *out = make([]string, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletSpec.
@@ -749,7 +714,6 @@ func (in *KameletStatus) DeepCopyInto(out *KameletStatus) {
                *out = make([]KameletProperty, len(*in))
                copy(*out, *in)
        }
-       return
 }
 
 // DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new KameletStatus.

Reply via email to