Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { client.Client Scheme *runtime.Scheme GatewayClassName string // GetIPsFunc is used when the endpointSlice will be reconciled to get the IPs // of the pods attached to the service. GetIPsFunc endpointslice.GetIPs }
Controller reconciles the Gateway Object to run the stateless-load-balancer-controller-manager.
func (*Controller) Reconcile ¶
Reconcile implements the reconciliation of the Gateway of stateless-load-balancer-controller-manager class. This function is trigger by any change (create/update/delete) in any resource related to the object (L34Route/Service/Gateway/EndpointSlice/Pod).
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.