Documentation ¶
Overview ¶
Package clientoperator contains the logic to manage the gateway clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientReconciler ¶
type ClientReconciler struct { client.Client Scheme *runtime.Scheme DynClient dynamic.Interface Factory *dynamicutils.RunnableFactory ClientResources []string }
ClientReconciler manage GatewayClient lifecycle.
func NewClientReconciler ¶
func NewClientReconciler(cl client.Client, dynClient dynamic.Interface, factory *dynamicutils.RunnableFactory, s *runtime.Scheme, clientResources []string) *ClientReconciler
NewClientReconciler returns a new ClientReconciler.
func (*ClientReconciler) EnsureGatewayClient ¶
func (r *ClientReconciler) EnsureGatewayClient(ctx context.Context, gwClient *networkingv1alpha1.GatewayClient) error
EnsureGatewayClient ensures the GatewayClient is correctly configured.
func (*ClientReconciler) Reconcile ¶
func (r *ClientReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)
Reconcile manage GatewayClient lifecycle.
func (*ClientReconciler) SetupWithManager ¶
func (r *ClientReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager register the ClientReconciler to the manager.
Click to show internal directories.
Click to hide internal directories.