Documentation ¶
Index ¶
- type DefaultDriver
- type Driver
- type Registry
- type RegistryMemory
- func (r *RegistryMemory) AvailablePipelineAuthenticators() (available []string)
- func (r *RegistryMemory) AvailablePipelineAuthorizers() (available []string)
- func (r *RegistryMemory) AvailablePipelineErrorHandlers() pe.Handlers
- func (r *RegistryMemory) AvailablePipelineMutators() (available []string)
- func (r *RegistryMemory) BuildDate() string
- func (r *RegistryMemory) BuildHash() string
- func (r *RegistryMemory) BuildVersion() string
- func (r *RegistryMemory) CredentialHandler() *api.CredentialsHandler
- func (r *RegistryMemory) CredentialsFetcher() credentials.Fetcher
- func (r *RegistryMemory) CredentialsSigner() credentials.Signer
- func (r *RegistryMemory) CredentialsVerifier() credentials.Verifier
- func (r *RegistryMemory) DecisionHandler() *api.DecisionHandler
- func (r *RegistryMemory) HealthHandler() *healthx.Handler
- func (r *RegistryMemory) Init()
- func (r *RegistryMemory) Logger() *logrusx.Logger
- func (r *RegistryMemory) PipelineAuthenticator(id string) (authn.Authenticator, error)
- func (r *RegistryMemory) PipelineAuthorizer(id string) (authz.Authorizer, error)
- func (r *RegistryMemory) PipelineErrorHandler(id string) (pe.Handler, error)
- func (r *RegistryMemory) PipelineMutator(id string) (mutate.Mutator, error)
- func (r *RegistryMemory) Proxy() *proxy.Proxy
- func (r *RegistryMemory) ProxyRequestHandler() *proxy.RequestHandler
- func (r *RegistryMemory) RuleFetcher() rule.Fetcher
- func (r *RegistryMemory) RuleHandler() *api.RuleHandler
- func (r *RegistryMemory) RuleMatcher() rule.Matcher
- func (r *RegistryMemory) RuleRepository() rule.Repository
- func (r *RegistryMemory) RuleValidator() rule.Validator
- func (r *RegistryMemory) Tracer() *tracing.Tracer
- func (r *RegistryMemory) WithBrokenPipelineMutator() *RegistryMemory
- func (r *RegistryMemory) WithBuildInfo(version, hash, date string) Registry
- func (r *RegistryMemory) WithConfig(c configuration.Provider) Registry
- func (r *RegistryMemory) WithLogger(l *logrusx.Logger) Registry
- func (r *RegistryMemory) Writer() herodot.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDriver ¶
type DefaultDriver struct {
// contains filtered or unexported fields
}
func (*DefaultDriver) Configuration ¶
func (r *DefaultDriver) Configuration() configuration.Provider
func (*DefaultDriver) Registry ¶
func (r *DefaultDriver) Registry() Registry
type Driver ¶
type Driver interface { Configuration() configuration.Provider Registry() Registry }
type Registry ¶
type Registry interface { Init() WithConfig(c configuration.Provider) Registry WithLogger(l *logrusx.Logger) Registry WithBuildInfo(version, hash, date string) Registry BuildVersion() string BuildDate() string BuildHash() string ProxyRequestHandler() *proxy.RequestHandler HealthHandler() *healthx.Handler RuleHandler() *api.RuleHandler DecisionHandler() *api.DecisionHandler CredentialHandler() *api.CredentialsHandler Proxy() *proxy.Proxy Tracer() *tracing.Tracer authn.Registry authz.Registry mutate.Registry errors.Registry rule.Registry credentials.FetcherRegistry credentials.SignerRegistry credentials.VerifierRegistry x.RegistryWriter x.RegistryLogger }
func NewRegistry ¶
func NewRegistry(c configuration.Provider) Registry
type RegistryMemory ¶
func NewRegistryMemory ¶
func NewRegistryMemory() *RegistryMemory
func (*RegistryMemory) AvailablePipelineAuthenticators ¶
func (r *RegistryMemory) AvailablePipelineAuthenticators() (available []string)
func (*RegistryMemory) AvailablePipelineAuthorizers ¶
func (r *RegistryMemory) AvailablePipelineAuthorizers() (available []string)
func (*RegistryMemory) AvailablePipelineErrorHandlers ¶
func (r *RegistryMemory) AvailablePipelineErrorHandlers() pe.Handlers
func (*RegistryMemory) AvailablePipelineMutators ¶
func (r *RegistryMemory) AvailablePipelineMutators() (available []string)
func (*RegistryMemory) BuildDate ¶
func (r *RegistryMemory) BuildDate() string
func (*RegistryMemory) BuildHash ¶
func (r *RegistryMemory) BuildHash() string
func (*RegistryMemory) BuildVersion ¶
func (r *RegistryMemory) BuildVersion() string
func (*RegistryMemory) CredentialHandler ¶
func (r *RegistryMemory) CredentialHandler() *api.CredentialsHandler
func (*RegistryMemory) CredentialsFetcher ¶
func (r *RegistryMemory) CredentialsFetcher() credentials.Fetcher
func (*RegistryMemory) CredentialsSigner ¶
func (r *RegistryMemory) CredentialsSigner() credentials.Signer
func (*RegistryMemory) CredentialsVerifier ¶
func (r *RegistryMemory) CredentialsVerifier() credentials.Verifier
func (*RegistryMemory) DecisionHandler ¶
func (r *RegistryMemory) DecisionHandler() *api.DecisionHandler
func (*RegistryMemory) HealthHandler ¶
func (r *RegistryMemory) HealthHandler() *healthx.Handler
func (*RegistryMemory) Init ¶
func (r *RegistryMemory) Init()
func (*RegistryMemory) Logger ¶
func (r *RegistryMemory) Logger() *logrusx.Logger
func (*RegistryMemory) PipelineAuthenticator ¶
func (r *RegistryMemory) PipelineAuthenticator(id string) (authn.Authenticator, error)
func (*RegistryMemory) PipelineAuthorizer ¶
func (r *RegistryMemory) PipelineAuthorizer(id string) (authz.Authorizer, error)
func (*RegistryMemory) PipelineErrorHandler ¶
func (r *RegistryMemory) PipelineErrorHandler(id string) (pe.Handler, error)
func (*RegistryMemory) PipelineMutator ¶
func (r *RegistryMemory) PipelineMutator(id string) (mutate.Mutator, error)
func (*RegistryMemory) Proxy ¶
func (r *RegistryMemory) Proxy() *proxy.Proxy
func (*RegistryMemory) ProxyRequestHandler ¶
func (r *RegistryMemory) ProxyRequestHandler() *proxy.RequestHandler
func (*RegistryMemory) RuleFetcher ¶
func (r *RegistryMemory) RuleFetcher() rule.Fetcher
func (*RegistryMemory) RuleHandler ¶
func (r *RegistryMemory) RuleHandler() *api.RuleHandler
func (*RegistryMemory) RuleMatcher ¶
func (r *RegistryMemory) RuleMatcher() rule.Matcher
func (*RegistryMemory) RuleRepository ¶
func (r *RegistryMemory) RuleRepository() rule.Repository
func (*RegistryMemory) RuleValidator ¶
func (r *RegistryMemory) RuleValidator() rule.Validator
func (*RegistryMemory) Tracer ¶
func (r *RegistryMemory) Tracer() *tracing.Tracer
func (*RegistryMemory) WithBrokenPipelineMutator ¶
func (r *RegistryMemory) WithBrokenPipelineMutator() *RegistryMemory
func (*RegistryMemory) WithBuildInfo ¶
func (r *RegistryMemory) WithBuildInfo(version, hash, date string) Registry
func (*RegistryMemory) WithConfig ¶
func (r *RegistryMemory) WithConfig(c configuration.Provider) Registry
func (*RegistryMemory) WithLogger ¶
func (r *RegistryMemory) WithLogger(l *logrusx.Logger) Registry
func (*RegistryMemory) Writer ¶
func (r *RegistryMemory) Writer() herodot.Writer
Click to show internal directories.
Click to hide internal directories.