From 1b547ca658b108ee2f9e5f85e2b2ead66b156d36 Mon Sep 17 00:00:00 2001 From: Roi Vazquez Date: Wed, 17 Jul 2024 15:37:48 +0200 Subject: [PATCH] Clean unused code --- api/v1alpha1/common_types.go | 6 ------ api/v1alpha1/zz_generated.deepcopy.go | 30 --------------------------- 2 files changed, 36 deletions(-) diff --git a/api/v1alpha1/common_types.go b/api/v1alpha1/common_types.go index c512ec87..023a1d3f 100644 --- a/api/v1alpha1/common_types.go +++ b/api/v1alpha1/common_types.go @@ -284,12 +284,6 @@ func InitializeNetworkLoadBalancerSpec(spec *NetworkLoadBalancerSpec, def Networ } } -// ClusterIPServiceSpec configures a ClusterIP Service -type ClusterIPServiceSpec struct{} - -// HeadlessServiceSpec configures a Headless Service -type HeadlessServiceSpec struct{} - // GrafanaDashboardSpec configures the Grafana Dashboard for the component type GrafanaDashboardSpec struct { // Label key used by grafana-operator for dashboard discovery diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index be376126..cb40f10b 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -1017,21 +1017,6 @@ func (in *Cluster) DeepCopy() *Cluster { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ClusterIPServiceSpec) DeepCopyInto(out *ClusterIPServiceSpec) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterIPServiceSpec. -func (in *ClusterIPServiceSpec) DeepCopy() *ClusterIPServiceSpec { - if in == nil { - return nil - } - out := new(ClusterIPServiceSpec) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CronSpec) DeepCopyInto(out *CronSpec) { *out = *in @@ -1457,21 +1442,6 @@ func (in *GrafanaDashboardSpec) DeepCopy() *GrafanaDashboardSpec { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HeadlessServiceSpec) DeepCopyInto(out *HeadlessServiceSpec) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadlessServiceSpec. -func (in *HeadlessServiceSpec) DeepCopy() *HeadlessServiceSpec { - if in == nil { - return nil - } - out := new(HeadlessServiceSpec) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) { *out = *in