Documentation
¶
Index ¶
- func GetJWTIssuers(ctx context.Context, client k8client.Client, gateway gwapiv1.Gateway) (map[string]*v1alpha1.ResolvedJWTIssuer, error)
- func NewAPIController(mgr manager.Manager, operatorDataStore *synchronizer.OperatorDataStore, ...) error
- func NewGatewayController(mgr manager.Manager, operatorDataStore *synchronizer.OperatorDataStore, ...) error
- type APIReconciler
- type BackendJWTReconciler
- type GatewayReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJWTIssuers ¶
func GetJWTIssuers(ctx context.Context, client k8client.Client, gateway gwapiv1.Gateway) (map[string]*v1alpha1.ResolvedJWTIssuer, error)
// GetJWTIssuers returns the JWTIssuers for the given JWTIssuerMapping
func NewAPIController ¶
func NewAPIController(mgr manager.Manager, operatorDataStore *synchronizer.OperatorDataStore, statusUpdater *status.UpdateHandler, ch *chan *synchronizer.APIEvent, successChannel *chan synchronizer.SuccessEvent) error
NewAPIController creates a new API controller instance. API Controllers watches for dpv1alpha3.API and gwapiv1.HTTPRoute.
func NewGatewayController ¶
func NewGatewayController(mgr manager.Manager, operatorDataStore *synchronizer.OperatorDataStore, statusUpdater *status.UpdateHandler, ch *chan synchronizer.GatewayEvent) error
NewGatewayController creates a new Gateway controller instance. Gateway Controllers watches for gwapiv1.Gateway.
Types ¶
type APIReconciler ¶
type APIReconciler struct {
// contains filtered or unexported fields
}
APIReconciler reconciles a API object
func (*APIReconciler) Reconcile ¶
func (apiReconciler *APIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
type BackendJWTReconciler ¶
BackendJWTReconciler reconciles a BackendJWT object
func (*BackendJWTReconciler) Reconcile ¶
func (r *BackendJWTReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the BackendJWT object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*BackendJWTReconciler) SetupWithManager ¶
func (r *BackendJWTReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GatewayReconciler ¶
type GatewayReconciler struct {
// contains filtered or unexported fields
}
GatewayReconciler reconciles a Gateway object
func (*GatewayReconciler) Reconcile ¶
func (gatewayReconciler *GatewayReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Gateway object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile