generator

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 10 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

type RulesById added in v0.5.4

type RulesById []rule.Rule

func (RulesById) Len added in v0.5.4

func (r RulesById) Len() int

func (RulesById) Less added in v0.5.4

func (r RulesById) Less(i, j int) bool

func (RulesById) Swap added in v0.5.4

func (r RulesById) Swap(i, j int)

Jump to

Keyboard shortcuts

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