policyloader

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IterablePolicyLoader added in v0.54.0

type IterablePolicyLoader interface {
	Iter(ctx context.Context) iter.Seq2[*runtimev1.RunnablePolicySet, error]
}

IterablePolicyLoader is an optional interface for loaders that can yield compiled policy sets one at a time.

type PolicyLoader

type PolicyLoader interface {
	GetFirstMatch(context.Context, []namer.ModuleID) (*runtimev1.RunnablePolicySet, error)
	GetAll(context.Context) ([]*runtimev1.RunnablePolicySet, error)
	GetAllMatching(context.Context, []namer.ModuleID) ([]*runtimev1.RunnablePolicySet, error)
	Source() *auditv1.PolicySource
}

Jump to

Keyboard shortcuts

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