driver

package
v0.17.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Index

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
}

func NewDefaultDriver

func NewDefaultDriver(l logrus.FieldLogger, version, build, date string, validate bool) Driver

type Registry

type Registry interface {
	Init()

	WithConfig(c configuration.Provider) Registry
	WithLogger(l logrus.FieldLogger) 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

	authn.Registry
	authz.Registry
	mutate.Registry

	rule.Registry
	credentials.FetcherRegistry
	credentials.SignerRegistry
	credentials.VerifierRegistry

	x.RegistryWriter
	x.RegistryLogger
}

func NewRegistry

func NewRegistry(c configuration.Provider) Registry

type RegistryMemory

type RegistryMemory struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

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) 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() logrus.FieldLogger

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) 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) 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 logrus.FieldLogger) Registry

func (*RegistryMemory) Writer

func (r *RegistryMemory) Writer() herodot.Writer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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