Documentation
¶
Index ¶
Constants ¶
const APAvailableConditionType string = "Available"
const (
RLPAvailableConditionType string = "Available"
)
const (
ReadyConditionType string = "Ready"
)
Variables ¶
var KuadrantExtAuthProviderName = env.GetString("AUTH_PROVIDER", "kuadrant-authorization")
Functions ¶
This section is empty.
Types ¶
type AuthPolicyReconciler ¶ added in v0.2.0
type AuthPolicyReconciler struct {
reconcilers.TargetRefReconciler
}
AuthPolicyReconciler reconciles a AuthPolicy object
func (*AuthPolicyReconciler) SetupWithManager ¶ added in v0.2.0
func (r *AuthPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GatewayEventMapper ¶ added in v0.2.0
GatewayEventMapper is an EventHandler that maps Gateway object events to policy events.
func (*GatewayEventMapper) MapToAuthPolicy ¶ added in v0.3.0
func (m *GatewayEventMapper) MapToAuthPolicy(obj client.Object) []reconcile.Request
func (*GatewayEventMapper) MapToRateLimitPolicy ¶ added in v0.2.0
func (m *GatewayEventMapper) MapToRateLimitPolicy(obj client.Object) []reconcile.Request
type GatewayKuadrantReconciler ¶ added in v0.4.0
type GatewayKuadrantReconciler struct {
*reconcilers.BaseReconciler
}
GatewayKuadrantReconciler reconciles Gateway object with kuadrant metadata
func (*GatewayKuadrantReconciler) Reconcile ¶ added in v0.4.0
func (r *GatewayKuadrantReconciler) Reconcile(eventCtx context.Context, req ctrl.Request) (ctrl.Result, error)
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*GatewayKuadrantReconciler) SetupWithManager ¶ added in v0.4.0
func (r *GatewayKuadrantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HTTPRouteEventMapper ¶ added in v0.2.0
HTTPRouteEventMapper is an EventHandler that maps HTTPRoute object events to Policy events.
func (*HTTPRouteEventMapper) MapToAuthPolicy ¶ added in v0.2.0
func (m *HTTPRouteEventMapper) MapToAuthPolicy(obj client.Object) []reconcile.Request
func (*HTTPRouteEventMapper) MapToRateLimitPolicy ¶ added in v0.2.0
func (m *HTTPRouteEventMapper) MapToRateLimitPolicy(obj client.Object) []reconcile.Request
type HTTPRouteParentRefsEventMapper ¶ added in v0.4.0
HTTPRouteParentRefsEventMapper is an EventHandler that maps HTTPRoute events to policy events, by going through the parentRefs of the route and finding all policies that target one of its parent resources, thus yielding events for those policies.
func (*HTTPRouteParentRefsEventMapper) MapToAuthPolicy ¶ added in v0.4.0
func (m *HTTPRouteParentRefsEventMapper) MapToAuthPolicy(obj client.Object) []reconcile.Request
func (*HTTPRouteParentRefsEventMapper) MapToRateLimitPolicy ¶ added in v0.4.0
func (m *HTTPRouteParentRefsEventMapper) MapToRateLimitPolicy(obj client.Object) []reconcile.Request
type KuadrantReconciler ¶ added in v0.1.0
type KuadrantReconciler struct { *reconcilers.BaseReconciler Scheme *runtime.Scheme }
KuadrantReconciler reconciles a Kuadrant object
func (*KuadrantReconciler) Reconcile ¶ added in v0.1.0
func (r *KuadrantReconciler) Reconcile(eventCtx 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.10.0/pkg/reconcile
func (*KuadrantReconciler) SetupWithManager ¶ added in v0.1.0
func (r *KuadrantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type LimitadorClusterEnvoyFilterReconciler ¶ added in v0.4.0
type LimitadorClusterEnvoyFilterReconciler struct {
*reconcilers.BaseReconciler
}
LimitadorClusterEnvoyFilterReconciler reconciles a EnvoyFilter object with limitador's cluster
func (*LimitadorClusterEnvoyFilterReconciler) Reconcile ¶ added in v0.4.0
func (r *LimitadorClusterEnvoyFilterReconciler) Reconcile(eventCtx context.Context, req ctrl.Request) (ctrl.Result, error)
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*LimitadorClusterEnvoyFilterReconciler) SetupWithManager ¶ added in v0.4.0
func (r *LimitadorClusterEnvoyFilterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RateLimitPolicyReconciler ¶ added in v0.2.0
type RateLimitPolicyReconciler struct {
reconcilers.TargetRefReconciler
}
RateLimitPolicyReconciler reconciles a RateLimitPolicy object
func (*RateLimitPolicyReconciler) Reconcile ¶ added in v0.2.0
func (r *RateLimitPolicyReconciler) Reconcile(eventCtx 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 RateLimitPolicy 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.10.0/pkg/reconcile
func (*RateLimitPolicyReconciler) SetupWithManager ¶ added in v0.2.0
func (r *RateLimitPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
- authpolicy_authconfig.go
- authpolicy_controller.go
- authpolicy_istio_authorizationpolicy.go
- authpolicy_status.go
- gateway_eventmapper.go
- gateway_kuadrant_controller.go
- httproute_eventmapper.go
- httprouteparentrefs_eventmapper.go
- kuadrant_controller.go
- kuadrant_status.go
- limitador_cluster_envoyfilter_controller.go
- ratelimitpolicy_controller.go
- ratelimitpolicy_istio_wasmplugin.go
- ratelimitpolicy_limits.go
- ratelimitpolicy_status.go