Documentation ¶
Index ¶
- type MockErrorHandler
- type MockFactory
- func (m *MockFactory) CreateAuthenticator(id string, conf config.MechanismConfig) (authenticators.Authenticator, error)
- func (m *MockFactory) CreateAuthorizer(id string, conf config.MechanismConfig) (authorizers.Authorizer, error)
- func (m *MockFactory) CreateContextualizer(id string, conf config.MechanismConfig) (contextualizers.Contextualizer, error)
- func (m *MockFactory) CreateErrorHandler(id string, conf config.MechanismConfig) (errorhandlers.ErrorHandler, error)
- func (m *MockFactory) CreateUnifier(id string, conf config.MechanismConfig) (unifiers.Unifier, 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 MockFactory ¶
func (*MockFactory) CreateAuthenticator ¶
func (m *MockFactory) CreateAuthenticator(id string, conf config.MechanismConfig) ( authenticators.Authenticator, error, )
func (*MockFactory) CreateAuthorizer ¶
func (m *MockFactory) CreateAuthorizer(id string, conf config.MechanismConfig) ( authorizers.Authorizer, error, )
func (*MockFactory) CreateContextualizer ¶
func (m *MockFactory) CreateContextualizer(id string, conf config.MechanismConfig) ( contextualizers.Contextualizer, error, )
func (*MockFactory) CreateErrorHandler ¶
func (m *MockFactory) CreateErrorHandler(id string, conf config.MechanismConfig) ( errorhandlers.ErrorHandler, error, )
func (*MockFactory) CreateUnifier ¶
func (m *MockFactory) CreateUnifier(id string, conf config.MechanismConfig) ( unifiers.Unifier, error, )
type MockRepository ¶
type MockRuleFactory ¶
func (*MockRuleFactory) CreateRule ¶
func (m *MockRuleFactory) CreateRule(srcID string, ruleConfig rule.Configuration) (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.