generator

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	PrefixId string
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(prefixId string, jwksUris map[string]string, allowedIssuers map[string]string, allowedAudiences map[string]string, serverUrls []string, upstreamUrl string, upstreamStripPath string) *Generator

func (*Generator) Generate

func (g *Generator) Generate() ([]rule.Rule, error)

func (*Generator) LoadOpenAPI3Doc

func (g *Generator) LoadOpenAPI3Doc(ctx context.Context, d *openapi3.T) error

Jump to

Keyboard shortcuts

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