engine

package
v0.4.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JWKCacheRefresh = 5 * time.Minute

Functions

func Run

func Run(options *Options) error

Types

type BearerTransport

type BearerTransport struct {
	Token     string
	Transport http.RoundTripper
}

func (*BearerTransport) RoundTrip

func (b *BearerTransport) RoundTrip(req *http.Request) (*http.Response, error)

type GetJWKFunc added in v0.0.4

type GetJWKFunc func() (*jose.JSONWebKey, error)

type HttpContextKeyEmail added in v0.0.4

type HttpContextKeyEmail struct{}

type Options

type Options struct {
	Name             string   `mapstructure:"name"`
	Kind             string   `mapstructure:"kind"`
	APIKey           string   `mapstructure:"api-key"`
	TLSCache         string   `mapstructure:"tls-cache"`
	SkipTLSVerify    bool     `mapstructure:"skip-tls-verify"`
	Labels           []string `mapstructure:"labels"`
	internal.Options `mapstructure:",squash"`
}

Jump to

Keyboard shortcuts

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