Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAuthenticatorCreation = errors.New("failed to create authenticator") ErrAuthorizerCreation = errors.New("failed to create authorizer") ErrMutatorCreation = errors.New("failed to create mutator") ErrHydratorCreation = errors.New("failed to create hydrator") ErrErrorHandlerCreation = errors.New("failed to create error handler") )
View Source
var ErrNoSuchPipelineObject = errors.New("pipeline object not found")
View Source
var Module = fx.Options( fx.Provide(NewHandlerFactory), )
nolint
Functions ¶
This section is empty.
Types ¶
type HandlerFactory ¶
type HandlerFactory interface { CreateAuthenticator(id string, conf map[string]any) (authenticators.Authenticator, error) CreateAuthorizer(id string, conf map[string]any) (authorizers.Authorizer, error) CreateHydrator(id string, conf map[string]any) (hydrators.Hydrator, error) CreateMutator(id string, conf map[string]any) (mutators.Mutator, error) CreateErrorHandler(id string, conf map[string]any) (errorhandlers.ErrorHandler, error) }
func NewHandlerFactory ¶
func NewHandlerFactory(conf config.Configuration, logger zerolog.Logger) (HandlerFactory, error)
Click to show internal directories.
Click to hide internal directories.