pipeline

package
v0.4.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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")

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL