addons/keda/duck/v1alpha1/zz_generated.deepcopy.go (211 lines of code) (raw):

//go:build !ignore_autogenerated // Code generated by controller-gen. DO NOT EDIT. package v1alpha1 import ( "k8s.io/api/core/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 *AuthSecretTargetRef) DeepCopyInto(out *AuthSecretTargetRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSecretTargetRef. func (in *AuthSecretTargetRef) DeepCopy() *AuthSecretTargetRef { if in == nil { return nil } out := new(AuthSecretTargetRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScaleTriggers) DeepCopyInto(out *ScaleTriggers) { *out = *in if in.Metadata != nil { in, out := &in.Metadata, &out.Metadata *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.AuthenticationRef != nil { in, out := &in.AuthenticationRef, &out.AuthenticationRef *out = new(ScaledObjectAuthRef) **out = **in } if in.FallbackReplicas != nil { in, out := &in.FallbackReplicas, &out.FallbackReplicas *out = new(int32) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleTriggers. func (in *ScaleTriggers) DeepCopy() *ScaleTriggers { if in == nil { return nil } out := new(ScaleTriggers) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScaledObject) DeepCopyInto(out *ScaledObject) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaledObject. func (in *ScaledObject) DeepCopy() *ScaledObject { if in == nil { return nil } out := new(ScaledObject) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ScaledObject) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScaledObjectAuthRef) DeepCopyInto(out *ScaledObjectAuthRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaledObjectAuthRef. func (in *ScaledObjectAuthRef) DeepCopy() *ScaledObjectAuthRef { if in == nil { return nil } out := new(ScaledObjectAuthRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScaledObjectList) DeepCopyInto(out *ScaledObjectList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ScaledObject, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaledObjectList. func (in *ScaledObjectList) DeepCopy() *ScaledObjectList { if in == nil { return nil } out := new(ScaledObjectList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ScaledObjectList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScaledObjectSpec) DeepCopyInto(out *ScaledObjectSpec) { *out = *in if in.ScaleTargetRef != nil { in, out := &in.ScaleTargetRef, &out.ScaleTargetRef *out = new(v1.ObjectReference) **out = **in } if in.PollingInterval != nil { in, out := &in.PollingInterval, &out.PollingInterval *out = new(int32) **out = **in } if in.CooldownPeriod != nil { in, out := &in.CooldownPeriod, &out.CooldownPeriod *out = new(int32) **out = **in } if in.IdleReplicaCount != nil { in, out := &in.IdleReplicaCount, &out.IdleReplicaCount *out = new(int32) **out = **in } if in.MinReplicaCount != nil { in, out := &in.MinReplicaCount, &out.MinReplicaCount *out = new(int32) **out = **in } if in.MaxReplicaCount != nil { in, out := &in.MaxReplicaCount, &out.MaxReplicaCount *out = new(int32) **out = **in } if in.Triggers != nil { in, out := &in.Triggers, &out.Triggers *out = make([]ScaleTriggers, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaledObjectSpec. func (in *ScaledObjectSpec) DeepCopy() *ScaledObjectSpec { if in == nil { return nil } out := new(ScaledObjectSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TriggerAuthentication) DeepCopyInto(out *TriggerAuthentication) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerAuthentication. func (in *TriggerAuthentication) DeepCopy() *TriggerAuthentication { if in == nil { return nil } out := new(TriggerAuthentication) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *TriggerAuthentication) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TriggerAuthenticationList) DeepCopyInto(out *TriggerAuthenticationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]TriggerAuthentication, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerAuthenticationList. func (in *TriggerAuthenticationList) DeepCopy() *TriggerAuthenticationList { if in == nil { return nil } out := new(TriggerAuthenticationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *TriggerAuthenticationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TriggerAuthenticationSpec) DeepCopyInto(out *TriggerAuthenticationSpec) { *out = *in if in.SecretTargetRef != nil { in, out := &in.SecretTargetRef, &out.SecretTargetRef *out = make([]AuthSecretTargetRef, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerAuthenticationSpec. func (in *TriggerAuthenticationSpec) DeepCopy() *TriggerAuthenticationSpec { if in == nil { return nil } out := new(TriggerAuthenticationSpec) in.DeepCopyInto(out) return out }