Documentation ¶
Index ¶
- type MockErrorHandler
- type MockHandlerFactory
- func (m *MockHandlerFactory) CreateAuthenticator(id string, conf map[string]any) (authenticators.Authenticator, error)
- func (m *MockHandlerFactory) CreateAuthorizer(id string, conf map[string]any) (authorizers.Authorizer, error)
- func (m *MockHandlerFactory) CreateErrorHandler(id string, conf map[string]any) (errorhandlers.ErrorHandler, error)
- func (m *MockHandlerFactory) CreateHydrator(id string, conf map[string]any) (hydrators.Hydrator, error)
- func (m *MockHandlerFactory) CreateMutator(id string, conf map[string]any) (mutators.Mutator, error)
- type MockRepository
- type MockRuleFactory
- type MockSubjectCreator
- type MockSubjectHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockErrorHandler ¶
type MockHandlerFactory ¶
func (*MockHandlerFactory) CreateAuthenticator ¶
func (m *MockHandlerFactory) CreateAuthenticator(id string, conf map[string]any) (authenticators.Authenticator, error)
func (*MockHandlerFactory) CreateAuthorizer ¶
func (m *MockHandlerFactory) CreateAuthorizer(id string, conf map[string]any) (authorizers.Authorizer, error)
func (*MockHandlerFactory) CreateErrorHandler ¶
func (m *MockHandlerFactory) CreateErrorHandler(id string, conf map[string]any) (errorhandlers.ErrorHandler, error)
func (*MockHandlerFactory) CreateHydrator ¶
func (*MockHandlerFactory) CreateMutator ¶
type MockRepository ¶
type MockRuleFactory ¶
func (*MockRuleFactory) CreateRule ¶
func (m *MockRuleFactory) CreateRule(srcID string, ruleConfig config.RuleConfig) (rule.Rule, error)
func (*MockRuleFactory) DefaultRule ¶
func (m *MockRuleFactory) DefaultRule() rule.Rule
func (*MockRuleFactory) HasDefaultRule ¶
func (m *MockRuleFactory) HasDefaultRule() bool
type MockSubjectCreator ¶
func (*MockSubjectCreator) IsFallbackOnErrorAllowed ¶
func (a *MockSubjectCreator) IsFallbackOnErrorAllowed() bool
Click to show internal directories.
Click to hide internal directories.