engine

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompiledPolicy

type CompiledPolicy interface {
	For(*authv3.CheckRequest, dynamic.Interface) (PolicyFunc, PolicyFunc)
}

type Compiler

type Compiler[T any] interface {
	Compile(T) (CompiledPolicy, field.ErrorList)
}

type PolicyFunc

type PolicyFunc func() (*authv3.CheckResponse, error)

type Provider

type Provider interface {
	CompiledPolicies(context.Context) ([]CompiledPolicy, error)
}

Directories

Path Synopsis
apol
vpol

Jump to

Keyboard shortcuts

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