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