Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRequestSchemeMismatch = errors.New("request scheme mismatch") ErrRequestMethodMismatch = errors.New("request method mismatch") ErrRequestHostMismatch = errors.New("request host mismatch") ErrRequestPathMismatch = errors.New("request path mismatch") )
View Source
var ( ErrNoGlobPatternDefined = errors.New("no glob pattern defined") ErrNoRegexPatternDefined = errors.New("no regex pattern defined") )
View Source
var ErrUnsupportedRuleSetVersion = errors.New("unsupported rule set version")
View Source
var Module = fx.Options( fx.Provide( NewRuleFactory, newRepository, NewRuleSetProcessor, newRuleExecutor, ), provider.Module, )
Module is invoked on app bootstrapping. nolint: gochecknoglobals
Functions ¶
func NewRuleFactory ¶
func NewRuleFactory( hf mechanisms.MechanismFactory, conf *config.Configuration, mode config.OperationMode, logger zerolog.Logger, ) (rule.Factory, error)
func NewRuleSetProcessor ¶
func NewRuleSetProcessor(repository rule.Repository, factory rule.Factory) rule.SetProcessor
Types ¶
Source Files ¶
- cel_execution_condition.go
- composite_error_handler.go
- composite_subject_creator.go
- composite_subject_handler.go
- conditional_error_handler.go
- conditional_subject_handler.go
- default_execution_condition.go
- error_handler.go
- execution_condition.go
- module.go
- repository_impl.go
- route_matcher.go
- rule_executor_impl.go
- rule_factory_impl.go
- rule_impl.go
- ruleset_processor_impl.go
- subject_creator.go
- subject_handler.go
- typed_matcher.go
Click to show internal directories.
Click to hide internal directories.