Skip to content

Commit

Permalink
internal/components: remove unused type (#3339)
Browse files Browse the repository at this point in the history
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
  • Loading branch information
frzifus authored Oct 9, 2024
1 parent 7ee69c5 commit 9f1eb13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/components/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9f1eb13

Please sign in to comment.