From 1b6c3783f8bcceb037a1b46cd9e489cef029df0d Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Wed, 24 Jul 2024 17:02:29 +0200 Subject: [PATCH] controller.newGatewayAPITopologyBuilder made private Signed-off-by: Guilherme Cassolato --- controller/controller.go | 2 +- controller/topology.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/controller.go b/controller/controller.go index 2b06b14..ec3198d 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -84,7 +84,7 @@ func NewController(f ...ControllerOptionFunc) *Controller { controller := &Controller{ client: opts.client, cache: newCacheStore(), - topology: NewGatewayAPITopologyBuilder(opts.policyKinds, opts.objectKinds, opts.objectLinks), + topology: newGatewayAPITopologyBuilder(opts.policyKinds, opts.objectKinds, opts.objectLinks), informers: map[string]cache.SharedInformer{}, callback: opts.callback, } diff --git a/controller/topology.go b/controller/topology.go index b06feca..ac23dae 100644 --- a/controller/topology.go +++ b/controller/topology.go @@ -9,7 +9,7 @@ import ( "github.com/kuadrant/policy-machinery/machinery" ) -func NewGatewayAPITopologyBuilder(policyKinds, objectKinds []schema.GroupKind, objectLinks []RuntimeLinkFunc) *gatewayAPITopologyBuilder { +func newGatewayAPITopologyBuilder(policyKinds, objectKinds []schema.GroupKind, objectLinks []RuntimeLinkFunc) *gatewayAPITopologyBuilder { return &gatewayAPITopologyBuilder{ policyKinds: policyKinds, objectKinds: objectKinds,