middleware

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func New

func New(ctx context.Context, opts ...Option) (*middleware, error)

New creates an Oathkeeper middleware from the options. By default, it tries to read the configuration from the file "oathkeeper.yaml".

Types

type Option

type Option func(*options)

func WithConfigFile

func WithConfigFile(configFile string) Option

WithConfigFile sets the path to the config file to use for the middleware.

Jump to

Keyboard shortcuts

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