From f80a723882b89120f1867f73355ff8e5706b729a Mon Sep 17 00:00:00 2001 From: Ankur Manna Date: Mon, 1 Jul 2024 19:22:42 +0530 Subject: [PATCH] added Discovery Group and EndpointSlice as Constants Signed-off-by: Ankur Manna --- pkg/utils/kube/kube.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/utils/kube/kube.go b/pkg/utils/kube/kube.go index f88ed172b..f48dd61ed 100644 --- a/pkg/utils/kube/kube.go +++ b/pkg/utils/kube/kube.go @@ -55,6 +55,11 @@ const ( HorizontalPodAutoscalerKind = "HorizontalPodAutoscaler" ) +const ( + ServiceDiscoveryGroup = "discovery.k8s.io" + ServiceDiscoveryEndpointSliceKind = "EndpointSlice" +) + type ResourceInfoProvider interface { IsNamespaced(gk schema.GroupKind) (bool, error) }