engine

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 25 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 {
	Registry       string
	Name           string
	Endpoint       string
	ForceTLSVerify bool
	APIKey         string
}

type RegistrationInfo

type RegistrationInfo struct {
	CA              string
	ClusterEndpoint string
}

Jump to

Keyboard shortcuts

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