Documentation ¶
Index ¶
- func NewAPIController(mgr manager.Manager, operatorDataStore *synchronizer.OperatorDataStore, ...) error
- func NewGatewayController(mgr manager.Manager, operatorDataStore *synchronizer.OperatorDataStore, ...) error
- func NewTokenIssuerReconciler(mgr manager.Manager) error
- func UpdateEnforcerJWTIssuers(jwtIssuerMapping dpv1alpha1.JWTIssuerMapping)
- type APIReconciler
- type BackendJWTReconciler
- type GQLRouteReconciler
- type GatewayReconciler
- type TokenssuerReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 dpv1alpha2.API and gwapiv1b1.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 gwapiv1b1.Gateway.
func NewTokenIssuerReconciler ¶
NewTokenIssuerReconciler creates a new Application controller instance.
func UpdateEnforcerJWTIssuers ¶
func UpdateEnforcerJWTIssuers(jwtIssuerMapping dpv1alpha1.JWTIssuerMapping)
UpdateEnforcerJWTIssuers updates the JWT Issuers in the Enforcer
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 GQLRouteReconciler ¶
GQLRouteReconciler reconciles a GQLRoute object
func (*GQLRouteReconciler) Reconcile ¶
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 GQLRoute 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 (*GQLRouteReconciler) SetupWithManager ¶
func (r *GQLRouteReconciler) 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
type TokenssuerReconciler ¶
type TokenssuerReconciler struct { Scheme *runtime.Scheme // contains filtered or unexported fields }
TokenssuerReconciler reconciles a TokenIssuer object
func (*TokenssuerReconciler) Reconcile ¶
func (r *TokenssuerReconciler) 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 JWTIssuer 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