Documentation ¶
Index ¶
Constants ¶
View Source
const ( SlowRequestRatioStrategy string = "SlowRequestRatio" ErrorRatioStrategy string = "ErrorRatio" ErrorCountStrategy string = "ErrorCount" )
View Source
const ( CurrentResourceRelationStrategy string = "CurrentResource" AssociatedResourceRelationStrategy string = "AssociatedResource" DirectTokenCalculateStrategy string = "Direct" WarmUpTokenCalculateStrategy string = "WarmUp" RejectControlBehavior string = "Reject" ThrottlingControlBehavior string = "Throttling" )
View Source
const ( ConcurrencyMetricType string = "Concurrency" QPSMetricType string = "QPS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircuitBreakerRulesReconciler ¶
type CircuitBreakerRulesReconciler struct { client.Client Logger logr.Logger Scheme *runtime.Scheme Namespace string ExpectedCrName string }
CircuitBreakerRulesReconciler reconciles a CircuitBreakerRules object
func (*CircuitBreakerRulesReconciler) SetupWithManager ¶
func (r *CircuitBreakerRulesReconciler) SetupWithManager(mgr ctrl.Manager) error
type FlowRulesReconciler ¶
type FlowRulesReconciler struct { client.Client Logger logr.Logger Scheme *runtime.Scheme Namespace string ExpectedCrName string }
FlowRulesReconciler reconciles a FlowRules object
func (*FlowRulesReconciler) SetupWithManager ¶
func (r *FlowRulesReconciler) SetupWithManager(mgr ctrl.Manager) error
type HotspotRulesReconciler ¶
type HotspotRulesReconciler struct { client.Client Logger logr.Logger Scheme *runtime.Scheme Namespace string ExpectedCrName string }
HotspotRulesReconciler reconciles a HotspotRules object
func (*HotspotRulesReconciler) Reconcile ¶
+kubebuilder:rbac:groups=datasource.sentinel.io,resources=hotspotrules,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=datasource.sentinel.io,resources=hotspotrules/status,verbs=get;update;patch
func (*HotspotRulesReconciler) SetupWithManager ¶
func (r *HotspotRulesReconciler) SetupWithManager(mgr ctrl.Manager) error
type IsolationRulesReconciler ¶
type IsolationRulesReconciler struct { client.Client Logger logr.Logger Scheme *runtime.Scheme Namespace string ExpectedCrName string }
IsolationRulesReconciler reconciles a IsolationRules object
func (*IsolationRulesReconciler) SetupWithManager ¶
func (r *IsolationRulesReconciler) SetupWithManager(mgr ctrl.Manager) error
type SystemRulesReconciler ¶
type SystemRulesReconciler struct { client.Client Logger logr.Logger Scheme *runtime.Scheme Namespace string ExpectedCrName string }
SystemRulesReconciler reconciles a SystemRules object
func (*SystemRulesReconciler) SetupWithManager ¶
func (r *SystemRulesReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.