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

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

commit f0276463f608049b7e62d69394cd16dbd5826771
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Fri Apr 30 14:26:36 2021 +0200

    fix(api): Fix error handler types deepcopy generation
---
 pkg/apis/camel/v1alpha1/error_handler_types.go   |   2 +
 pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go | 166 +++++++++++++++++++++++
 2 files changed, 168 insertions(+)

diff --git a/pkg/apis/camel/v1alpha1/error_handler_types.go 
b/pkg/apis/camel/v1alpha1/error_handler_types.go
index 5019796..d60074a 100644
--- a/pkg/apis/camel/v1alpha1/error_handler_types.go
+++ b/pkg/apis/camel/v1alpha1/error_handler_types.go
@@ -48,6 +48,8 @@ type BeanProperties struct {
        v1.RawMessage `json:",omitempty"`
 }
 
+// +kubebuilder:object:generate=false
+
 // ErrorHandler is a generic interface that represent any type of error 
handler specification
 type ErrorHandler interface {
        Type() ErrorHandlerType
diff --git a/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go 
b/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
index 71938f5..dd0e4ba 100644
--- a/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
+++ b/pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go
@@ -27,6 +27,26 @@ func (in *AuthorizationSpec) DeepCopy() *AuthorizationSpec {
 }
 
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *BeanProperties) DeepCopyInto(out *BeanProperties) {
+       *out = *in
+       if in.RawMessage != nil {
+               in, out := &in.RawMessage, &out.RawMessage
+               *out = make(v1.RawMessage, len(*in))
+               copy(*out, *in)
+       }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new BeanProperties.
+func (in *BeanProperties) DeepCopy() *BeanProperties {
+       if in == nil {
+               return nil
+       }
+       out := new(BeanProperties)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *Endpoint) DeepCopyInto(out *Endpoint) {
        *out = *in
        if in.Ref != nil {
@@ -84,6 +104,151 @@ func (in *EndpointProperties) DeepCopy() 
*EndpointProperties {
 }
 
 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *ErrorHandlerBean) DeepCopyInto(out *ErrorHandlerBean) {
+       *out = *in
+       out.ErrorHandlerNone = in.ErrorHandlerNone
+       if in.BeanType != nil {
+               in, out := &in.BeanType, &out.BeanType
+               *out = new(string)
+               **out = **in
+       }
+       if in.BeanProperties != nil {
+               in, out := &in.BeanProperties, &out.BeanProperties
+               *out = new(BeanProperties)
+               (*in).DeepCopyInto(*out)
+       }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ErrorHandlerBean.
+func (in *ErrorHandlerBean) DeepCopy() *ErrorHandlerBean {
+       if in == nil {
+               return nil
+       }
+       out := new(ErrorHandlerBean)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *ErrorHandlerDeadLetterChannel) DeepCopyInto(out 
*ErrorHandlerDeadLetterChannel) {
+       *out = *in
+       in.ErrorHandlerLog.DeepCopyInto(&out.ErrorHandlerLog)
+       if in.DLCEndpoint != nil {
+               in, out := &in.DLCEndpoint, &out.DLCEndpoint
+               *out = new(Endpoint)
+               (*in).DeepCopyInto(*out)
+       }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ErrorHandlerDeadLetterChannel.
+func (in *ErrorHandlerDeadLetterChannel) DeepCopy() 
*ErrorHandlerDeadLetterChannel {
+       if in == nil {
+               return nil
+       }
+       out := new(ErrorHandlerDeadLetterChannel)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *ErrorHandlerLog) DeepCopyInto(out *ErrorHandlerLog) {
+       *out = *in
+       out.ErrorHandlerNone = in.ErrorHandlerNone
+       if in.Parameters != nil {
+               in, out := &in.Parameters, &out.Parameters
+               *out = new(ErrorHandlerParameters)
+               (*in).DeepCopyInto(*out)
+       }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ErrorHandlerLog.
+func (in *ErrorHandlerLog) DeepCopy() *ErrorHandlerLog {
+       if in == nil {
+               return nil
+       }
+       out := new(ErrorHandlerLog)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *ErrorHandlerNone) DeepCopyInto(out *ErrorHandlerNone) {
+       *out = *in
+       out.baseErrorHandler = in.baseErrorHandler
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ErrorHandlerNone.
+func (in *ErrorHandlerNone) DeepCopy() *ErrorHandlerNone {
+       if in == nil {
+               return nil
+       }
+       out := new(ErrorHandlerNone)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *ErrorHandlerParameters) DeepCopyInto(out *ErrorHandlerParameters) {
+       *out = *in
+       if in.RawMessage != nil {
+               in, out := &in.RawMessage, &out.RawMessage
+               *out = make(v1.RawMessage, len(*in))
+               copy(*out, *in)
+       }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ErrorHandlerParameters.
+func (in *ErrorHandlerParameters) DeepCopy() *ErrorHandlerParameters {
+       if in == nil {
+               return nil
+       }
+       out := new(ErrorHandlerParameters)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *ErrorHandlerRef) DeepCopyInto(out *ErrorHandlerRef) {
+       *out = *in
+       out.baseErrorHandler = in.baseErrorHandler
+       if in.RawMessage != nil {
+               in, out := &in.RawMessage, &out.RawMessage
+               *out = make(v1.RawMessage, len(*in))
+               copy(*out, *in)
+       }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ErrorHandlerRef.
+func (in *ErrorHandlerRef) DeepCopy() *ErrorHandlerRef {
+       if in == nil {
+               return nil
+       }
+       out := new(ErrorHandlerRef)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
+func (in *ErrorHandlerSpec) DeepCopyInto(out *ErrorHandlerSpec) {
+       *out = *in
+       if in.RawMessage != nil {
+               in, out := &in.RawMessage, &out.RawMessage
+               *out = make(v1.RawMessage, len(*in))
+               copy(*out, *in)
+       }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, 
creating a new ErrorHandlerSpec.
+func (in *ErrorHandlerSpec) DeepCopy() *ErrorHandlerSpec {
+       if in == nil {
+               return nil
+       }
+       out := new(ErrorHandlerSpec)
+       in.DeepCopyInto(out)
+       return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, 
writing into out. in must be non-nil.
 func (in *EventTypeSpec) DeepCopyInto(out *EventTypeSpec) {
        *out = *in
        if in.Schema != nil {
@@ -370,6 +535,7 @@ func (in *KameletBindingSpec) DeepCopyInto(out 
*KameletBindingSpec) {
        }
        in.Source.DeepCopyInto(&out.Source)
        in.Sink.DeepCopyInto(&out.Sink)
+       in.ErrorHandler.DeepCopyInto(&out.ErrorHandler)
        if in.Steps != nil {
                in, out := &in.Steps, &out.Steps
                *out = make([]Endpoint, len(*in))

Reply via email to