From 9f1eb133ebaf83ce0ca822ea1198fe73ef4eca95 Mon Sep 17 00:00:00 2001 From: "Ben B." Date: Wed, 9 Oct 2024 12:03:16 +0200 Subject: [PATCH] internal/components: remove unused type (#3339) Signed-off-by: Benedikt Bongartz --- internal/components/component.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/components/component.go b/internal/components/component.go index f713b7636c..3feb56d6a7 100644 --- a/internal/components/component.go +++ b/internal/components/component.go @@ -38,8 +38,6 @@ type PortRetriever interface { GetPortNumOrDefault(logr.Logger, int32) int32 } -type AddressProvider = func(name string) (address string, port int32) - // PortParser is a function that returns a list of servicePorts given a config of type Config. type PortParser[ComponentConfigType any] func(logger logr.Logger, name string, defaultPort *corev1.ServicePort, config ComponentConfigType) ([]corev1.ServicePort, error)