Skip to content

Commit

Permalink
added Discovery Group and EndpointSlice as Constants
Browse files Browse the repository at this point in the history
Signed-off-by: Ankur Manna <[email protected]>
  • Loading branch information
Ankur Manna authored and Ankur Manna committed Jul 1, 2024
1 parent a22b346 commit f80a723
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/utils/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ const (
HorizontalPodAutoscalerKind = "HorizontalPodAutoscaler"
)

const (
ServiceDiscoveryGroup = "discovery.k8s.io"
ServiceDiscoveryEndpointSliceKind = "EndpointSlice"
)

type ResourceInfoProvider interface {
IsNamespaced(gk schema.GroupKind) (bool, error)
}
Expand Down

0 comments on commit f80a723

Please sign in to comment.