generator

package
v0.0.0-...-805d784 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 11 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 {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(ctx context.Context, d *openapi3.T, cfg *config.Config) (*Generator, error)

func (*Generator) Generate

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

type RulesById

type RulesById []oathkeeper.Rule

func (RulesById) Len

func (r RulesById) Len() int

func (RulesById) Less

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

func (RulesById) Swap

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