Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ rm -rf \
./api/konnect/zz_generated_* \
./config/crd/kong-operator/x-konnect.konghq.com_* \
./controller/konnect/zz_generated_reconciler_generic_rbac_* \
./modules/manager/zz_generated_*
./modules/manager/zz_generated_* \
./internal/utils/index/zz_generated_konnect_*
'''

[tasks.generate-api]
Expand Down
4 changes: 2 additions & 2 deletions api/konnect/v1alpha1/konnect_conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const (
const (
// EventGatewayRefValidConditionType is the type of the condition that indicates
// whether the Event Gateway reference is valid and points to an existing
// KonnectEventControlPlane.
// KonnectEventGateway.
EventGatewayRefValidConditionType = "EventGatewayRefValid"

// EventGatewayRefReasonValid is the reason used with the EventGatewayRefValid
Expand All @@ -119,7 +119,7 @@ const (
const (
// PortalRefValidConditionType is the type of the condition that indicates
// whether the Event Gateway reference is valid and points to an existing
// KonnectEventControlPlane.
// KonnectEventGateway.
PortalRefValidConditionType = "PortalRefValid"

// PortalRefReasonValid is the reason used with the PortalRefValid
Expand Down
148 changes: 74 additions & 74 deletions api/konnect/v1alpha1/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -984,105 +984,108 @@ func (in *KonnectEntityRef) DeepCopy() *KonnectEntityRef {
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KonnectEventControlPlane) DeepCopyInto(out *KonnectEventControlPlane) {
func (in *KonnectEventDataPlaneCertificate) DeepCopyInto(out *KonnectEventDataPlaneCertificate) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventControlPlane.
func (in *KonnectEventControlPlane) DeepCopy() *KonnectEventControlPlane {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificate.
func (in *KonnectEventDataPlaneCertificate) DeepCopy() *KonnectEventDataPlaneCertificate {
if in == nil {
return nil
}
out := new(KonnectEventControlPlane)
out := new(KonnectEventDataPlaneCertificate)
in.DeepCopyInto(out)
return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *KonnectEventControlPlane) DeepCopyObject() runtime.Object {
func (in *KonnectEventDataPlaneCertificate) 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 *KonnectEventControlPlaneAPISpec) DeepCopyInto(out *KonnectEventControlPlaneAPISpec) {
func (in *KonnectEventDataPlaneCertificateAPISpec) DeepCopyInto(out *KonnectEventDataPlaneCertificateAPISpec) {
*out = *in
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(Labels, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventControlPlaneAPISpec.
func (in *KonnectEventControlPlaneAPISpec) DeepCopy() *KonnectEventControlPlaneAPISpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateAPISpec.
func (in *KonnectEventDataPlaneCertificateAPISpec) DeepCopy() *KonnectEventDataPlaneCertificateAPISpec {
if in == nil {
return nil
}
out := new(KonnectEventControlPlaneAPISpec)
out := new(KonnectEventDataPlaneCertificateAPISpec)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KonnectEventControlPlaneList) DeepCopyInto(out *KonnectEventControlPlaneList) {
func (in *KonnectEventDataPlaneCertificateList) DeepCopyInto(out *KonnectEventDataPlaneCertificateList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]KonnectEventControlPlane, len(*in))
*out = make([]KonnectEventDataPlaneCertificate, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventControlPlaneList.
func (in *KonnectEventControlPlaneList) DeepCopy() *KonnectEventControlPlaneList {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateList.
func (in *KonnectEventDataPlaneCertificateList) DeepCopy() *KonnectEventDataPlaneCertificateList {
if in == nil {
return nil
}
out := new(KonnectEventControlPlaneList)
out := new(KonnectEventDataPlaneCertificateList)
in.DeepCopyInto(out)
return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *KonnectEventControlPlaneList) DeepCopyObject() runtime.Object {
func (in *KonnectEventDataPlaneCertificateList) 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 *KonnectEventControlPlaneSpec) DeepCopyInto(out *KonnectEventControlPlaneSpec) {
func (in *KonnectEventDataPlaneCertificateSpec) DeepCopyInto(out *KonnectEventDataPlaneCertificateSpec) {
*out = *in
out.KonnectConfiguration = in.KonnectConfiguration
in.APISpec.DeepCopyInto(&out.APISpec)
in.GatewayRef.DeepCopyInto(&out.GatewayRef)
if in.Type != nil {
in, out := &in.Type, &out.Type
*out = new(SensitiveDataSourceType)
**out = **in
}
out.APISpec = in.APISpec
if in.SecretRef != nil {
in, out := &in.SecretRef, &out.SecretRef
*out = new(commonv1alpha1.NamespacedRef)
(*in).DeepCopyInto(*out)
}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventControlPlaneSpec.
func (in *KonnectEventControlPlaneSpec) DeepCopy() *KonnectEventControlPlaneSpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateSpec.
func (in *KonnectEventDataPlaneCertificateSpec) DeepCopy() *KonnectEventDataPlaneCertificateSpec {
if in == nil {
return nil
}
out := new(KonnectEventControlPlaneSpec)
out := new(KonnectEventDataPlaneCertificateSpec)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KonnectEventControlPlaneStatus) DeepCopyInto(out *KonnectEventControlPlaneStatus) {
func (in *KonnectEventDataPlaneCertificateStatus) DeepCopyInto(out *KonnectEventDataPlaneCertificateStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
Expand All @@ -1091,122 +1094,124 @@ func (in *KonnectEventControlPlaneStatus) DeepCopyInto(out *KonnectEventControlP
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
out.KonnectEntityStatus = in.KonnectEntityStatus
in.KonnectEntityStatus.DeepCopyInto(&out.KonnectEntityStatus)
if in.GatewayID != nil {
in, out := &in.GatewayID, &out.GatewayID
*out = new(KonnectEntityRef)
**out = **in
}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventControlPlaneStatus.
func (in *KonnectEventControlPlaneStatus) DeepCopy() *KonnectEventControlPlaneStatus {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateStatus.
func (in *KonnectEventDataPlaneCertificateStatus) DeepCopy() *KonnectEventDataPlaneCertificateStatus {
if in == nil {
return nil
}
out := new(KonnectEventControlPlaneStatus)
out := new(KonnectEventDataPlaneCertificateStatus)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KonnectEventDataPlaneCertificate) DeepCopyInto(out *KonnectEventDataPlaneCertificate) {
func (in *KonnectEventGateway) DeepCopyInto(out *KonnectEventGateway) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificate.
func (in *KonnectEventDataPlaneCertificate) DeepCopy() *KonnectEventDataPlaneCertificate {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGateway.
func (in *KonnectEventGateway) DeepCopy() *KonnectEventGateway {
if in == nil {
return nil
}
out := new(KonnectEventDataPlaneCertificate)
out := new(KonnectEventGateway)
in.DeepCopyInto(out)
return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *KonnectEventDataPlaneCertificate) DeepCopyObject() runtime.Object {
func (in *KonnectEventGateway) 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 *KonnectEventDataPlaneCertificateAPISpec) DeepCopyInto(out *KonnectEventDataPlaneCertificateAPISpec) {
func (in *KonnectEventGatewayAPISpec) DeepCopyInto(out *KonnectEventGatewayAPISpec) {
*out = *in
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(Labels, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateAPISpec.
func (in *KonnectEventDataPlaneCertificateAPISpec) DeepCopy() *KonnectEventDataPlaneCertificateAPISpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewayAPISpec.
func (in *KonnectEventGatewayAPISpec) DeepCopy() *KonnectEventGatewayAPISpec {
if in == nil {
return nil
}
out := new(KonnectEventDataPlaneCertificateAPISpec)
out := new(KonnectEventGatewayAPISpec)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KonnectEventDataPlaneCertificateList) DeepCopyInto(out *KonnectEventDataPlaneCertificateList) {
func (in *KonnectEventGatewayList) DeepCopyInto(out *KonnectEventGatewayList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]KonnectEventDataPlaneCertificate, len(*in))
*out = make([]KonnectEventGateway, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateList.
func (in *KonnectEventDataPlaneCertificateList) DeepCopy() *KonnectEventDataPlaneCertificateList {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewayList.
func (in *KonnectEventGatewayList) DeepCopy() *KonnectEventGatewayList {
if in == nil {
return nil
}
out := new(KonnectEventDataPlaneCertificateList)
out := new(KonnectEventGatewayList)
in.DeepCopyInto(out)
return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *KonnectEventDataPlaneCertificateList) DeepCopyObject() runtime.Object {
func (in *KonnectEventGatewayList) 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 *KonnectEventDataPlaneCertificateSpec) DeepCopyInto(out *KonnectEventDataPlaneCertificateSpec) {
func (in *KonnectEventGatewaySpec) DeepCopyInto(out *KonnectEventGatewaySpec) {
*out = *in
in.GatewayRef.DeepCopyInto(&out.GatewayRef)
if in.Type != nil {
in, out := &in.Type, &out.Type
*out = new(SensitiveDataSourceType)
**out = **in
}
out.APISpec = in.APISpec
if in.SecretRef != nil {
in, out := &in.SecretRef, &out.SecretRef
*out = new(commonv1alpha1.NamespacedRef)
(*in).DeepCopyInto(*out)
}
out.KonnectConfiguration = in.KonnectConfiguration
in.APISpec.DeepCopyInto(&out.APISpec)
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateSpec.
func (in *KonnectEventDataPlaneCertificateSpec) DeepCopy() *KonnectEventDataPlaneCertificateSpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewaySpec.
func (in *KonnectEventGatewaySpec) DeepCopy() *KonnectEventGatewaySpec {
if in == nil {
return nil
}
out := new(KonnectEventDataPlaneCertificateSpec)
out := new(KonnectEventGatewaySpec)
in.DeepCopyInto(out)
return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KonnectEventDataPlaneCertificateStatus) DeepCopyInto(out *KonnectEventDataPlaneCertificateStatus) {
func (in *KonnectEventGatewayStatus) DeepCopyInto(out *KonnectEventGatewayStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
Expand All @@ -1215,20 +1220,15 @@ func (in *KonnectEventDataPlaneCertificateStatus) DeepCopyInto(out *KonnectEvent
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
in.KonnectEntityStatus.DeepCopyInto(&out.KonnectEntityStatus)
if in.GatewayID != nil {
in, out := &in.GatewayID, &out.GatewayID
*out = new(KonnectEntityRef)
**out = **in
}
out.KonnectEntityStatus = in.KonnectEntityStatus
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventDataPlaneCertificateStatus.
func (in *KonnectEventDataPlaneCertificateStatus) DeepCopy() *KonnectEventDataPlaneCertificateStatus {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KonnectEventGatewayStatus.
func (in *KonnectEventGatewayStatus) DeepCopy() *KonnectEventGatewayStatus {
if in == nil {
return nil
}
out := new(KonnectEventDataPlaneCertificateStatus)
out := new(KonnectEventGatewayStatus)
in.DeepCopyInto(out)
return out
}
Expand Down
Loading
Loading